BugFix:CtxAggr doesn't pick up events- CtxAggr chg 54/71854/1
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Mon, 5 Nov 2018 15:23:24 +0000 (10:23 -0500)
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Mon, 5 Nov 2018 15:23:39 +0000 (10:23 -0500)
The root cause is due to the DMaap topic wasn't created on a freshly
deployed system.

The solution is to create the topics needed by POMBA.

Issue-ID: LOG-794

Change-Id: I173a3a860deab0f3a700642403e7d1b0f695c65a
Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
src/main/docker/startService.sh

index fd555ff..a6b368a 100644 (file)
@@ -1,5 +1,16 @@
 #!/bin/sh
 
+
+cd /opt/app
+preStartFile="/opt/app/bin/pre_start.sh"
+if [ -f "$preStartFile" ]
+then
+       echo "$preStartFile found."
+        exec $preStartFile
+else
+       echo "$preStartFile not found."
+fi
+
 cd /opt/app
 if [ -z "${java_runtime_arguments}" ]; then
        java -Dlogging.config=config/logback.xml -Xms128m -Xmx512m -jar /opt/app/lib/pomba-context-aggregator.jar