aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main/docker/startService.sh
diff options
context:
space:
mode:
authorBT2983 <BT2983@att.com>2018-07-23 13:11:35 -0600
committerBT2983 <BT2983@att.com>2018-07-23 13:11:35 -0600
commit5a398289dee4b666528aa77f4e38f9c68d35b254 (patch)
tree6e6f7215778424beacdd3637ddffa289fc35c39f /ms/neng/src/main/docker/startService.sh
parent84b6500a6c3a95b927df2fa90cdf8453ed2a028b (diff)
Adding naming micro-service code - scripts.
Docker and DB scripts. Change-Id: I2e9e153f6c72e5f5d6ee86cc9dfc275ec77b4642 Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/src/main/docker/startService.sh')
-rw-r--r--ms/neng/src/main/docker/startService.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ms/neng/src/main/docker/startService.sh b/ms/neng/src/main/docker/startService.sh
new file mode 100644
index 00000000..e690311c
--- /dev/null
+++ b/ms/neng/src/main/docker/startService.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+touch /app.jar
+app_args=-Dspring.profiles.active=${SPRING_PROFILE}
+app_args=${app_args}" -Dpolicymgr_url="${POLICYMGR_URL}" -Dinstar_aaf_enc_pass="${AAF_PASS_ENC}
+app_args=${app_args}" -Daai_cert_pass="${AAI_CERT_PASSWORD}" -Daai_uribase="${AAI_URI_BASE}
+app_args=${app_args}" -Dnwelgen_db_user="${NWEG_DB_USER}" -Dnwelgen_db_pass="${NWEG_DB_PASS}" -Dnwelgen_db_url="${NWEG_DB_URL}
+echo "app_args ="${app_args}
+echo "app_args ="${app_args}
+java -Djava.security.egd=file:/dev/./urandom ${app_args} -Xms1024m -Xmx1024m -jar /app.jar