summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/docker/startService.sh
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-11-06 21:09:46 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-06 21:09:46 +0000
commit88e3ef2d396bc91051b182d11a2d490bf37abf08 (patch)
treeda73e0f1deea4f741369827ad79f65e8e296301f /ms/blueprintsprocessor/application/src/main/docker/startService.sh
parenta835890f817a1e3627c281e98ab786ee7bf8c2ba (diff)
parent4d411a80405b9031a10fe53a4d021f4f246bbaa2 (diff)
Merge "Rolling upgrade support for in-flight requests"
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/docker/startService.sh')
-rw-r--r--ms/blueprintsprocessor/application/src/main/docker/startService.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/startService.sh b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
index 14d772e41..11c471f2d 100644
--- a/ms/blueprintsprocessor/application/src/main/docker/startService.sh
+++ b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
@@ -7,4 +7,15 @@ 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
+exec java -classpath "/etc:${APP_HOME}/lib/*:/lib/*:/src:/schema:/generated-sources:${APP_CONFIG_HOME}:${APP_HOME}" \
+-DappName=${APPLICATIONNAME} -DappVersion=${BUNDLEVERSION} \
+-DrouteOffer=${ROUTEOFFER} \
+-DVERSION_ROUTEOFFER_ENVCONTEXT=${BUNDLEVERSION}/${STICKYSELECTORKEY}/${ENVCONTEXT} \
+-DSecurityFilePath=/etc \
+-DREST_NAME_NORMALIZER_PATTERN_FILE=/etc/PatternInputs.txt \
+-Dms_name=org.onap.ccsdk.cds.blueprintsprocessor \
+-Dlogging.config=${APP_CONFIG_HOME}/logback.xml \
+-Djava.security.egd=file:/dev/./urandom \
+-DAPPNAME=${APP_NAME} -DAPPENV=${APP_ENV} -DAPPVERSION=${APP_VERSION} -DNAMESPACE=${NAMESPACE} \
+-Dspring.config.location=${APP_CONFIG_HOME}/ \
+org.onap.ccsdk.cds.blueprintsprocessor.BlueprintProcessorApplicationKt