From 42c18ef1c6506e63151b55a96d90362da9fbda63 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 17 Aug 2023 22:09:58 +0100 Subject: Java 17 / Spring 6 / Spring Boot 3 Upgrade Issue-ID: POLICY-4671 Change-Id: I664e5f62b1ad23619888af98589c04875b07f4d3 Signed-off-by: adheli.tavares --- main/pom.xml | 94 +- .../onap/policy/pap/main/config/PapAafConfig.java | 3 +- .../policy/pap/main/config/WebSecurityConfig.java | 12 +- .../main/exception/ServiceExceptionHandler.java | 3 +- .../main/rest/PdpGroupCreateOrUpdateProvider.java | 77 +- .../pap/main/rest/PdpGroupDeleteProvider.java | 4 +- .../pap/main/rest/PdpGroupDeployProvider.java | 4 +- .../pap/main/rest/PdpGroupStateChangeProvider.java | 4 +- .../rest/PolicyComponentsHealthCheckProvider.java | 10 +- .../onap/policy/pap/main/rest/ProviderBase.java | 6 +- .../org/onap/policy/pap/main/rest/SessionData.java | 65 +- .../PdpGroupCreateOrUpdateControllerV1Stub.java | 2 +- .../rest/stub/PdpGroupDeployControllerV1Stub.java | 2 +- .../stub/PdpGroupStateChangeControllerV1Stub.java | 4 +- .../rest/stub/PolicyAuditControllerV1Stub.java | 6 +- .../rest/stub/PolicyStatusControllerV1Stub.java | 2 +- .../onap/policy/pap/main/rest/stub/StubUtils.java | 5 +- .../policy/pap/main/service/PdpGroupService.java | 12 +- .../pap/main/service/PolicyAuditService.java | 3 +- .../pap/main/service/PolicyStatusService.java | 3 +- .../pap/main/service/ToscaNodeTemplateService.java | 4 +- .../main/service/ToscaServiceTemplateService.java | 4 +- .../pap/main/startstop/PapDatabaseInitializer.java | 4 +- main/src/main/resources/application.yaml | 5 +- .../onap/policy/pap/contract/PapContractTest.java | 24 +- .../org/onap/policy/pap/main/PapConstantsTest.java | 8 +- .../org/onap/policy/pap/main/TestExceptions.java | 8 +- .../policy/pap/main/comm/CommonRequestBase.java | 8 +- .../pap/main/comm/MultiPdpStatusListenerTest.java | 42 +- .../pap/main/comm/PdpHeartbeatListenerTest.java | 65 +- .../pap/main/comm/PdpModifyRequestMapTest.java | 157 +-- .../onap/policy/pap/main/comm/PdpRequestsTest.java | 41 +- .../pap/main/comm/PdpStatusMessageHandlerTest.java | 26 +- .../onap/policy/pap/main/comm/PublisherTest.java | 46 +- .../onap/policy/pap/main/comm/QueueTokenTest.java | 24 +- .../org/onap/policy/pap/main/comm/Threaded.java | 9 +- .../policy/pap/main/comm/TimerManagerTest.java | 51 +- .../pap/main/comm/msgdata/RequestImplTest.java | 32 +- .../pap/main/comm/msgdata/StateChangeReqTest.java | 21 +- .../pap/main/comm/msgdata/UpdateReqTest.java | 98 +- .../main/notification/DeploymentStatusTest.java | 54 +- .../main/notification/DeploymentTrackerTest.java | 31 +- .../pap/main/notification/PolicyNotifierTest.java | 44 +- .../pap/main/notification/StatusActionTest.java | 7 +- .../pap/main/notification/StatusKeyTest.java | 7 +- .../pap/main/parameters/TestPapParameterGroup.java | 27 +- .../parameters/TestPdpModifyRequestMapParams.java | 29 +- .../pap/main/parameters/TestPdpParameters.java | 19 +- .../main/parameters/TestPdpRequestParameters.java | 17 +- .../parameters/TestPdpStateChangeParameters.java | 11 +- .../main/parameters/TestPdpUpdateParameters.java | 11 +- .../pap/main/parameters/TestRequestParams.java | 25 +- .../policy/pap/main/rest/CommonPapRestServer.java | 61 +- .../pap/main/rest/PapRestControllerV1Test.java | 28 +- .../onap/policy/pap/main/rest/ProviderSuper.java | 20 +- .../pap/main/rest/TestActuatorEndpoints.java | 29 +- .../onap/policy/pap/main/rest/TestGroupData.java | 19 +- .../main/rest/TestHealthCheckRestControllerV1.java | 22 +- .../TestPdpGroupCreateOrUpdateControllerV1.java | 22 +- .../rest/TestPdpGroupCreateOrUpdateProvider.java | 1123 ++++++++++---------- .../main/rest/TestPdpGroupDeleteControllerV1.java | 23 +- .../pap/main/rest/TestPdpGroupDeleteProvider.java | 58 +- .../main/rest/TestPdpGroupDeployControllerV1.java | 24 +- .../pap/main/rest/TestPdpGroupDeployProvider.java | 115 +- .../rest/TestPdpGroupHealthCheckControllerV1.java | 20 +- .../main/rest/TestPdpGroupHealthCheckProvider.java | 51 +- .../main/rest/TestPdpGroupQueryControllerV1.java | 22 +- .../rest/TestPdpGroupStateChangeControllerV1.java | 22 +- .../pap/main/rest/TestPolicyAuditControllerV1.java | 23 +- .../pap/main/rest/TestPolicyAuditManager.java | 24 +- ...estPolicyComponentsHealthCheckControllerV1.java | 20 +- .../TestPolicyComponentsHealthCheckProvider.java | 42 +- .../main/rest/TestPolicyStatusControllerV1.java | 28 +- .../pap/main/rest/TestPolicyStatusProvider.java | 41 +- .../pap/main/rest/TestPolicyUndeployerImpl.java | 57 +- .../policy/pap/main/rest/TestProviderBase.java | 49 +- .../onap/policy/pap/main/rest/TestSessionData.java | 129 ++- .../onap/policy/pap/main/rest/e2e/End2EndBase.java | 12 +- .../policy/pap/main/rest/e2e/End2EndContext.java | 8 +- .../policy/pap/main/rest/e2e/HealthCheckTest.java | 14 +- .../main/rest/e2e/PdpGroupCreateOrUpdateTest.java | 32 +- .../pap/main/rest/e2e/PdpGroupDeleteTest.java | 28 +- .../pap/main/rest/e2e/PdpGroupDeployTest.java | 32 +- .../pap/main/rest/e2e/PdpGroupQueryTest.java | 20 +- .../pap/main/rest/e2e/PdpGroupStateChangeTest.java | 22 +- .../policy/pap/main/rest/e2e/PolicyAuditTest.java | 39 +- .../policy/pap/main/rest/e2e/PolicyStatusTest.java | 32 +- .../pap/main/service/PdpGroupServiceTest.java | 61 +- .../pap/main/service/PolicyAuditServiceTest.java | 18 +- .../pap/main/service/PolicyStatusServiceTest.java | 49 +- .../main/service/ToscaNodeTemplateServiceTest.java | 30 +- .../service/ToscaServiceTemplateServiceTest.java | 39 +- .../pap/main/startstop/TestPapActivator.java | 35 +- main/src/test/resources/application-test-e2e.yaml | 21 - main/src/test/resources/application-test.yaml | 84 -- packages/policy-pap-docker/pom.xml | 2 +- .../policy-pap-docker/src/main/docker/Dockerfile | 2 +- packages/policy-pap-tarball/pom.xml | 2 +- packages/pom.xml | 6 +- pom.xml | 22 +- testsuites/performance/pom.xml | 2 +- testsuites/pom.xml | 7 +- testsuites/stability/pom.xml | 2 +- version.properties | 2 +- 104 files changed, 1953 insertions(+), 2022 deletions(-) diff --git a/main/pom.xml b/main/pom.xml index 636fce34..90ffdddd 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.onap.policy.pap policy-pap - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT pap-packages @@ -36,7 +36,7 @@ The module for packaging the PAP component. - + true diff --git a/pom.xml b/pom.xml index 20b9498d..438be554 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ ONAP Policy PAP ================================================================================ Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved. - Copyright (C) 2019, 2021 Nordix Foundation. + Copyright (C) 2019, 2021, 2023 Nordix Foundation. Modifications Copyright (C) 2020 Bell Canada. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,19 +21,19 @@ --> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.onap.policy.parent integration - 4.0.0-SNAPSHOT - + 4.0.1-SNAPSHOT + org.onap.policy.pap policy-pap - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT pom @@ -41,8 +41,8 @@ Code that implements the Policy Administration Backend. - 2.0.0-SNAPSHOT - 3.0.0-SNAPSHOT + 2.0.1-SNAPSHOT + 3.0.1-SNAPSHOT @@ -51,14 +51,6 @@ testsuites - - - junit - junit - test - - - ecomp-site diff --git a/testsuites/performance/pom.xml b/testsuites/performance/pom.xml index d6939221..c3de4153 100644 --- a/testsuites/performance/pom.xml +++ b/testsuites/performance/pom.xml @@ -25,7 +25,7 @@ org.onap.policy.pap pap-testsuites - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT pap-performance diff --git a/testsuites/pom.xml b/testsuites/pom.xml index 7099a40a..d054d691 100644 --- a/testsuites/pom.xml +++ b/testsuites/pom.xml @@ -18,19 +18,20 @@ limitations under the License. ============LICENSE_END========================================================= --> - + 4.0.0 org.onap.policy.pap policy-pap - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT pap-testsuites pom - + true diff --git a/testsuites/stability/pom.xml b/testsuites/stability/pom.xml index 94a30a13..7577ab2b 100644 --- a/testsuites/stability/pom.xml +++ b/testsuites/stability/pom.xml @@ -23,7 +23,7 @@ org.onap.policy.pap pap-testsuites - 3.0.0-SNAPSHOT + 3.0.1-SNAPSHOT pap-stability diff --git a/version.properties b/version.properties index 4ba0a9a8..3288dcdc 100644 --- a/version.properties +++ b/version.properties @@ -4,7 +4,7 @@ minor=3 minor=0 -patch=0 +patch=1 base_version=${major}.${minor}.${patch} -- cgit 1.2.3-korg