summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-07-13 10:30:21 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-07-13 10:30:21 +0200
commit76ff55a5d1f4f14fbbb8a76c5419c39e08319891 (patch)
treed9f1267b55f29347fce7ed73bc6dbcc916b4482e
parent575adb475d014cb7e1898955a398b503c4f39367 (diff)
Add missing library3.5.1
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 <bogumil.zebek@nokia.com> Change-Id: I03fb683f195f1898ec31f2726420eb27be7d55bb
-rw-r--r--CHANGELOG.md5
-rw-r--r--pom.xml13
-rw-r--r--version.properties2
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.
<groupId>org.onap.dcaegen2.platform</groupId>
<artifactId>inventory-api</artifactId>
- <version>3.5.0-SNAPSHOT</version>
+ <version>3.5.1-SNAPSHOT</version>
<name>dcaegen2-platform-inventory-api</name>
<!--internal <version>3.0.0</version>-->
@@ -49,6 +49,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<releases.path>content/repositories/releases/</releases.path>
<site.path>content/sites/site/org/onap/dcae/dcae-inventory/${project.artifactId}/${project.version}/</site.path>
<sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ <activation.version>1.1.1</activation.version>
</properties>
<pluginRepositories>
@@ -214,6 +215,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<version>2.3.0</version>
</dependency>
<dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>${activation.version}</version>
+ </dependency>
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
@@ -362,7 +368,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
- <version>1.1.1</version>
+ <version>${activation.version}</version>
</dependency>
</dependencies>
<configuration>
@@ -372,6 +378,9 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<runs>
<run>useradd -r -U inventory</run>
<run>mkdir -p /opt/logs</run>
+ <run>touch /opt/logs/metrics.log</run>
+ <run>touch /opt/logs/debug.log</run>
+ <run>touch /opt/logs/error.log</run>
<run>chown -R inventory:inventory /opt</run>
</runs>
<entryPoint>["java", "--add-opens", "java.base/java.lang=ALL-UNNAMED", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint>
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