summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/docker/startService.sh
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-09-19 16:21:32 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-19 16:21:32 +0000
commita91ad1d135eef4ca5e827f4db9041ec8ac5bc202 (patch)
tree85b0e53d5ca9573110e89abf8fb1a913c8dbfe15 /ms/blueprintsprocessor/application/src/main/docker/startService.sh
parent9178321749ae68ff26fc6db73c750d562343ff6d (diff)
parent65279626aae2c414f023a85feb9e3fee41e7215c (diff)
Merge "Refactor distribution module to application."
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/docker/startService.sh')
-rw-r--r--ms/blueprintsprocessor/application/src/main/docker/startService.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/startService.sh b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
new file mode 100644
index 000000000..14d772e41
--- /dev/null
+++ b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+nodeName=BlueprintsProcessor_1.0.0_$(cat /proc/self/cgroup | grep docker | sed s/\\//\\n/g | tail -1)
+
+echo "APP Config HOME : ${APP_CONFIG_HOME}"
+export APP_HOME=/opt/app/onap
+
+keytool -import -noprompt -trustcacerts -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -alias ONAP -import -file $APP_CONFIG_HOME/ONAP_RootCA.cer
+
+source /etc/run.source