summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/mr
blob: 8b92bc9c8a824bd7a93c470a8271fd85c839dc98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -o xtrace

# install_message_router() - Downloads and configure message router source code
function install_message_router {
    local src_folder=/opt/dcae/message-router
    clone_repo dcae/demo/startup/message-router $src_folder
    pushd $src_folder
    is_package_installed docker-ce || install_docker
    bash deploy.sh
    popd
}

# init_mr() - Function that initialize Message Router services
function init_mr {
    install_message_router
}