Java 17 Migration
Description:
- Migration from Java 8 to Java 17.
- Unit test fixes with build run args and dependency upgrades.
- For Integration Test - Refactored with Apache's
CloseableHttpClient
which supports all HTTP methods (include PATCH).
How to test:
Via Unit and Integration tests.
Changes include:
-
Breaking change (a change that is not backward-compatible and/or changes current functionality).
Changes in:
-
Common code
Dev Checklist:
-
Added Unit Tests, wherever applicable. -
Updated the Readme, if applicable. -
Existing Tests pass -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.
Other comments:
- Upgraded 'lombok' & 'jacoco' plugin version
- Integration test: Jersey HttpClient to support PATCH method, uses
reflection
logic which will not work in JDK 17. Hence replaced with Apache Apache'sCloseableHttpClient
.