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_portal | |
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_portal')
-rwxr-xr-x | bootstrap/vagrant-onap/tests/test_portal | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_portal b/bootstrap/vagrant-onap/tests/test_portal index ebfd21de8..d20f173ce 100755 --- a/bootstrap/vagrant-onap/tests/test_portal +++ b/bootstrap/vagrant-onap/tests/test_portal @@ -14,10 +14,10 @@ covered_functions=( function test_clone_all_portal_repos { clone_all_portal_repos - asserts_file_exist $portal_src_folder/pom.xml - asserts_file_exist $portal_src_folder/ecompsdkos/LICENSE.txt - asserts_file_exist $portal_src_folder/dmaapbc/pom.xml - asserts_file_exist $portal_src_folder/sdk/LICENSE.txt + asserts_file_exist ${src_folders[portal]}/pom.xml + asserts_file_exist ${src_folders[portal]}/ecompsdkos/LICENSE.txt + asserts_file_exist ${src_folders[portal]}/dmaapbc/pom.xml + asserts_file_exist ${src_folders[portal]}/sdk/LICENSE.txt } # test_compile_all_portal_repos() - Verify compiling of Portal source code @@ -25,9 +25,9 @@ function test_compile_all_portal_repos { clone_all_portal_repos compile_all_portal_repos - asserts_file_exist $portal_src_folder/ecomp-portal-BE-common/target/ecompportal-be-common.war - asserts_file_exist $portal_src_folder/ecomp-portal-BE-common-test/target/ecomp-portal-BE-common-test.jar - asserts_file_exist $portal_src_folder/ecomp-portal-BE-os/target/ecompportal-be-os.war + asserts_file_exist ${src_folders[portal]}/ecomp-portal-BE-common/target/ecompportal-be-common.war + asserts_file_exist ${src_folders[portal]}/ecomp-portal-BE-common-test/target/ecomp-portal-BE-common-test.jar + asserts_file_exist ${src_folders[portal]}/ecomp-portal-BE-os/target/ecompportal-be-os.war } # test_get_portal_images() - Verify that Portal Docker images are retrieved or built properly |