aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/son-handler/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/son-handler/entrypoint.sh')
-rw-r--r--src/main/docker/son-handler/entrypoint.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/docker/son-handler/entrypoint.sh b/src/main/docker/son-handler/entrypoint.sh
new file mode 100644
index 0000000..bf69065
--- /dev/null
+++ b/src/main/docker/son-handler/entrypoint.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+sed -i s/DMAAP_SERVER/$DMAAPSERVER/ /etc/config.json
+sed -i s/SDNR_SERVICE/$SDNRSERVICE/ /etc/config.json
+sed -i s/OOF_SERVICE/$OOFSERVICE/ /etc/config.json
+sed -i s/POLICY_SERVICE/$POLICYSERVICE/ /etc/config.json
+sed -i s/PCIMS_SERVICE_HOST/$PCIMS_SERVICE_HOST/ /etc/config.json
+sed -i s/MANAGER_API_KEY/$MANAGERAPIKEY/ /etc/config.json
+sed -i s/MANAGER_SECRET_KEY/$MANAGERSECRETKEY/ /etc/config.json
+sed -i s/PCIMS_API_KEY/$PCIMSAPIKEY/ /etc/config.json
+sed -i s/PCIMS_SECRET_KEY/$PCIMSSECRETKEY/ /etc/config.json
+sed -i s/SDNR_API_KEY/$SDNRAPIKEY/ /etc/config.json
+sed -i s/POLICY_API_KEY/$POLICYAPIKEY/ /etc/config.json
+java -jar application.jar
+