Upgrade to Spring Boot 3.2.12 LTS and Spring Cloud 2023.0.4#6
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Upgrade to Spring Boot 3.2.12 LTS and Spring Cloud 2023.0.4#6devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
- Updated all 7 microservices from Spring Boot 2.7.x to 3.2.12 (latest LTS) - Updated Spring Cloud from 2021.0.8 to 2023.0.4 (compatible with Spring Boot 3.2) - Migrated javax.persistence imports to jakarta.persistence in all entity classes - Migrated javax.transaction imports to jakarta.transaction - Updated Spring Security 6 configuration to use Lambda DSL pattern - Updated GlobalExceptionHandler methods to use HttpStatusCode instead of HttpStatus - Removed deprecated @EnableEurekaClient annotations (auto-enabled in Spring Cloud 2023.0.x) Breaking changes addressed: 1. Jakarta EE 9+ namespace migration (javax → jakarta) 2. Spring Security 6 Lambda DSL for reactive security configuration 3. Spring Framework 6 ResponseEntityExceptionHandler API changes 4. Spring Cloud 2023.0.x auto-configuration improvements All 7 microservices compile and test successfully. Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade to Spring Boot 3.2.12 LTS and Spring Cloud 2023.0.4
Summary
This PR upgrades all 7 banking microservices from Spring Boot 2.7.x to the latest LTS version (3.2.12) and updates Spring Cloud dependencies from 2021.0.8 to 2023.0.4. The upgrade addresses security vulnerabilities in older Spring Boot versions and ensures long-term support.
Key Changes:
javax.persistenceandjavax.transactionimports migrated tojakarta.*namespaceGlobalExceptionHandlerclasses to useHttpStatusCodeinstead ofHttpStatusfor Spring Framework 6 compatibility@EnableEurekaClientannotations (auto-enabled in Spring Cloud 2023.0.x)Services Updated:
All 7 microservices compile successfully and existing tests pass:
Review & Testing Checklist for Human
/api/users/registeris still publicly accessible (permitAll) and other endpoints require authenticationTest Plan Recommendation
Notes