summaryrefslogtreecommitdiffstats
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
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-02Merge "Fix VFC src_folder variable name"Gary Wu1-1/+1
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-02Add license header to vagrant-jenkins scriptsGary Wu11-1/+101
Change-Id: I506c964f1ea85e3336d9b359751940b568c34506 Issue-id: INT-53 Signed-off-by: Gary Wu <gary.i.wu@huawei.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>
2017-07-27Merge "Creates vagrant-libvirt plugin validation"Gary Wu1-0/+4
2017-07-27Creates vagrant-libvirt plugin validationVictor Morales1-0/+4
The vagrant-libvirt plugin was not validated its installation when the user uses this provider. This change pretends to helps the installation process to the end user. Change-Id: I1b040ec72ed2663c3f968baa68b141e31ee6d6c7 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-27Remove duplicated get_repos.sh scriptVictor Morales1-41/+0
The get_repos.sh script is duplicated in two places of vagrant-onap project, this change removes that duplication. Change-Id: Iee278b7051a35c41e6d15af730cbcf8d95b7949e Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-27Add tests for Policy reposShashank Kumar Shankar1-0/+44
Add tests for policy repository cloning and compiling. Change-Id: I292ae77cd808f04ab9a4e666af0588fff7912879 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-07-26Sync latest changes for vagrant-onapVictor Morales38-202/+2007
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-07-25Update Java jobs in Vagrant JenkinsGary Wu1-0/+54
Change-Id: Ib0b8138ccfd8d28a4b147a7e9caf88b37473c278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-22RefactoringGary Wu4-12/+23
Change-Id: I6fdd372db4d8856853eb045033bd9dfbdcbea160 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-22Increase wait time for jenkins restartsGary Wu1-2/+2
Change-Id: I6aac7292be22d753ee46f8caf308e04001c44c36 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-22Fix bug in pathsGary Wu2-1/+2
Change-Id: I5f2ee3169c036496ca5bc9b7c6b64b002b7616de Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-22Add java jobs for new reposGary Wu1-0/+6
Change-Id: Ia4127d9b90066a1adf4134ddd0da3f28b7cbc647 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-21Update pull-all.sh to not clean the reposGary Wu2-8/+16
Change-Id: I784873b8137075bb08dfb856caafb7f3a143f454 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-20Add vagrant-onap projectVictor Morales20-0/+1170
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
2017-06-20Remove pre-pulling of 3rd party docker imagesGary Wu1-10/+0
Change-Id: Ia7b7c8d2272d71c5d95dcd66ada8afe44f2577d3 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-16Add java job for aai/sparky-beGary Wu1-0/+3
Change-Id: I4568e3e964fd5a13a88a5db3450b6632c4461162 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-16Add README for bootstrap/jenkinsGary Wu1-0/+12
Change-Id: I7b3691ddfd5bde8898e25654f19fa7d50ef8e668 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-16Added vagrant setup for a Jenkins system for ONAPGary Wu21-1/+822
Add a set of vagrant scripts that will set up a local Jenkins environment with pre-defined jobs to build all the ONAP java code and docker images. Change-Id: I67ed254bcb38a7be989b7c2861fd3ea4ec9c66f2 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-06-16Initial directory structure for integrationGary Wu1-0/+7
Change-Id: Ic578c19fa84ce2a49b7d875e15036e8ac9885831 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>