From 7d04c23c7c51738d68f325e450ac408c1ae9905f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 29 Jun 2021 17:13:09 +0100 Subject: Update CLAMP: checkstyle 8.43/Spring dependencies Updates are indentation changes on annotations and rationallization of the dependencies for Spring/Springboot Generation of swagger.json, swagger.html and swagger.pdf temporarily disabled due to a missing dependency in the generation toolchain. Issue-ID: POLICY-3209 Change-Id: Iff5881df45ef54b20fa30f63e2393cc1cdbf4bfe Signed-off-by: liamfallon --- .../participant-impl/participant-impl-dcae/pom.xml | 26 ---------- .../participant-impl-kubernetes/pom.xml | 56 ---------------------- .../participant-impl-policy/pom.xml | 16 ------- .../participant-impl-simulator/pom.xml | 33 +------------ .../simulator/ParticipantSimulatorApplication.java | 8 +++- participant/participant-impl/pom.xml | 42 +--------------- participant/participant-intermediary/pom.xml | 7 --- participant/pom.xml | 8 ++++ 8 files changed, 18 insertions(+), 178 deletions(-) (limited to 'participant') diff --git a/participant/participant-impl/participant-impl-dcae/pom.xml b/participant/participant-impl/participant-impl-dcae/pom.xml index 947862626..f5fd3688c 100644 --- a/participant/participant-impl/participant-impl-dcae/pom.xml +++ b/participant/participant-impl/participant-impl-dcae/pom.xml @@ -32,32 +32,6 @@ ${project.artifactId} DCAE participant, that allows DCAE to partake in control loops - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-validation - - - org.springframework.boot - spring-boot-starter-test - test - - - org.mock-server - mockserver-netty - test - - - org.mock-server - mockserver-client-java - test - - - diff --git a/participant/participant-impl/participant-impl-kubernetes/pom.xml b/participant/participant-impl/participant-impl-kubernetes/pom.xml index f51e3653d..15e8e90ec 100644 --- a/participant/participant-impl/participant-impl-kubernetes/pom.xml +++ b/participant/participant-impl/participant-impl-kubernetes/pom.xml @@ -32,62 +32,6 @@ ${project.artifactId} Kubernetes participant, that allows k8s pods to partake in control loops - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-validation - - - org.springframework.boot - spring-boot-starter-webflux - - - org.apache.tomcat.embed - tomcat-embed-core - - - org.immutables - value - provided - - - org.immutables - gson - - - org.json - json - - - org.projectlombok - lombok - provided - - - io.springfox - springfox-swagger2 - - - io.springfox - springfox-swagger-ui - runtime - - - commons-fileupload - commons-fileupload - - - org.onap.policy.clamp.participant - policy-clamp-participant-intermediary - ${project.version} - - - - diff --git a/participant/participant-impl/participant-impl-policy/pom.xml b/participant/participant-impl/participant-impl-policy/pom.xml index 9cc70b426..367e3d664 100644 --- a/participant/participant-impl/participant-impl-policy/pom.xml +++ b/participant/participant-impl/participant-impl-policy/pom.xml @@ -32,22 +32,6 @@ ${project.artifactId} Policy participant, that allows Policy to partake in control loops - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-validation - - - org.springframework.boot - spring-boot-starter-test - test - - - diff --git a/participant/participant-impl/participant-impl-simulator/pom.xml b/participant/participant-impl/participant-impl-simulator/pom.xml index 92ee94db9..5e315ba9e 100644 --- a/participant/participant-impl/participant-impl-simulator/pom.xml +++ b/participant/participant-impl/participant-impl-simulator/pom.xml @@ -18,7 +18,8 @@ ============LICENSE_END========================================================= --> - 4.0.0 @@ -32,36 +33,6 @@ ${project.artifactId} Participant simulator, used to test control loops - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-security - - - org.springframework.boot - spring-boot-starter-validation - - - io.springfox - springfox-boot-starter - ${version.springfox} - - - io.springfox - springfox-swagger-ui - runtime - - - org.springframework.boot - spring-boot-starter-test - test - - - diff --git a/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/ParticipantSimulatorApplication.java b/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/ParticipantSimulatorApplication.java index 8267df477..580bffa80 100644 --- a/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/ParticipantSimulatorApplication.java +++ b/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/ParticipantSimulatorApplication.java @@ -29,10 +29,14 @@ import org.springframework.context.annotation.ComponentScan; * Starter. * */ +// @formatter:off @SpringBootApplication @ConfigurationPropertiesScan("org.onap.policy.clamp.controlloop.participant.simulator.main.parameters") -@ComponentScan({"org.onap.policy.clamp.controlloop.participant.simulator", - "org.onap.policy.clamp.controlloop.participant.intermediary"}) +@ComponentScan({ + "org.onap.policy.clamp.controlloop.participant.simulator", + "org.onap.policy.clamp.controlloop.participant.intermediary" +}) +//@formatter:on public class ParticipantSimulatorApplication { public static void main(String[] args) { diff --git a/participant/participant-impl/pom.xml b/participant/participant-impl/pom.xml index 3d099e747..f1f4f0eb9 100644 --- a/participant/participant-impl/pom.xml +++ b/participant/participant-impl/pom.xml @@ -19,7 +19,8 @@ ============LICENSE_END========================================================= --> - 4.0.0 @@ -41,50 +42,11 @@ participant-impl-kubernetes - - - - org.springframework.boot - spring-boot-starter-web - ${version.springboot} - - - org.springframework.boot - spring-boot-starter-webflux - ${version.springboot} - - - org.springframework.boot - spring-boot-starter-validation - ${version.springboot} - - - org.springframework.boot - spring-boot-starter-test - ${version.springboot} - test - - - org.springframework.boot - spring-boot-starter-security - ${version.springboot} - - - - org.onap.policy.clamp.participant policy-clamp-participant-intermediary ${project.version} - - org.onap.policy.clamp - policy-clamp-common - tests - test-jar - ${project.version} - test - diff --git a/participant/participant-intermediary/pom.xml b/participant/participant-intermediary/pom.xml index 9f754148e..aac80a4a2 100644 --- a/participant/participant-intermediary/pom.xml +++ b/participant/participant-intermediary/pom.xml @@ -33,11 +33,4 @@ Common intermediary library for managing DMaaP participant messaging and holding participant and control loop state - - - org.springframework - spring-webmvc - - - diff --git a/participant/pom.xml b/participant/pom.xml index b0ee3c084..015308bbe 100644 --- a/participant/pom.xml +++ b/participant/pom.xml @@ -51,6 +51,14 @@ policy-clamp-models ${project.version} + + org.onap.policy.clamp + policy-clamp-common + tests + test-jar + ${project.version} + test + -- cgit 1.2.3-korg