summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsushant53 <sushant.jadhav@t-systems.com>2023-04-26 16:05:47 +0530
committersushant53 <sushant.jadhav@t-systems.com>2023-04-26 16:10:55 +0530
commit8f333f2b8bd105d6a81726379a38fde23962f2d5 (patch)
treec4ac90db6381cfcd1f2d6a22ab899a4d66329dd2
parent2d0c1ccab780b42b046988279538d55ca94e76cb (diff)
[DCAEGEN2] Fixed Kpi-computation-ms healthcheck issue1.2.1-kpi-computation-ms
Fixed Kpi-computation-ms healthcheck issue. Issue-ID: DCAEGEN2-3388 Change-Id: Ic7f04069d8ec6911196269ae897db7926d394586 Signed-off-by: sushant53 <sushant.jadhav@t-systems.com>
-rw-r--r--components/kpi-computation-ms/Changelog.md4
-rw-r--r--components/kpi-computation-ms/pom.xml4
-rw-r--r--components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/DmaapClient.java2
-rw-r--r--components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/NewPmNotification.java2
-rw-r--r--components/kpi-computation-ms/version.properties2
5 files changed, 9 insertions, 5 deletions
diff --git a/components/kpi-computation-ms/Changelog.md b/components/kpi-computation-ms/Changelog.md
index 57c0611b..a4a731b3 100644
--- a/components/kpi-computation-ms/Changelog.md
+++ b/components/kpi-computation-ms/Changelog.md
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [1.2.1]
+### Changed
+* Fixed Kpi-computation-ms healthcheck issue. (DCAEGEN2-3388)
+
## [1.2.0]
### Changed
* KPI MS - Vulnerability updates (DCAEGEN2-3354)
diff --git a/components/kpi-computation-ms/pom.xml b/components/kpi-computation-ms/pom.xml
index 63070a63..b8098f7a 100644
--- a/components/kpi-computation-ms/pom.xml
+++ b/components/kpi-computation-ms/pom.xml
@@ -30,7 +30,7 @@
<groupId>org.onap.dcaegen2.services.components</groupId>
<artifactId>kpi-ms</artifactId>
- <version>1.2.0-SNAPSHOT</version>
+ <version>1.2.1-SNAPSHOT</version>
<name>dcaegen2-services-kpi-computation-ms</name>
<description>Kpi ms</description>
<packaging>jar</packaging>
@@ -205,7 +205,7 @@
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-servlet</artifactId>
- <version>${undertow.version}</version>
+ <version>2.2.17.Final</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
diff --git a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/DmaapClient.java b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/DmaapClient.java
index 4d48d975..52841702 100644
--- a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/DmaapClient.java
+++ b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/DmaapClient.java
@@ -29,7 +29,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
-import jakarta.annotation.PostConstruct;
+import javax.annotation.PostConstruct;
import org.onap.dcaegen2.kpi.models.Configuration;
import org.onap.dcaegen2.kpi.utils.DmaapUtils;
diff --git a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/NewPmNotification.java b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/NewPmNotification.java
index 4102d60a..a85cd3c9 100644
--- a/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/NewPmNotification.java
+++ b/components/kpi-computation-ms/src/main/java/org/onap/dcaegen2/kpi/dmaap/NewPmNotification.java
@@ -21,7 +21,7 @@
package org.onap.dcaegen2.kpi.dmaap;
-import jakarta.annotation.PostConstruct;
+import javax.annotation.PostConstruct;
import org.springframework.stereotype.Component;
diff --git a/components/kpi-computation-ms/version.properties b/components/kpi-computation-ms/version.properties
index 499327c8..2f2ff4a5 100644
--- a/components/kpi-computation-ms/version.properties
+++ b/components/kpi-computation-ms/version.properties
@@ -22,7 +22,7 @@
###############################################################################
major=1
minor=2
-patch=0
+patch=1
base_version=${major}.${minor}.${patch}
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT