From 6763c4b787593fa0a11668971ba2cb5cc87ad4c5 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 31 Jan 2023 10:42:20 +0000 Subject: Upgrade and clean up dependencies - Upgrade Hibernate - Upgrade Mockito - Upgrade Mockserver - Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils - Upgrade Spring Framework - Add spring-security to allow authentication on unit tests using MockMVC Minor clean-up - Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean - Change @LocalPort include on tests to use test include rather than runtime include - Remove unused imports - Remove unused constants and variables - Add deprecation annotations where required Issue-ID: POLICY-4482 Change-Id: Ifcabd73e4130810ba2a99b842ffa4203836c0682 Signed-off-by: liamfallon --- main/pom.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'main/pom.xml') diff --git a/main/pom.xml b/main/pom.xml index 6d6407e0..1250cdce 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -1,6 +1,6 @@ - + 4.0.0 org.onap.policy.pap @@ -94,8 +93,18 @@ test - org.powermock - powermock-api-mockito2 + org.mockito + mockito-core + test + + + org.springframework + spring-test + test + + + org.springframework.security + spring-security-test test -- cgit 1.2.3-korg