Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to JDK 17 and spring-framework 6.0 #295

Merged
merged 12 commits into from
Mar 30, 2023
Merged

Upgrade to JDK 17 and spring-framework 6.0 #295

merged 12 commits into from
Mar 30, 2023

Conversation

tloubrieu-jpl
Copy link
Member

🗒️ Summary

For the upgrade to JDK 17 and spring-framework 6.0:

  • upgrade to springdoc 2
  • upgrade to spring-boot 3
  • switch dependencies on javax. to jakarta. packages

As part of an attempt to make the dependency injection on HttpServletRequest work, before I understood we need to switch from javax. objects to jakarta. objects, I moved the dependency injection on HttpServletRequest from the controller to URIParameters, ErrorMessageFactory and the BusinessObject sent in response. Although these changes are not mandatory I figure the could improve the readibility of the code and I kept them.

⚙️ Test Data and/or Report

Use docker compose in registry repository.

Create a docker development image with command:

mvn spring-boot:build-image

It will be used by docker compose.

♻️ Related Issues

@alexdunnjpl
Copy link
Contributor

alexdunnjpl commented Mar 22, 2023

@tloubrieu-jpl the tests' Github Action will need to be updated to use Java 17 too, to confirm that the branch is passing

@tloubrieu-jpl
Copy link
Member Author

@alexdunnjpl I made the upgrade of jdk version in the github actions. Thanks for that feedback.

@tloubrieu-jpl tloubrieu-jpl merged commit 0753e48 into main Mar 30, 2023
@tloubrieu-jpl tloubrieu-jpl deleted the jdk_17 branch March 30, 2023 22:14
@tloubrieu-jpl
Copy link
Member Author

tloubrieu-jpl commented Mar 30, 2023

Reviewed during breakout today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate to jdk 17 *Critical OSS Vulnerability:* spring-web@5.3.20
2 participants