diff options
author | Victor Morales <victor.morales@intel.com> | 2017-12-08 11:57:42 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-12-08 11:57:42 -0800 |
commit | 5464664702bc07c180ed82eb1a5d9bcc9e5d18ec (patch) | |
tree | c45bae722f80a3481965fec72385ad137c36ea6b /bootstrap/vagrant-onap/tests/test_msb | |
parent | 5d21f64981e69f6a266da1ec30754de5d8d71e26 (diff) |
Centralize src_folder and repos info
The configuration values that determines where the source code will
be cloned and the list of repos associated to specific project have
been included in a new global configuration file, which pretends to
facilitate their changes.
Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: INT-367
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_msb')
-rwxr-xr-x | bootstrap/vagrant-onap/tests/test_msb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_msb b/bootstrap/vagrant-onap/tests/test_msb index e8bb24606..0848d333b 100755 --- a/bootstrap/vagrant-onap/tests/test_msb +++ b/bootstrap/vagrant-onap/tests/test_msb @@ -11,10 +11,10 @@ covered_functions=( function test_clone_all_msb_repos { clone_repos "msb" - asserts_file_exist $msb_src_folder/apigateway/pom.xml - asserts_file_exist $msb_src_folder/discovery/pom.xml - asserts_file_exist $msb_src_folder/java-sdk/pom.xml - asserts_file_exist $msb_src_folder/swagger-sdk/pom.xml + asserts_file_exist ${src_folders[msb]}/apigateway/pom.xml + asserts_file_exist ${src_folders[msb]}/discovery/pom.xml + asserts_file_exist ${src_folders[msb]}/java-sdk/pom.xml + asserts_file_exist ${src_folders[msb]}/swagger-sdk/pom.xml } # test_compile_all_msb_repos() - Verify the correct compilation of MSB project @@ -22,12 +22,12 @@ function test_compile_all_msb_repos { clone_repos "msb" compile_repos "msb" - asserts_file_exist $msb_src_folder/apigateway/apiroute/apiroute-service/target/original-apiroute-service-1.1.0-SNAPSHOT.jar - asserts_file_exist $msb_src_folder/apigateway/apiroute/apiroute-standalone/target/apiroute-1.1.0-SNAPSHOT.zip - asserts_file_exist $msb_src_folder/discovery/discovery-ui/target/discovery-ui-1.1.0-SNAPSHOT.jar - asserts_file_exist $msb_src_folder/discovery/sdclient/discovery-service/target/original-discovery-service-1.1.0-SNAPSHOT.jar - asserts_file_exist $msb_src_folder/java-sdk/target/msb-java-sdk-1.1.0-SNAPSHOT.jar - asserts_file_exist $msb_src_folder/swagger-sdk/target/swagger-sdk-1.1.0-SNAPSHOT.jar + asserts_file_exist ${src_folders[msb]}/apigateway/apiroute/apiroute-service/target/original-apiroute-service-1.1.0-SNAPSHOT.jar + asserts_file_exist ${src_folders[msb]}/apigateway/apiroute/apiroute-standalone/target/apiroute-1.1.0-SNAPSHOT.zip + asserts_file_exist ${src_folders[msb]}/discovery/discovery-ui/target/discovery-ui-1.1.0-SNAPSHOT.jar + asserts_file_exist ${src_folders[msb]}/discovery/sdclient/discovery-service/target/original-discovery-service-1.1.0-SNAPSHOT.jar + asserts_file_exist ${src_folders[msb]}/java-sdk/target/msb-java-sdk-1.1.0-SNAPSHOT.jar + asserts_file_exist ${src_folders[msb]}/swagger-sdk/target/swagger-sdk-1.1.0-SNAPSHOT.jar } # test_get_msb_images() - Verify the creation of MSB Docker images |