aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/policy
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15Deprecate vagrant-onap toolVictor Morales1-53/+0
The vagrant-onap tool needs to be moved to its own repo to have better control of versions and autonomy. This change removes the project from integration repository. Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a Issue-ID: INT-441
2018-03-02Refactor install_docker_compose functionVictor Morales1-2/+1
Usually this function is followed by a run command, this change ensure that docker-compose program is installed before its execution Change-Id: Ic68616a1db1e3c5bee516985c74f369a956d6775 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-436
2018-03-02Remove customize src_folder variablesVictor Morales1-7/+6
There were some leftovers of variables used for pointing to the project source code folder. This variables are not used anymore. Change-Id: I355930f8ce6acbc31a1adca61741d7221dee196c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2017-12-08Centralize src_folder and repos infoVictor Morales1-5/+0
The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2017-11-20Refactor clone and compile functionsVictor Morales1-16/+2
The clone_all_* and compile_all_* functions share same instructions for performing their functionality. This change pretends to reduce the duplication of the code. Change-Id: Ief63a5a58c79af85c829602b0451637424659438 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-339
2017-11-06Add debug supportVictor Morales1-2/+0
This change allows to control the level of verbosity for the ONAP on vagrant execution. The new debug configuration value enables verbosity setting its value to *True* Change-Id: I29a3694ea3182a02cb585af5ae8ada1f8a415c8c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-323
2017-10-27Fix regex for coverage projects functionVictor Morales1-5/+7
The regular expresion that determines which repository is covered by the Unit test was wrong. This change modifies this regex to remove exact matches. Change-Id: Iffbd241c9463e57953b607d1f389d3be073d6b25 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-289
2017-09-28Add support to configuration valuesVictor Morales1-2/+6
In order to make more flexible the execution workflow of this project, a new mechanism has been implemented to override the default configuration values. Change-Id: Ie6c5aeeb35b7f0de47379ea764ccc8dc21e4bff7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-236
2017-08-30Complete assertions of UTs for PolicyVictor Morales1-7/+7
The asserts functions of the Policy Unit Tests was not checking files in specific. This change helps to check every file expected as an output. Change-Id: I0cd83ced7ddb600f203f0f97d13b7d5792797dfe Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-23
2017-08-29Add the option to clone the source code repoIdan Amit1-3/+5
Change-Id: Iba5f7e5a1c6586a1a8c158854f95904944ba62c0 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Co-Authored-By: Victor Morales <victor.morales@intel.com>
2017-08-16Implement test_install_policy UTVictor Morales1-16/+23
It was missed the Unit test that verifies the installation of policy services. This commit creates that method and also refactors some policy code Change-Id: I58f3f416efc096fc6199fd831bb63293b95157d2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-23
2017-08-10Externalize IP_ADDRESS variableVictor Morales1-1/+0
Several places were using this variable, therefore it was placed in a common place. Change-Id: I481a62482cd2bb55b4a76623309d0977ddb67fe7 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-08Implement policy image creationVictor Morales1-14/+14
It was included the instructions required for building Docker images of the Policy Docker project. * https://git.onap.org/policy/docker/tree/vagrant/setup_policy.sh Change-Id: Ic6f9888c6dfe9f1a97652ade774c5cbb08239a99 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-26Sync latest changes for vagrant-onapVictor Morales1-6/+43
Given some internal procedures was not possible to submit all the changes. In the meantime, those changes were placed into an non-official project. This change syncronizes the latest changes into the official repository. Issue-id: INT-17 Change-Id: Ia4125f4b70273401e4ed3cc1908d2e2ad7d1c2e9 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-06-20Add vagrant-onap projectVictor Morales1-0/+25
This commit contains the current state of the files and folders imported from github repository[1]. Fixes and features are expected to be implemented in this project. [1] https://github.com/electrocucaracha/vagrant-onap Change-Id: Ib1e8d264e9566c5e44454f5475b5da4638879cb7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-id: CIMAN-28