aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-16 23:48:34 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-16 23:48:34 +0000
commitd51d41fa3a6d2280a9f2b5608cb6772398043707 (patch)
treed16c1a6c918cf134c0b298eb7b15a1e1959fe057
parent008057387a2835cab0b024b75c300853450cc3e3 (diff)
parentc5ef5b5adcc222002fa99b90f14bce7a97afacff (diff)
Merge "Add ueb-listener container"
Former-commit-id: bf7801d6d0465e1fad37513b009798e101716b48
-rw-r--r--installation/src/main/yaml/docker-compose.yml19
-rw-r--r--installation/ueb-listener/src/main/scripts/start-ueb-listener.sh2
2 files changed, 20 insertions, 1 deletions
diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml
index ba9bd32a..68d02878 100644
--- a/installation/src/main/yaml/docker-compose.yml
+++ b/installation/src/main/yaml/docker-compose.yml
@@ -100,3 +100,22 @@ services:
max-file: "5"
+ ueblistener:
+ image: nexus3.onap.org:10001/onap/sdnc-ueb-listener-image:1.2-STAGING-latest
+ depends_on:
+ - db
+ container_name: sdnc_ueblistener_container
+ entrypoint: ["/opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh" ]
+ links:
+ - db:dbhost
+ - db:sdnctldb01
+ - db:sdnctldb02
+ - sdnc:sdnhost
+ environment:
+ - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
+ - PROPERTY_DIR=/opt/onap/sdnc/data/properties
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
diff --git a/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh b/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh
index 64fb589f..65e33dce 100644
--- a/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh
+++ b/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh
@@ -45,7 +45,7 @@ do
done
echo "Starting ueb-listener"
-exec ${JAVA} ${JAVA_OPTS} -jar ${UEBLISTENERROOT}/lib/ueb-listener*.jar -Dlog4j.configuration=file:${UEBLISTENERROOT}/lib/log4j.properties -cp ${LISTENERCLASSPATH}
+exec ${JAVA} ${JAVA_OPTS} -jar ${UEBLISTENERROOT}/lib/ueb-listener*.jar -Dlog4j.configuration=file:${PROPERTY_DIR}/log4j.properties -cp ${LISTENERCLASSPATH}