diff options
author | 2019-07-17 23:24:36 -0400 | |
---|---|---|
committer | 2019-07-22 10:27:06 -0400 | |
commit | f14264024fc0d3103922360d2e7bb6dce114bf09 (patch) | |
tree | 8bd8b80c62ad86ec70191b3e89d06292b5091226 /pom.xml | |
parent | 8762e960c9df97fe93f0a996a5e8870e6059c7f8 (diff) |
Support calling inventory using HTTPS5.0.0-ONAP
Issue-ID: DCAEGEN2-1597
Change-Id: Ie1dc18ad753e5f43223ce699dfbceb1649dc6235
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -29,7 +29,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <groupId>org.onap.dcaegen2.platform</groupId> <artifactId>servicechange-handler</artifactId> - <version>1.2.0-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <!-- Not sure why clojure-maven-plugin says packaging should be "clojure" --> <packaging>jar</packaging> @@ -224,12 +224,15 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <baseImage>openjdk:8-jre-alpine</baseImage> <user>sch</user> <runs> + <run>apk update</run> + <run>apk add bash</run> + <run>chmod 666 /etc/ssl/certs/java/cacerts</run> <run>addgroup -S sch</run> <run>adduser -S -G sch sch</run> </runs> <!-- NOTE: Couldn't figure out how to package the jar to be named: ${project.build.finalName}. This might be because of the clojure maven plugin --> - <cmd>["java", "-jar", "/opt/servicechange-handler.jar", "prod", "http://consul:8500/v1/kv/service-change-handler?raw=true"]</cmd> + <cmd>["sch.sh"]</cmd> <!-- copy the service's jar file from target into the root directory of the image --> <resources> <resource> @@ -241,6 +244,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <targetPath>/opt</targetPath> <directory>${project.basedir}/resources</directory> <include>health.sh</include> + <include>sch.sh</include> </resource> </resources> <exposes> |