diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-09-20 12:59:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-20 12:59:15 +0000 |
commit | 19659e205ef636cec767e32a62cc549cf9156d5b (patch) | |
tree | 9c09f6660827e677338493ccc8d1e074731190f3 /packages/docker | |
parent | 86dc9cee6baf40abecc3f2da2e09885d80c2653d (diff) | |
parent | 9b57edd6166f964453b546241aabd8beb37c0e3e (diff) |
Merge "Addition of Dockerfile/logback for SO-Monitoring"
Diffstat (limited to 'packages/docker')
-rw-r--r-- | packages/docker/pom.xml | 32 | ||||
-rw-r--r-- | packages/docker/src/main/docker/docker-files/scripts/start-app.sh | 4 |
2 files changed, 35 insertions, 1 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index a8f8ee5f5a..3147c0206d 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -279,6 +279,31 @@ </assembly> </build> </image> + <image> + <name>onap/so/so-monitoring</name> + <build> + <cleanup>try</cleanup> + <dockerFileDir>docker-files</dockerFileDir> + <dockerFile>Dockerfile.so-app</dockerFile> + <tags> + <tag>${project.version}</tag> + <tag>${project.version}-${maven.build.timestamp}</tag> + <tag>${project.docker.latesttag.version}</tag> + </tags> + <assembly> + <inline> + <dependencySets> + <dependencySet> + <includes> + <include>org.onap.so.monitoring:so-monitoring-service</include> + </includes> + <outputFileNameMapping>app.jar</outputFileNameMapping> + </dependencySet> + </dependencySets> + </inline> + </assembly> + </build> + </image> </images> </configuration> @@ -310,7 +335,7 @@ <goal>push</goal> </goals> <configuration> - <image>onap/so/catalog-db-adapter,onap/so/request-db-adapter,onap/so/sdnc-adapter,onap/so/openstack-adapter,onap/so/vfc-adapter,onap/so/sdc-controller,onap/so/bpmn-infra,onap/so/api-handler-infra</image> + <image>onap/so/catalog-db-adapter,onap/so/request-db-adapter,onap/so/sdnc-adapter,onap/so/openstack-adapter,onap/so/vfc-adapter,onap/so/sdc-controller,onap/so/bpmn-infra,onap/so/api-handler-infra,onap/so/so-monitoring</image> </configuration> </execution> </executions> @@ -368,5 +393,10 @@ <artifactId>mso-api-handler-infra</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.onap.so-monitoring</groupId> + <artifactId>so-monitoring-service</artifactId> + <version>${project.version}</version> + </dependency> </dependencies> </project> diff --git a/packages/docker/src/main/docker/docker-files/scripts/start-app.sh b/packages/docker/src/main/docker/docker-files/scripts/start-app.sh index 7db4319195..143b1cf0b6 100644 --- a/packages/docker/src/main/docker/docker-files/scripts/start-app.sh +++ b/packages/docker/src/main/docker/docker-files/scripts/start-app.sh @@ -48,6 +48,10 @@ if [ ${APP} = "bpmn-infra" ]; then ln -s ${LOG_PATH} BPMN fi +if [ ${APP} = "so-monitoring" ]; then + ln -s ${LOG_PATH} MONITORING +fi + if [ ${APP} = "openstack-adapter" ]; then export DISABLE_SNI="-Djsse.enableSNIExtension=false" fi |