summaryrefslogtreecommitdiffstats
path: root/src/main/resources/reconfigure.sh
diff options
context:
space:
mode:
authorJoeOLeary <joseph.o.leary@est.tech>2019-03-13 16:47:20 +0000
committerJoeOLeary <joseph.o.leary@est.tech>2019-03-13 16:47:20 +0000
commit290aa864c6a7d02a4f310c5d1cf8106e02e9dd47 (patch)
tree96aa9cbe1b20fad87b24ff40bb3983323f59783e /src/main/resources/reconfigure.sh
parent88adbc830c24f309c19fc5874654cc1cfaebc600 (diff)
Add Dynamic Configuration
*Implement Configurable in DataRouter subscriber *Add reconfigure.sh *Update Dockerfile to use reconfigure.sh Issue-ID: DCAEGEN2-1038 Change-Id: I9ce387819afff644c3dc76a94786fa1f95afd985 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Diffstat (limited to 'src/main/resources/reconfigure.sh')
-rw-r--r--src/main/resources/reconfigure.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/resources/reconfigure.sh b/src/main/resources/reconfigure.sh
new file mode 100644
index 0000000..ac6f940
--- /dev/null
+++ b/src/main/resources/reconfigure.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+while true
+do
+ sleep 60
+ echo $(wget -S --spider localhost:8081/reconfigure 2>&1) >> /var/log/ONAP/dcaegen2/services/pm-mapper/reconfigure.log
+done