| #!/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 |
| } |