summaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
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