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
diff --git a/bootstrap/vagrant-onap/tests/test_mr b/bootstrap/vagrant-onap/tests/test_mr
index c08d2e6..ad1bcd2 100755
--- a/bootstrap/vagrant-onap/tests/test_mr
+++ b/bootstrap/vagrant-onap/tests/test_mr
@@ -9,9 +9,9 @@
# test_clone_mr_repos() - Verify that Message Router repositories are cloned properly
function test_clone_mr_repos {
- clone_repo dcae/demo/startup/message-router $mr_src_folder
+ clone_repo dcae/demo/startup/message-router ${src_folders[mr]}
- asserts_file_exist $mr_src_folder/deploy.sh
+ asserts_file_exist ${src_folders[mr]}/deploy.sh
}
# test_get_mr_images() - Verify that Message Router Docker images are retrieved
@@ -24,7 +24,7 @@
# test_install_message_router() - Verify the built and start of Message Router services
function test_install_message_router {
- clone_repo dcae/demo/startup/message-router $mr_src_folder
+ clone_repo dcae/demo/startup/message-router ${src_folders[mr]}
get_mr_images
install_message_router