From 38f611322eaa05e9da82a370c959c5816eb17df7 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 31 Jan 2023 09:21:40 +0000 Subject: [PATCH] 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 unitests 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: I5229379037ec773d31a1adc21d5533ca3e1fb93d Signed-off-by: liamfallon --- integration/pom.xml | 46 ++++++++++++++++++---------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/integration/pom.xml b/integration/pom.xml index cf6b6afb..d57e45ff 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2018 Ericsson. All rights reserved. Modifications Copyright (C) 2018-2023 AT&T. All rights reserved. - Modifications Copyright (C) 2019-2022 Nordix Foundation. + Modifications Copyright (C) 2019-2023 Nordix Foundation. Modifications Copyright (C) 2020-2022 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -60,8 +60,7 @@ 1.7 2.10 2.1.214 - 5.4.31.Final - + 5.6.14.Final 4.4.16 2.9.2 1.10.2 @@ -88,25 +87,22 @@ 3.1.0 1.1.1 1.10.19 - 3.7.7 - - 5.14.0 + 5.1.0 + 5.15.0 4.1.85.Final 1.2.1-oss 1.3.0-oss 0.9.1 3.5.0 42.5.1 - 2.0.9 2.0.0 4.0.1 1.7.30 1.33 - 5.3.22 - + 5.3.25 + 5.8.1 2.7.8 - 1.6.13 3.0.36 2.2.7 @@ -712,24 +708,6 @@ ${version.mockito-all} test - - org.powermock - powermock-core - ${version.powermock} - test - - - org.powermock - powermock-api-mockito2 - ${version.powermock} - test - - - org.powermock - powermock-module-junit4 - ${version.powermock} - test - org.mockito mockito-core @@ -835,6 +813,18 @@ spring-webflux ${version.spring} + + org.springframework + spring-test + ${version.spring} + test + + + org.springframework.security + spring-security-test + ${version.spring-security} + test + org.springframework.boot -- 2.16.6