aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Refactor clone and compile functionsVictor Morales18-183/+191
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-16Implement steps for Multicloud ImagesVictor Morales2-0/+17
It was implemented the steps required for retrieving or building docker images as well as their execution. Change-Id: I20f79c5375377a9406f92f9e3e32a2cbec23a4f9 Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: Idc876574ceee39b7cf389978d6a33eb7c66291a6 Issue-Id: MULTICLOUD-53
2017-11-07Integrate install_dev_tools into install_dockerVictor Morales1-10/+1
The packages installed by the install_dev_tools are only required by the docker installation, therefore is not necessary to install them in other cases. According to the Docker official documentation the linux-image-extra-* packages are required. Change-Id: I96c5f556c9e5a74d52e012d7896786061299036e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-328
2017-11-06Reduce the number of update_repo callsVictor Morales1-0/+2
The update_repo function allows to fetch repository metadata. This function can take some time during the initial provisioning time. This change reduce the number of calls to that function. Change-Id: I2a0b0f13f7a3e6b37f0c0316ae9730a3ed840238 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-324
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-31Add missing vnfsdk in the Vagrant fileShashank Kumar Shankar1-1/+6
This patch adds missing VNFSDK settings in the Vagrant file and fixes a minor cloning issue in multicloud. Issue-Id: INT-290 Change-Id: I9406f252708cf708ea1e92d91d1965b889f3ded0 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-10-27Fix regex for coverage projects functionVictor Morales3-18/+10
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-10-25Add VVP support in Vagrant ONAPVictor Morales1-0/+55
This commit provides a capability to provision a VVP development environment. Change-Id: Ic8623095194ce13420c8dc71da1dd1d84ef010fc Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-303
2017-10-23Update UTs for VNFSDKVictor Morales1-7/+14
The Unit tests for VNF SDK component was skipping some compile validations. This change fixes those UT and the tox bash syntax. Change-Id: Ibaac790ac3096b44e7ba99986aee2ea526345562 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-290
2017-10-21Merge "Add VNFSDK install scripts in Vagrant ONAP"Gary Wu1-0/+50
2017-10-20Add VNFSDK install scripts in Vagrant ONAPShashank Kumar Shankar1-0/+50
This patch adds the VNFSDK installation scripts and other minor fixed in the Vagrant ONAP project. Issue-Id: INT-290 Change-Id: I6402a1ffad4e373eb701945beabd5e95f091ff5b Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-10-20Create a upstream repos validatorVictor Morales4-5/+241
This Unit Test helps to validate the usage of the official repositrories and fails in case that a minimum are not used. Change-Id: Id5a922163a8a0d16de5460aee92e5cced3f285a3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-289
2017-10-18Fix proxy usage for docker externalVictor Morales3-20/+18
The process that retrieves Docker images hosted externally was missing a step in its configuration. This change fix the configuration and unblock the pending Unit Tests. Change-Id: I5a6b39086eb806bab5bb2667092a154e230d33ef Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-227
2017-10-12Update AAI repos listVictor Morales1-7/+11
This change includes the latest repos required for AAI module. It was also updated the Unit tests as well. Change-Id: I4b57e5a3c1116b8d8b9fa9d0e2d19c5f64645055 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-274
2017-09-28Add support to configuration valuesVictor Morales2-6/+13
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-09-26Remove nonexisting VFC UTsVictor Morales1-4/+1
There are some Unit Tests that haven't been defined for VFC component. This change removes them from the list. Change-Id: I21f5370bd677640eda08eceae88bea859389dd98 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
2017-09-25Recheck VFC UTsVictor Morales1-17/+29
It was reviewed the Unit Tests for VFC component which results in refactoring and updating some portions of the code Change-Id: I0d3f09a5a24e2e96bd733346eaf4b9cd988f98c3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
2017-09-21Update SDNC UTsVictor Morales1-30/+21
This change updates the Unit tests of SDNC scripts as well as the repositories of the project. Change-Id: I83d9d92f23b35857371e533d51c44a67a260a9ad Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-24
2017-09-20Update SDC lib and test scriptsVictor Morales1-10/+9
The SDC project has updated its compilation output files, as result the Unit Test needs to be changed. Change-Id: I31c7773a2de1ac865ce8b45a5c10e5995ee960d0 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
2017-09-18Merge "Rename variable for portal script"Gary Wu1-7/+7
2017-09-18Rename variable for portal scriptVictor Morales1-7/+7
The name of the variables of the portal script was using policy names which could result in conflicts with policy scripts. This change fixes that name convention. Change-Id: Ic3838a2e9292f23923c0b0c20dbd7726a83b3aee Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-21
2017-09-15Fix test_policy compilation functionVictor Morales1-4/+4
The compilation policy test function was generating different output than the expected. This change syncs the output generated with the expected. Change-Id: I9043517a07b77851e303e5e7adec4010ca80001e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-23
2017-09-15Update multicloud tarballs outputVictor Morales1-1/+0
The multicloud projects have changed the output file of its project. This change reflects that. Change-Id: Id9bf0c584ff233c66150e03c6154530d9643bf2a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-53
2017-09-14Fix function UTsVictor Morales1-6/+4
The python installation function is not installing tox module anymore. Therefore it's necessary to reflect this change in the Unit Test scripts. Change-Id: I33ffde7b2c0885af88830f29465e0c943228d054 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-15
2017-09-14Merge "Rename SDNC Docker Images"Gary Wu2-11/+7
2017-09-14Merge "Update VFC docker image builds in Vagrant ONAP"Gary Wu1-4/+14
2017-09-14Rename SDNC Docker ImagesVictor Morales2-11/+7
The SDNC docker images where renamed to use ONAP repository. This change fixes that. Change-Id: I74371c9a796aa5ade68d3799b2366f60e6a10e07 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: SDNC-50
2017-09-14Update VFC docker image builds in Vagrant ONAPShashank Kumar Shankar1-4/+14
Add/update VFC docker image builds in Vagrant ONAP. Change-Id: I714c3b846576cab8af1c0632853ba7e3aca35127 Issue-Id: INT-136 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-13Update AAI compilation outputVictor Morales1-13/+2
There are some files which are not generated during the compilation process anymore. This change removes them from the AAI Unit Tests Change-Id: I991f500acc55c3e3c9007851935c502a71dbc15c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-18
2017-09-12Add CCSDK supportVictor Morales1-0/+89
This changes add support to Common Controller SDK project, which it's extracting some code from SDNC. Change-Id: I0e7365fdc854c4c6357c5c3b4bc7608f0076d241 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-196
2017-09-06Merge "Add VFC LCM docker image build in Vagrant ONAP"Gary Wu1-3/+17
2017-09-05Add VFC LCM docker image build in Vagrant ONAPShashank Kumar Shankar1-3/+17
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-0/+48
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-08-31Add MultCloud/MultiVIM supportVictor Morales1-0/+38
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-31Merge "Complete assertions of UTs for Policy"Gary Wu1-6/+52
2017-08-30Create UTs for SDCVictor Morales3-1/+144
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-6/+52
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-30Replace src_folder for mr_src_folderVictor Morales1-1/+1
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-0/+59
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-23Create UTs for VID scriptsVictor Morales1-0/+51
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-22Fixed Setup Titan AAI processVictor Morales1-1/+6
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-0/+110
2017-08-21Add DCAE UTsVictor Morales1-0/+110
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-38/+38
2017-08-21Refactor AAI source folder variableVictor Morales1-38/+38
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-18Create UTs for APPCVictor Morales2-23/+120
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 "Refactor VFC UTs"Gary Wu1-1/+16
2017-08-18Merge "Refactor and complete MR UTs"Gary Wu1-6/+20
2017-08-17Refactor VFC UTsVictor Morales1-1/+16
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/+20
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