summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/docker/startService.sh
diff options
context:
space:
mode:
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