summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorJoeOLeary <joseph.o.leary@est.tech>2020-08-04 12:58:01 +0100
committerJoeOLeary <joseph.o.leary@est.tech>2020-08-20 14:46:59 +0100
commit014b937f2fc9687a5d7f2d1ee59f22ddc55a3343 (patch)
tree50589269e4532f0c3b34bce2afecab1f7f2577e4 /src/main/resources
parent06cf0512cd85d40d032163e20afcd4eda0b7879a (diff)
Update Config Acquisation
Issue-ID: DCAEGEN2-2341 Change-Id: I3fc431d563e668cbc2bd4a1dd03e30ca908fed0b Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/Dockerfile2
-rw-r--r--src/main/resources/reconfigure.sh6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile
index d86e2c3..f0f827d 100644
--- a/src/main/resources/Dockerfile
+++ b/src/main/resources/Dockerfile
@@ -57,5 +57,5 @@ LABEL git.branch="${git.branch}" \
git.commit.user.name="${git.commit.user.name}"
-ENTRYPOINT ["/bin/sh", "-c", "nohup sh etc/reconfigure.sh & /usr/local/openjdk-11/bin/java -jar ${project.artifactId}-${project.version}.jar"]
+ENTRYPOINT ["/usr/local/openjdk-11/bin/java", "-jar", "${project.artifactId}-${project.version}.jar"]
ARG JAR
diff --git a/src/main/resources/reconfigure.sh b/src/main/resources/reconfigure.sh
deleted file mode 100644
index 1998e5f..0000000
--- a/src/main/resources/reconfigure.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env sh
-while true
-do
- sleep 60
- echo $(curl -sI -X GET https://localhost:8443/reconfigure -k | head -n1) >> /var/log/ONAP/dcaegen2/services/pm-mapper/reconfigure.log
-done