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>
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