summaryrefslogtreecommitdiffstats
path: root/installation/admportal
diff options
context:
space:
mode:
Diffstat (limited to 'installation/admportal')
-rw-r--r--installation/admportal/pom.xml21
-rw-r--r--installation/admportal/src/main/docker/Dockerfile2
2 files changed, 21 insertions, 2 deletions
diff --git a/installation/admportal/pom.xml b/installation/admportal/pom.xml
index a7b49678..180cb92d 100644
--- a/installation/admportal/pom.xml
+++ b/installation/admportal/pom.xml
@@ -69,7 +69,7 @@
<executions>
<execution>
<id>generate-images</id>
- <phase>generate-sources</phase>
+ <phase>process-sources</phase>
<goals>
<goal>build</goal>
</goals>
@@ -129,6 +129,25 @@
</resources>
</configuration>
</execution>
+ <execution>
+ <id>copy-keystores</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/data/stores</outputDirectory>
+ <resources>
+ <resource>
+ <directory>../src/main/stores</directory>
+ <includes>
+ <include>*.p12</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
diff --git a/installation/admportal/src/main/docker/Dockerfile b/installation/admportal/src/main/docker/Dockerfile
index abaa056f..21cd7a30 100644
--- a/installation/admportal/src/main/docker/Dockerfile
+++ b/installation/admportal/src/main/docker/Dockerfile
@@ -9,4 +9,4 @@ MAINTAINER SDN-C Team (sdnc@lists.openecomp.org)
COPY opt /opt
#ENTRYPOINT exec /opt/openecomp/sdnc/admportal/shell/startssl.sh
-EXPOSE 8843
+EXPOSE 8843 8443