aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-08-06Add AAI Unit TestsVictor Morales3-15/+51
This change includes the addition of Unit Tests for A&AI component and the required refactor process in their functions Change-Id: Ib3b1109e7e80d5ef51e682445b7ecbf600bf3e62 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-02Fix VFC src_folder variable nameShashank Kumar Shankar1-1/+1
Fix name rc_folder -> src_folder for cloning to work correctly. Change-Id: I39bbb1efa6df8071deedeb457d1e4ee0dabebb66 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-07-31Update AAI setupVictor Morales5-31/+313
This change includes instructions to setup a development environment for a AAI project provided in the wiki entry: * https://wiki.onap.org/pages/viewpage.action?pageId=10782088 Change-Id: I1e60d6cc1d2fd12c56990aded6f385f11dca5b9c Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-31Refactor install_python functionVictor Morales3-4/+19
It was extract the installation of pip packages from the install_python function, this change allows to install python packages isolated. This also includes the manual configuration of java certificates required for maven execution. Change-Id: Iac60d7521101d5c4997f95c16f4decd857cc5c3c Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-26Sync latest changes for vagrant-onapVictor Morales18-174/+990
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 Morales14-0/+829
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