aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/mr
blob: 869994d2dadc77df0968c4225b63d8e2f3135b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

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 {
    clone_repo dcae/demo/startup/message-router $src_folder
    pushd $src_folder
    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
}