diff options
author | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2018-11-05 10:23:24 -0500 |
---|---|---|
committer | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2018-11-05 10:23:39 -0500 |
commit | f89c1bcff5e9f6988cec282ce3cb1b8b44543108 (patch) | |
tree | 289541a232834b6ef53f1ba942ac3d857c3a9bf0 /src/main | |
parent | 1b1beab19371d41c76bb089e8917583d556db195 (diff) |
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) <phillip.leigh@amdocs.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/docker/startService.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |