Upgrade and clean up dependencies 86/133086/1
authorliamfallon <liam.fallon@est.tech>
Tue, 31 Jan 2023 10:44:23 +0000 (10:44 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 31 Jan 2023 12:51:53 +0000 (12:51 +0000)
commit340292f47b86b45eb9bd83df948108fc9ba34efd
treed06913aec770c2db3db235fa755f18f75a119bad
parentdeaad0775a0672cbca27d6afba6a642a53dbc971
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: Ibc2097f6d832a893c9e99a01b79121c28ba878ad
Signed-off-by: liamfallon <liam.fallon@est.tech>
16 files changed:
feature-distributed-locking/pom.xml
feature-distributed-locking/src/test/java/org/onap/policy/distributed/locking/DistributedLockManagerTest.java
feature-healthcheck/pom.xml
feature-legacy-config/pom.xml
feature-lifecycle/pom.xml
feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
feature-no-locking/pom.xml
feature-test-transaction/pom.xml
policy-core/pom.xml
policy-domains/pom.xml
policy-management/pom.xml
policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java
policy-management/src/test/java/org/onap/policy/drools/system/PolicyEngineManagerTest.java
policy-management/src/test/java/org/onap/policy/drools/system/internal/FeatureLockImplTest.java
policy-management/src/test/java/org/onap/policy/drools/system/internal/SimpleLockManagerTest.java
policy-utils/pom.xml