diff options
author | sheetalm <sheetal.mudholkar@amdocs.com> | 2018-03-13 19:32:08 +0530 |
---|---|---|
committer | sheetalm <sheetal.mudholkar@amdocs.com> | 2018-03-26 14:38:06 +0530 |
commit | ed12890b0bb0c07acd3eb7bcbd10bfcca3046a2b (patch) | |
tree | bd37e0e117fc9e8a1b818f94a9e5a120ca4df0a6 /services/activity-spec/activity-spec-web/pom.xml | |
parent | f2cee7829ae7d8fae58239dd0018b2aa790c0251 (diff) |
Activity Spec Service - Dockerization
Resolving merge conflict
Fixing todo items after rebase.
URL to be /activity-spec-api. Removing unused image. Renaming css
Configuring docker registry to push images and adding docker profile
Add maven docker module to generate below docker images
1 activity-spec-init:1.2.0-SNAPSHOT - creates cassandra keyspace and tables
in already running cassandra docker image
2 activity-spec-be:1.2.0-SNAPSHOT - deploys activity spec war and swagger war on base jetty docker image
Change-Id: Ic638e2cb9c224e9e6c91cf0f7198594593a77ae5
Issue-ID: SDC-1048
Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
Diffstat (limited to 'services/activity-spec/activity-spec-web/pom.xml')
-rw-r--r-- | services/activity-spec/activity-spec-web/pom.xml | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/services/activity-spec/activity-spec-web/pom.xml b/services/activity-spec/activity-spec-web/pom.xml index c67a9c54f0..799c9d2b9e 100644 --- a/services/activity-spec/activity-spec-web/pom.xml +++ b/services/activity-spec/activity-spec-web/pom.xml @@ -3,7 +3,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>org.openecomp.activityspec</groupId> <artifactId>activity-spec-web</artifactId> <packaging>pom</packaging> @@ -16,6 +15,40 @@ <modules> <module>activity-spec-service</module> <module>activity-spec-war</module> + <module>activity-spec-api-docs</module> </modules> + <profiles> + <profile> + <id>docker</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>io.fabric8</groupId> + <artifactId>docker-maven-plugin</artifactId> + <configuration> + <images> + <image> + <name>onap/activity-spec</name> + <build> + <tags> + <tag>${project.version}</tag> + </tags> + <dockerFileDir>${project.basedir}</dockerFileDir> + <dockerFile>Dockerfile</dockerFile> + <args> + <ARTIFACT_VERSION>${project.version}</ARTIFACT_VERSION> + </args> + </build> + </image> + </images> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
\ No newline at end of file |