diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-16 10:04:27 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-16 10:04:27 +0200 |
commit | ffd2733b918a97a2bcb0b3fe1aa40c2633977207 (patch) | |
tree | 94c9e369a2d65bce9c24a32473b4ad2f2a99aca5 /sparkybe-onap-application | |
parent | 8e552962e9a2e069f3ceb144fdbe71345fee934b (diff) |
Make jvm args in sparky-be configurable via environment variable
- replace hardcoded xms and xmx jvm args with optional JVM_ARGS environment variable
- use newer java 11 base image
- bump version from 2.0.3 to 2.0.4
Issue-ID: AAI-3849
Change-Id: I215cbe7344f0278fe32179834938961dc7ed6075
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'sparkybe-onap-application')
-rw-r--r-- | sparkybe-onap-application/pom.xml | 6 | ||||
-rw-r--r-- | sparkybe-onap-application/src/main/scripts/start.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sparkybe-onap-application/pom.xml b/sparkybe-onap-application/pom.xml index c115d1c..83d6b1c 100644 --- a/sparkybe-onap-application/pom.xml +++ b/sparkybe-onap-application/pom.xml @@ -5,12 +5,12 @@ <parent> <groupId>org.onap.aai</groupId> <artifactId>sparky-be</artifactId> - <version>2.0.3-SNAPSHOT</version> + <version>2.0.4-SNAPSHOT</version> </parent> <groupId>org.onap.aai.sparky-be</groupId> <artifactId>sparkybe-onap-application</artifactId> - <version>2.0.3-SNAPSHOT</version> + <version>2.0.4-SNAPSHOT</version> <packaging>jar</packaging> <properties> @@ -36,7 +36,7 @@ </aai.build.directory> <aai.docker.namespace>onap</aai.docker.namespace> <aai.base.image>alpine</aai.base.image> - <aai.base.image.version>1.8.1</aai.base.image.version> + <aai.base.image.version>1.13.2</aai.base.image.version> <!-- This will be used for the docker images as the default format of maven build has issues --> <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> </properties> diff --git a/sparkybe-onap-application/src/main/scripts/start.sh b/sparkybe-onap-application/src/main/scripts/start.sh index b4e1083..808be7b 100644 --- a/sparkybe-onap-application/src/main/scripts/start.sh +++ b/sparkybe-onap-application/src/main/scripts/start.sh @@ -21,4 +21,4 @@ set -x # cd $APP_HOME -${JAVA_CMD} -Xms1024m -Xmx4096m $PROPS -jar ${APP_HOME}/lib/sparkybe-onap-application*.jar +${JAVA_CMD} ${JVM_ARGS} $PROPS -jar ${APP_HOME}/lib/sparkybe-onap-application*.jar |