Upgrade to Spring Boot 3.3.13 and Spring Cloud 2023.0.6#14
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Upgrade to Spring Boot 3.3.13 and Spring Cloud 2023.0.6#14devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
- Upgraded all 7 microservices from Spring Boot 2.7.x to 3.3.13 - Updated Spring Cloud from 2021.0.8 to 2023.0.6 for Boot 3 compatibility - Migrated all javax.persistence.* imports to jakarta.persistence.* - Migrated javax.transaction.* imports to jakarta.transaction.* - Removed deprecated @EnableEurekaClient annotations from API-Gateway, User-Service, and Transaction-Service - Updated GlobalExceptionHandler in User-Service, Account-Service, and Fund-Transfer to use HttpStatusCode instead of HttpStatus - Replaced Apache Commons IOUtils with Java standard library (Reader.transferTo) in all FeignClientErrorDecoder classes - Removed unnecessary javax.ws.rs exclusion from User-Service pom.xml All services compile successfully and tests pass for Service-Registry, Sequence-Generator, and API-Gateway. 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.3.13 and Spring Cloud 2023.0.6
Summary
Upgraded all 7 microservices from Spring Boot 2.7.x to Spring Boot 3.3.13 with compatible Spring Cloud 2023.0.6. This is a major version upgrade that includes mandatory breaking changes for Spring Boot 3 compatibility:
Version Changes:
Breaking Changes Addressed:
javax.persistence.*→jakarta.persistence.*(JPA entities)javax.transaction.*→jakarta.transaction.*(transaction annotations)GlobalExceptionHandlerto useHttpStatusCodeinstead ofHttpStatusin method signatures (Spring Boot 3 API change)@EnableEurekaClientannotations (auto-configuration replaces this in Spring Cloud 2022.x+)Reader.transferTo()(dependency was dropped in Boot 3)javax.ws.rsexclusion from User-ServiceServices Modified:
Review & Testing Checklist for Human
@EnableEurekaClient(should auto-configure)IOUtils.toString()→Reader.transferTo()change in FeignClientErrorDecoder needs verification with actual error responses from inter-service callsTest Plan Recommendation
Notes
Link to Devin run: https://app.devin.ai/sessions/8ecde93625564f258f04e2d54c7657a2
Requested by: Sam Fertig (@samfert-codeium)