Replace src_folder for mr_src_folder
Change-Id: Ie48521aafc503fd961e5286be8fbc425d46fdb36
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: INT-104
diff --git a/bootstrap/vagrant-onap/lib/mr b/bootstrap/vagrant-onap/lib/mr
index 5bd1d1a..a137f73 100755
--- a/bootstrap/vagrant-onap/lib/mr
+++ b/bootstrap/vagrant-onap/lib/mr
@@ -4,11 +4,11 @@
source /var/onap/functions
-src_folder=$git_src_folder/dcae/message-router
+mr_src_folder=$git_src_folder/dcae/message-router
# clone_mr_repos() - Function that clones the Message Router repositories
function clone_mr_repos {
- clone_repo dcae/demo/startup/message-router $src_folder
+ clone_repo dcae/demo/startup/message-router $mr_src_folder
}
# get_mr_images() - Function that retrieves the Message Router Docker images
@@ -21,7 +21,7 @@
function install_message_router {
install_docker_compose
- pushd $src_folder
+ pushd $mr_src_folder
bash deploy.sh
popd
}
diff --git a/bootstrap/vagrant-onap/tests/test_mr b/bootstrap/vagrant-onap/tests/test_mr
index d8db849..a863b99 100644
--- a/bootstrap/vagrant-onap/tests/test_mr
+++ b/bootstrap/vagrant-onap/tests/test_mr
@@ -11,7 +11,7 @@
function test_clone_mr_repos {
clone_mr_repos
- asserts_file_exist $src_folder/deploy.sh
+ asserts_file_exist $mr_src_folder/deploy.sh
}
# test_get_mr_images() - Verify that Message Router Docker images are retrieved