Upgrade and clean up dependencies 85/133085/1
authorliamfallon <liam.fallon@est.tech>
Tue, 31 Jan 2023 10:43:09 +0000 (10:43 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 31 Jan 2023 12:48:56 +0000 (12:48 +0000)
commit1e82ff4b693e2920dfde67cdfc30bf0648f1b097
treef185097810ad6d45f24e26c201e7e3b5b4ed5bd4
parentf1aed94b6821c9a5246023490e6a6d772ba09452
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: Ia61e137f7f7b7807f376d894be05d1c357a86bdd
Signed-off-by: liamfallon <liam.fallon@est.tech>
applications/common/pom.xml
applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java
applications/match/pom.xml
applications/naming/pom.xml
applications/optimization/pom.xml
main/pom.xml
main/src/test/java/org/onap/policy/pdpx/main/CommonRest.java
main/src/test/java/org/onap/policy/pdpx/main/comm/listeners/XacmlPdpUpdateListenerTest.java
main/src/test/java/org/onap/policy/pdpx/main/startstop/TestXacmlPdpActivator.java