-
Notifications
You must be signed in to change notification settings - Fork 0
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 SpringBoot 2 to SpringBoot 3 (javax -> jakarta) #1
Conversation
… contain attributes (getAttributes() = null)
# Conflicts: # hhn-helpdesk-backend/pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Snorzze
thanks for the pull-request. I have added some comments / suggestions.
- What do you think about adding a GitHub actions workflow to automatically test the (Java-related) changes? We can also add it at a later point
- Currently, the unit tests are failing if the project is build locally. I guess, it needs some adjustments for the Spring-Test Context to exclude OIDC-related beans from discovery.
hhn-helpdesk-backend/src/main/java/de/hhn/rz/rest/UserInfoEndpoint.java
Outdated
Show resolved
Hide resolved
hhn-helpdesk-backend/src/main/java/de/hhn/rz/security/SecurityConfiguration.java
Outdated
Show resolved
Hide resolved
hhn-helpdesk-backend/src/main/java/de/hhn/rz/security/SecurityConfiguration.java
Outdated
Show resolved
Hide resolved
hhn-helpdesk-backend/src/main/java/de/hhn/rz/security/SecurityConfiguration.java
Outdated
Show resolved
Hide resolved
hhn-helpdesk-backend/src/main/java/de/hhn/rz/services/AuditLogService.java
Outdated
Show resolved
Hide resolved
hhn-helpdesk-backend/src/test/java/de/hhn/rz/utilities/HibernateUtil.java
Show resolved
Hide resolved
I will do a step-by-step testing of the |
Tests are fine now. GH actions proof ;-) |
Ready to merge @rzo1 please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it locally with the instructions provided and it worked. I have some minor nits regarding clarity of the instruction, which I just fixed myself. LGTM!
Major Upgrade from Spring Boot 2 --> 3.
Currently, WIP because README with instructions is not finished yet (testing needed). But the upgrade is done.
Important
When deploying this, all generated password letters will be invalidated because of the security bug fixed earlier.