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 Jakarta EE 10 Servlet #2362

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Upgrade to Jakarta EE 10 Servlet #2362

merged 1 commit into from
Mar 18, 2024

Conversation

jianglai
Copy link
Collaborator

@jianglai jianglai commented Mar 11, 2024

Upgrade to using Jakarta EE 10 from Java EE 8 by mostly following the upgrade instructions. Only the servlet package is upgrade. Other Jakarta EE components (like the persistence package that Hibernate depends on) need to be upgraded separately.

TESTED=deployed and successfully communicated with the pubapi endpoint for web WHOIS.

Note that this currently requires packaging the App Engine runtime per instructions here due to GoogleCloudPlatform/appengine-java-standard#98. This PR will only be merged when the fix is deployed to App Engine runtime. (https://rapid.corp.google.com/#/release/serverless_runtimes_run_java/java21_20240310_21_0).

Follow up: The fix has been deployed to App Engine and I've tested this PR without packing the App Engine runtime on alpha.


This change is Reviewable

@jianglai jianglai added the WIP Work in progress. Don't review yet. label Mar 11, 2024
@jianglai jianglai changed the title jakarta Upgrade to Jakarta EE 10 Servlet Mar 11, 2024
Copy link
Collaborator Author

@jianglai jianglai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 192 of 207 files at r1, 19 of 19 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jianglai)

@jianglai jianglai added do not merge Do not merge this PR. and removed WIP Work in progress. Don't review yet. labels Mar 11, 2024
@jianglai jianglai requested a review from ptkach March 11, 2024 22:06
@jianglai jianglai force-pushed the jakarta branch 2 times, most recently from c078032 to e9bac06 Compare March 13, 2024 03:57
@jianglai jianglai added do not merge Do not merge this PR. and removed do not merge Do not merge this PR. labels Mar 13, 2024
@jianglai jianglai requested a review from gbrodman March 13, 2024 21:18
Copy link
Collaborator

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 188 of 207 files at r1, 7 of 19 files at r2, 13 of 13 files at r3, 1 of 1 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ptkach)

Copy link
Collaborator

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 11 of 11 files at r5, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ptkach)

@jianglai jianglai added kokoro:force-run Force a Kokoro build. and removed do not merge Do not merge this PR. labels Mar 18, 2024
@domain-registry-eng domain-registry-eng removed the kokoro:force-run Force a Kokoro build. label Mar 18, 2024
Copy link
Collaborator

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 12 of 12 files at r6, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ptkach)

@jianglai jianglai enabled auto-merge March 18, 2024 15:08
Upgrade to using Jakarta EE 10 from Java EE 8 by mostly following the upgrade instructions. Only the servlet package is upgrade. Other Jakarta EE components (like the persistence package that Hibernate depends on) need to be upgraded separately.

TESTED=deployed and successfully communicated with the pubapi endpoint for web WHOIS.

Note that this currently requires packaing the App Engine runtime per instructions here due to GoogleCloudPlatform/appengine-java-standard#98. This PR will only be merged until the fix is deployed to production (https://rapid.corp.google.com/#/release/serverless_runtimes_run_java/java21_20240310_21_0).
Copy link
Collaborator

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r7, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ptkach)

Copy link
Collaborator Author

@jianglai jianglai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ptkach)

@jianglai jianglai added this pull request to the merge queue Mar 18, 2024
Merged via the queue into google:master with commit e7bf74d Mar 18, 2024
9 checks passed
@jianglai jianglai deleted the jakarta branch March 18, 2024 19:01
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.

3 participants