aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap
AgeCommit message (Collapse)AuthorFilesLines
2017-08-22Documented the process to use provisining scriptsVictor Morales5-2/+95
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 Morales4-20/+52
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 Wu3-55/+167
2017-08-21Add DCAE UTsVictor Morales3-55/+167
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 Wu2-50/+48
2017-08-21Refactor AAI source folder variableVictor Morales2-50/+48
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 Wu4-59/+159
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 Amit2-2/+6
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 Morales4-59/+159
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 Wu2-4/+4
2017-08-18Merge "Refactor VFC UTs"Gary Wu2-8/+24
2017-08-18Merge "Refactor and complete MR UTs"Gary Wu2-12/+35
2017-08-17Rename SDC script for asdcVictor Morales2-4/+4
Change-Id: I9ad0ca53bb8377c56aed58ba66886337b68716a8 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-100
2017-08-17Refactor VFC UTsVictor Morales2-8/+24
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 Morales2-12/+35
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 Morales2-24/+57
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 Wu4-31/+45
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 Morales4-31/+45
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-16Merge "Remove unused import from lib/aai"Gary Wu1-1/+0
2017-08-16Merge "Fix run.sh arguments"Gary Wu2-11/+8
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-15Merge "Move Known Issues section to docs folder"Gary Wu4-47/+67
2017-08-15Fix run.sh argumentsVictor Morales2-11/+8
The run.sh script had some issues to process the arguments into a specific order. Change-Id: I9c10bbf9aa10e133bfdecc67eb013c839039bc90 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-97
2017-08-15Move Known Issues section to docs folderVictor Morales4-47/+67
The known issues section should be placed in its own file for future additions. It was also included a validation that prevents the auto update feature of vagrant-vbguest plugin. Change-Id: Ibdbd89c15b657b11b346c2cbcc084176f82d8102 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-98
2017-08-15Add warnings and options to Run.ps1Victor Morales3-53/+127
This change add the same options and messages that was included in 8a0c9450a19892d4254e2b69d04f3b84007b700b Change-Id: I612dc3c3f679797c271ee3f452454e833c2b2aba Issue-Id: INT-97 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-15Add known issue section to vagrant-onap docsEric Multanen1-0/+36
Document known issues when the Virtualbox vagrant-vbguest plugin is installed on the host system. Provide a workaround. Issue-Id: INT-98 Change-Id: I74aecd464cb560ba247cc052d92ebd6957f1a46e Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-08-15Merge "Move proxy and default documentation"Gary Wu3-41/+67
2017-08-14Add warnings and options to run.shNate Potter5-33/+101
Adds a warning to run.sh informing the user that the contents of their /opt folder will be deleted by the test. Also adds option parsing, -y for skipping the prompt, -s for test suite selection, -c for test case selection, as well as -h for displaying help for the program. Change-Id: I888350d31839bd6db91a497a04ae3308af5329e9 Issue-Id: INT-97 Signed-off-by: Nate Potter <nathaniel.potter@intel.com>
2017-08-14Move proxy and default documentationVictor Morales3-41/+67
It was moved the information about to setup the usage of proxy and the configuration of Vagrant default provider into the setup installation guide. Change-Id: I0f5c006ebd97346f05da06efdc6ef19555eef6d2 Issue-Id: INT-96 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-10Merge "Update MSO Unit Tests"Gary Wu2-5/+20
2017-08-10Merge "Externalize IP_ADDRESS variable"Gary Wu4-3/+1
2017-08-10Update MSO Unit TestsVictor Morales2-5/+20
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-09Improve vagrant-onap documentationVictor Morales7-8/+116
It was added the process to create documentation thru sphinx tool. Now it's possible to generate all the documentation locally running: $ tox -e docs Lastly, the installation guide was included as a reference to different methods to install requirements. Change-Id: Id0b277d605cf83ddbde54ecd9f4648e1f89023c3 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 Morales4-7/+15
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-08Merge "Create a Run.ps1 script"Gary Wu2-0/+26
2017-08-08Create a Run.ps1 scriptVictor Morales2-0/+26
It was created the Run.ps1 helper script. Windows users can create VMs through this script without having to setup environment variables Change-Id: I5e8e25d3991cbea3d753afad370c07075ba9cb0e Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-08Add oparent optionVictor Morales4-276/+379
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 Morales6-20/+177
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-08-01Update tox bashate commandNate Potter1-0/+2
Update the bashate find command to not include .pem and .cfg files. Change-Id: I42cd4b1361e4771e52fd9ba5b77b7ffc04e86f11 Signed-off-by: Nate Potter <nathaniel.potter@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>