From eef4efe4709da9fd3e173ea68525ff506746bd3b Mon Sep 17 00:00:00 2001 From: egernug Date: Wed, 17 Jul 2024 07:41:44 +0100 Subject: Fix DMI Stub dependency issues Issue-ID: CPS-2321 Change-Id: I8d2b597aa7b537d29db7da6d60edeaa99fb2b76d Signed-off-by: egernug --- dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml | 26 +++++++++--- .../dmi-plugin-demo-and-csit-stub-service/pom.xml | 48 +++++++++++----------- .../stub/controller/DmiRestStubController.java | 2 +- dmi-stub/pom.xml | 12 +++++- 4 files changed, 55 insertions(+), 33 deletions(-) diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml b/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml index 40455416..73105fd5 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml @@ -98,7 +98,24 @@ - + + org.springframework.boot + spring-boot-starter-web + + + org.slf4j + slf4j-api + + + + ch.qos.logback + logback-classic + + + org.slf4j + slf4j-api + + org.onap.cps dmi-plugin-demo-and-csit-stub-service @@ -110,10 +127,7 @@ - - org.springframework.boot - spring-boot-starter-web - 3.2.4 - + + \ No newline at end of file diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml index 8ad8a9a2..78b56852 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml @@ -25,11 +25,21 @@ dmi-plugin-demo-and-csit-stub-service + + + + ch.qos.logback + logback-classic + + + org.slf4j + slf4j-api + + org.springframework.boot spring-boot-starter-web - 3.2.4 org.springframework.boot @@ -41,7 +51,6 @@ org.springframework.boot spring-boot-starter-actuator - 3.2.4 com.googlecode.json-simple @@ -57,32 +66,26 @@ org.projectlombok lombok - 1.18.24 io.cloudevents cloudevents-kafka - 2.5.0 io.cloudevents cloudevents-spring - 2.5.0 org.springframework.kafka spring-kafka - 3.1.3 org.apache.commons commons-lang3 - 3.11 - + jakarta.servlet jakarta.servlet-api - 6.0.0 @@ -91,38 +94,33 @@ 3.4.9 - - org.codehaus.groovy - groovy - 3.0.18 - test - - - org.codehaus.groovy - groovy-json - 3.0.18 - test - org.spockframework spock-core - 2.4-M1-groovy-3.0 test org.spockframework spock-spring - 2.4-M1-groovy-3.0 test org.springframework.boot spring-boot-starter-test - 3.2.4 test - + + org.codehaus.groovy + groovy + test + + + org.codehaus.groovy + groovy-json + test + + diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/DmiRestStubController.java b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/DmiRestStubController.java index fdc5af76..fba361c5 100644 --- a/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/DmiRestStubController.java +++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/DmiRestStubController.java @@ -64,8 +64,8 @@ import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("${rest.api.dmi-stub-base-path}") -@RequiredArgsConstructor @Slf4j +@RequiredArgsConstructor public class DmiRestStubController { private static final String DEFAULT_TAG = "tagD"; diff --git a/dmi-stub/pom.xml b/dmi-stub/pom.xml index ba1ccd1b..379d873d 100644 --- a/dmi-stub/pom.xml +++ b/dmi-stub/pom.xml @@ -39,5 +39,15 @@ dmi-plugin-demo-and-csit-stub-service dmi-plugin-demo-and-csit-stub-app - + + + + org.onap.cps + cps-dependencies + 3.5.1 + pom + import + + + \ No newline at end of file -- cgit 1.2.3-korg