From dd074806ad51761392a9cca3f1f04fbbebd3de22 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Wed, 26 Jul 2017 16:06:35 -0500 Subject: Sync latest changes for vagrant-onap Given some internal procedures was not possible to submit all the changes. In the meantime, those changes were placed into an non-official project. This change syncronizes the latest changes into the official repository. Issue-id: INT-17 Change-Id: Ia4125f4b70273401e4ed3cc1908d2e2ad7d1c2e9 Signed-off-by: Victor Morales --- bootstrap/vagrant-onap/lib/mr | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/mr') diff --git a/bootstrap/vagrant-onap/lib/mr b/bootstrap/vagrant-onap/lib/mr index 8b92bc9c8..869994d2d 100755 --- a/bootstrap/vagrant-onap/lib/mr +++ b/bootstrap/vagrant-onap/lib/mr @@ -2,17 +2,24 @@ set -o xtrace +source /var/onap/functions +source /var/onap/asserts + +src_folder=$git_src_folder/dcae/message-router + # install_message_router() - Downloads and configure message router source code -function install_message_router { - local src_folder=/opt/dcae/message-router +function _install_message_router { clone_repo dcae/demo/startup/message-router $src_folder pushd $src_folder - is_package_installed docker-ce || install_docker + pull_docker_image attos/dmaap + pull_docker_image wurstmeister/zookeeper + install_docker_compose bash deploy.sh + asserts_image dockerfiles_kafka popd } # init_mr() - Function that initialize Message Router services function init_mr { - install_message_router + _install_message_router } -- cgit 1.2.3-korg