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: Ie004dcc5303e92f6e2c2154967c3537b91868dd5
Signed-off-by: liamfallon <liam.fallon@est.tech>
6 files changed
tree: 39ae72e5bda0170c8e32669fa45bd90e9baf47de
  1. auth/
  2. context/
  3. core/
  4. examples/
  5. model/
  6. packages/
  7. plugins/
  8. releases/
  9. services/
  10. testsuites/
  11. tools/
  12. .gitignore
  13. .gitreview
  14. docker_build.sh
  15. docker_merge.sh
  16. docker_verify.sh
  17. INFO.yaml
  18. LICENSE.txt
  19. pom.xml
  20. README.md
  21. version.properties
README.md

Copyright (C) 2016-2018 Ericsson. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy APEX PDP Engine code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.

To build it using Maven 3, run: mvn clean install