blob: 8b92bc9c8a824bd7a93c470a8271fd85c839dc98 [file] [log] [blame]
Victor Morales89ce3212017-06-16 18:32:48 -05001#!/bin/bash
2
3set -o xtrace
4
5# install_message_router() - Downloads and configure message router source code
6function install_message_router {
7 local src_folder=/opt/dcae/message-router
8 clone_repo dcae/demo/startup/message-router $src_folder
9 pushd $src_folder
10 is_package_installed docker-ce || install_docker
11 bash deploy.sh
12 popd
13}
14
15# init_mr() - Function that initialize Message Router services
16function init_mr {
17 install_message_router
18}