From f89c1bcff5e9f6988cec282ce3cb1b8b44543108 Mon Sep 17 00:00:00 2001 From: "Leigh, Phillip (pl876u)" Date: Mon, 5 Nov 2018 10:23:24 -0500 Subject: BugFix:CtxAggr doesn't pick up events- CtxAggr chg 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) --- src/main/docker/startService.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/docker/startService.sh b/src/main/docker/startService.sh index fd555ff..a6b368a 100644 --- a/src/main/docker/startService.sh +++ b/src/main/docker/startService.sh @@ -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 -- cgit 1.2.3-korg