From 76ff55a5d1f4f14fbbb8a76c5419c39e08319891 Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Mon, 13 Jul 2020 10:30:21 +0200 Subject: Add missing library After upgrade to java 11 two problems occurred: - missing dependency to javax.activation.activation - logger has a problem with access to log files Issue-ID: DCAEGEN2-2287 Signed-off-by: Zebek Bogumil Change-Id: I03fb683f195f1898ec31f2726420eb27be7d55bb --- CHANGELOG.md | 5 +++++ pom.xml | 13 +++++++++++-- version.properties | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a69da9b..5ebbd50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). The version in the brackets represents the version of DCAE inventory and not the ONAP DCAE version. +## [3.5.1] + +* Add dependency to javax.activation.activation library +* Fix application access to log files + ## [3.5.0] * Upgrade java from 8 to 11 diff --git a/pom.xml b/pom.xml index 9e68e91..6250d03 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. org.onap.dcaegen2.platform inventory-api - 3.5.0-SNAPSHOT + 3.5.1-SNAPSHOT dcaegen2-platform-inventory-api @@ -49,6 +49,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. content/repositories/releases/ content/sites/site/org/onap/dcae/dcae-inventory/${project.artifactId}/${project.version}/ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + 1.1.1 @@ -213,6 +214,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. jaxb-api 2.3.0 + + javax.activation + activation + ${activation.version} + junit junit @@ -362,7 +368,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. javax.activation activation - 1.1.1 + ${activation.version} @@ -372,6 +378,9 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. useradd -r -U inventory mkdir -p /opt/logs + touch /opt/logs/metrics.log + touch /opt/logs/debug.log + touch /opt/logs/error.log chown -R inventory:inventory /opt ["java", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "-jar", "/opt/${project.build.finalName}.jar", "server"] diff --git a/version.properties b/version.properties index 7a03c1a..f7ed100 100644 --- a/version.properties +++ b/version.properties @@ -3,7 +3,7 @@ # because they are used in Jenkins, whose plug-in doesn't support major=3 minor=5 -patch=0 +patch=1 base_version=${major}.${minor}.${patch} # Release must be completed with git revision # in Jenkins -- cgit 1.2.3-korg