aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06Merge "Add VFC LCM docker image build in Vagrant ONAP"Gary Wu1-3/+32
2017-09-05Add VFC LCM docker image build in Vagrant ONAPShashank Kumar Shankar1-3/+32
This patch adds support for building docker image for the VFC NFVO LCM repo. Change-Id: I5aa999a872bc727959180389ff354c029af513a0 Issue-Id: INT-136 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-05Add Robot UTsVictor Morales1-8/+41
This commit adds the required Unit Tests for covering Robot script functions and the refactoring process for adapting them. Change-Id: Id6b8be035461a37f6a399b6e04f8ce2d72d68cf4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-19
2017-09-01Merge "Add MultCloud/MultiVIM support"Gary Wu1-0/+42
2017-08-31Add MultCloud/MultiVIM supportVictor Morales1-0/+42
These changes allows to provide MultiCloud support. Change-Id: Ic420817df1471077f71290a926fd7e509c052d75 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-53
2017-08-31Fix SDC compile optionVictor Morales1-1/+1
The compile_all_sdc_repos function was cloning sdc repositories instead of compile it. This change fix that behavior. Change-Id: Icc9478bda6e64b2176817a22b6ba031f763459f4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
2017-08-31Merge "Complete assertions of UTs for Policy"Gary Wu1-7/+7
2017-08-30Create UTs for SDCVictor Morales2-102/+35
This change create a script that contains Unit Tests that covers functionality of SDC component. Change-Id: Ie51dac0fe112319da3f9522cdb36ac7de49d523d Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
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-30Merge "Replace src_folder for mr_src_folder"Gary Wu1-3/+3
2017-08-30Replace src_folder for mr_src_folderVictor Morales1-3/+3
Change-Id: Ie48521aafc503fd961e5286be8fbc425d46fdb36 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-104
2017-08-30Changed asdc script back to sdcIdan Amit1-4/+4
The I2eb9ff087d3cfd61c0c1347d085dd02da64c2d89 change allows to revert this change Change-Id: Iafb1d2455f7f1b06b218b4bc1509177823d89dc2 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-29Add UTs for Portal scriptShashank Kumar Shankar1-34/+62
This patch adds Unit Test for checking Portal installation. Issue-Id: INT-21 Change-Id: I8cb93db08134e9cc96400476a7d1f19d4c789e0c Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-08-29Add the option to clone the source code repoIdan Amit10-29/+50
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-23Create UTs for VID scriptsVictor Morales1-25/+26
This change includes the creation of Unit tests for VID module. This also refactors the source code of the provisioning script. Change-Id: I81fdd69e685a55c0b77ee02d138c7870f586f1d1 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-20
2017-08-23Merge "Use the pull_docker_image function"Gary Wu1-2/+1
2017-08-23Merge "Fix function documentation typo"Gary Wu1-1/+1
2017-08-23Use the pull_docker_image functionVictor Morales1-2/+1
The portal script was calling docker CLI to retrieve a mariadb docker image that is hosted in the public hub. This change uses the pull_docker_image functioUse the pull_docker_image function Change-Id: Ie9f40fc019bda3655075b09d46360cdade8df949 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-21
2017-08-23Fix function documentation typoVictor Morales1-1/+1
Change-Id: I24c505fe8317ccd389403effe7cdfc26596546f6 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-22
2017-08-22Documented the process to use provisining scriptsVictor Morales2-1/+2
It's possible to use these provisioning scripts to setup a development environment without installing vagrant on it. This commit specifies the steps and variables required for that process. Change-Id: Ica3e377f76b65c149d7ea7b805853b2e315e114c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-25
2017-08-22Fixed Setup Titan AAI processVictor Morales3-19/+46
The way to configure properties files was wrong causing problems during the DB creation. This change files that function as well as others related with that function. Change-Id: I5cc637e170b64e15fff5de4cb04bdcbd2506ea87 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-18
2017-08-22Merge "Add DCAE UTs"Gary Wu1-54/+56
2017-08-21Add DCAE UTsVictor Morales1-54/+56
This change adds the Unit Tests that verify the functionality of DCAE scripts and makes proper changes to refactor the lib/dcae source code. Change-Id: I0a6c000ddf1ff29bd094e8bc552e6bea5ef3e8ec Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-22
2017-08-21Merge "Refactor AAI source folder variable"Gary Wu1-12/+10
2017-08-21Refactor AAI source folder variableVictor Morales1-12/+10
Given that $src_folder variable name has conflict with other modules it was changed to something more specific Change-Id: I8106c3961cd4369b4c8e75cbe3d906c57869a50a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-18
2017-08-21Merge "Update init_data_folders function"Gary Wu1-2/+1
2017-08-21Merge "Create UTs for APPC"Gary Wu2-36/+39
2017-08-21Update init_data_folders functionIdan Amit1-2/+1
Change-Id: I4fefd1f0fd54a36a9291339f45deaf7f15f18276 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2017-08-21Added parameter for pulling docker imagesIdan Amit1-2/+5
Updated sdc script accordingly Change-Id: I6de1c52ff42fc1f47cdfa0f56921c864c7182dcb Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2017-08-18Create UTs for APPCVictor Morales2-36/+39
It was created the Unit Tests for APPC which modified the code of SDNC. Change-Id: Ica033e8a94f545e148f321c388bee981abadc4af Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-24
2017-08-18Merge "Rename SDC script for asdc"Gary Wu1-2/+2
2017-08-18Merge "Refactor VFC UTs"Gary Wu1-7/+8
2017-08-18Merge "Refactor and complete MR UTs"Gary Wu1-6/+15
2017-08-17Rename SDC script for asdcVictor Morales1-2/+2
Change-Id: I9ad0ca53bb8377c56aed58ba66886337b68716a8 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-100
2017-08-17Refactor VFC UTsVictor Morales1-7/+8
It was refactored the Unit tests and functions of VFC scripts Change-Id: I9e7ba61ace7830c62b52556922e0ec2b4d9efa91 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
2017-08-17Refactor and complete MR UTsVictor Morales1-6/+15
The Message Router Unit tests were incomplete, this change add news for covering all its functions. Change-Id: I02738798e358527ed2b710a192d0a796814b5d69 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-104
2017-08-17Refactor and Improve SDNC UTsVictor Morales1-21/+14
This change refactor the lib/sdnc script and add some unit tests to the SDNC component. Change-Id: Ia389c0e8e78de2eef1b41075a0701b013f9bc925 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-102
2017-08-17Merge "Implement test_install_policy UT"Gary Wu2-23/+27
2017-08-17Merge "Add further configuration for the docker engine"Gary Wu1-3/+6
2017-08-16Add further configuration for the docker engineIdan Amit1-3/+6
In order to allow local deployment of dockers and permissions for user vagrant to run docker commands Change-Id: I64d73f419efb897facd0af1b2ade9d44a165c106 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2017-08-16Implement test_install_policy UTVictor Morales2-23/+27
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-16Remove unused import from lib/aaiVictor Morales1-1/+0
The asserts module is not required for the A&AI script. This change removes that dependency Change-Id: I7469fa89e7ab8c65210a508526bdbe655f013761 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-48
2017-08-10Merge "Update MSO Unit Tests"Gary Wu1-4/+0
2017-08-10Update MSO Unit TestsVictor Morales1-4/+0
It was completed the coverage of the MSO with Unit Tests for install_mso and install_mso_docker_config functions. Change-Id: I26356cb608077994aa32bc9b8fabb62ba97c1473 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-10Externalize IP_ADDRESS variableVictor Morales4-3/+1
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-09Merge "Implement policy image creation"Gary Wu1-14/+14
2017-08-09Fix non-proxy maven configurationVictor Morales2-5/+5
There is an error caused when OParent is used as an option without a proxy configuration. This commit changes the way to print those tags. Change-Id: I5300241b2d933832425edcd5a2544ec3f5ce6ff0 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-08-08Add oparent optionVictor Morales3-275/+377
It was implement the option to use the maven settings configuration file from OParent project Change-Id: Ic7f6c618c2ac707e882ea371985f5d6f77c3605b Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-08Add validation in install_java functionVictor Morales1-3/+4
The install_java function didn't have a validation that checks if the java package was already installed. This change adds the verification as part of the installation process. Change-Id: I1aafb60a3f2f8137c810da3afcac7b0d6f86ed63 Signed-off-by: Victor Morales <victor.morales@intel.com>