summaryrefslogtreecommitdiffstats
path: root/boot/mr_install.sh
diff options
context:
space:
mode:
authorDominic Lunanuova <dgl@research.att.com>2018-04-06 22:05:42 +0000
committerDominic Lunanuova <dgl@research.att.com>2018-04-09 15:28:53 +0000
commit32bb82bea98eb20313c35600c7a58eec9359d8fa (patch)
tree69fdb9510c190b82ee4454261cea697b68cbdf29 /boot/mr_install.sh
parentdb228e6370e5257ca59e4f0e7154f45991c7defa (diff)
Iniital boot scripts for dmaap-buscontroller
Patch 2 corrects domain for integration: simpledemo.onap.org Patch 3 merge with mr scripts so share 1 VM. Also use correct bindings. Change-Id: I2431dcecab13c8ef480de59d79fb807d3b2e5b8d Signed-off-by: Dominic Lunanuova <dgl@research.att.com> Issue-ID: DMAAP-125 Signed-off-by: Dominic Lunanuova <dgl@research.att.com>
Diffstat (limited to 'boot/mr_install.sh')
-rw-r--r--boot/mr_install.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/boot/mr_install.sh b/boot/mr_install.sh
index e2168383..9bd56563 100644
--- a/boot/mr_install.sh
+++ b/boot/mr_install.sh
@@ -54,6 +54,7 @@ apt-get update
apt-get install --allow-unauthenticated -y apt-transport-https ca-certificates wget make openjdk-8-jdk git ntp ntpdate
# Download scripts from Nexus
+# a) scripts for message router (mr)
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_vm_init.sh -o /opt/mr_vm_init.sh
curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/mr_serv.sh -o /opt/mr_serv.sh
chmod +x /opt/mr_vm_init.sh
@@ -61,6 +62,14 @@ chmod +x /opt/mr_serv.sh
mv /opt/mr_serv.sh /etc/init.d
update-rc.d mr_serv.sh defaults
+# b) scripts for bus controller (dbcl)
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dbcl_vm_init.sh -o /opt/dbcl_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dbcl_serv.sh -o /opt/dbcl_serv.sh
+chmod +x /opt/dbcl_vm_init.sh
+chmod +x /opt/dbcl_serv.sh
+mv /opt/dbcl_serv.sh /etc/init.d
+update-rc.d dbcl_serv.sh defaults
+
# Download and install docker-engine and docker-compose
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
@@ -94,4 +103,4 @@ resolvconf -u
# Clone Gerrit repository and run docker containers
cd /opt
git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO dcae-startup-vm-message-router
-./mr_vm_init.sh \ No newline at end of file
+./mr_vm_init.sh