aboutsummaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
authorrokenny <ronan.kenny@est.tech>2019-04-09 20:34:44 +0000
committerrokenny <ronan.kenny@est.tech>2019-04-09 20:34:44 +0000
commit1d9a4a6444f1a192ae69aa1f9c5df908c34ad164 (patch)
tree80b361948e3653557c05cfa4b62e7d81c5accbe3 /packages/docker
parent8dae8791b36c45f6cf2124359c9055c7bee7cae2 (diff)
Added VNFM Simulator project
Change-Id: I9b84164dc189128eed8d09b6ce69fc5d5fd78348 Issue-ID: SO-1618 Signed-off-by: rokenny <ronan.kenny@est.tech>
Diffstat (limited to 'packages/docker')
-rw-r--r--packages/docker/pom.xml32
-rw-r--r--packages/docker/src/main/docker/docker-files/scripts/start-app.sh4
2 files changed, 35 insertions, 1 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml
index 6cef920dc5..88a5001f17 100644
--- a/packages/docker/pom.xml
+++ b/packages/docker/pom.xml
@@ -331,6 +331,31 @@
</assembly>
</build>
</image>
+ <image>
+ <name>${docker.image.prefix}/vnfm-simulator</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.vnfm:vnfm-service</include>
+ </includes>
+ <outputFileNameMapping>app.jar</outputFileNameMapping>
+ </dependencySet>
+ </dependencySets>
+ </inline>
+ </assembly>
+ </build>
+ </image>
</images>
</configuration>
@@ -362,7 +387,7 @@
<goal>push</goal>
</goals>
<configuration>
- <image>${docker.image.prefix}/catalog-db-adapter,${docker.image.prefix}/request-db-adapter,${docker.image.prefix}/sdnc-adapter,${docker.image.prefix}/openstack-adapter,${docker.image.prefix}/vfc-adapter,${docker.image.prefix}/sdc-controller,${docker.image.prefix}/bpmn-infra,${docker.image.prefix}/api-handler-infra,${docker.image.prefix}/so-monitoring</image>
+ <image>${docker.image.prefix}/catalog-db-adapter,${docker.image.prefix}/request-db-adapter,${docker.image.prefix}/sdnc-adapter,${docker.image.prefix}/openstack-adapter,${docker.image.prefix}/vfc-adapter,${docker.image.prefix}/sdc-controller,${docker.image.prefix}/bpmn-infra,${docker.image.prefix}/api-handler-infra,${docker.image.prefix}/so-monitoring,${docker.image.prefix}/vnfm-simulator</image>
</configuration>
</execution>
</executions>
@@ -430,5 +455,10 @@
<artifactId>so-monitoring-service</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.so.vnfm</groupId>
+ <artifactId>vnfm-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 cb5586d61d..cb2f35b87f 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
@@ -52,6 +52,10 @@ if [ ${APP} = "so-monitoring" ]; then
ln -s ${LOG_PATH} MONITORING
fi
+if [ ${APP} = "vnfm-simulator" ]; then
+ ln -s ${LOG_PATH} SIMULATOR
+fi
+
if [ ${APP} = "openstack-adapter" ]; then
export DISABLE_SNI="-Djsse.enableSNIExtension=false"
fi