Upgrade Spring Boot 2.2.6 -> 3.4.1 (Java 17)#23
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Upgrade Spring Boot 2.2.6 -> 3.4.1 (Java 17)#23devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: david.bean <david.bean@cognition.ai>
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.
Summary
Major version upgrade of the
monolithmodule from Spring Boot2.2.6.RELEASEto3.4.1, the latest stable 3.x. This pulls in Spring Framework 6, Hibernate 6.6, and Jakarta EE, all managed transitively via the parent BOM.mvn clean installpasses with all 7 existing tests green on Java 17.monolith/pom.xml2.2.6.RELEASE→3.4.1;java.version11→17spring-boot-starter-validation(validation is no longer bundled with-websince Boot 2.3, and the entities/DTOs usejakarta.validationconstraints)org.apache.httpcomponents:httpclient(4.x) →org.apache.httpcomponents.client5:httpclient5(5.x, version managed by the Boot 3 BOM; the old 4.x artifact is no longer in the BOM)Jakarta EE namespace migration (
javax.*→jakarta.*) across all entities/DTOs:javax.persistence.*→jakarta.persistence.*javax.validation.*→jakarta.validation.*Apache HttpClient 4 → 5 in
SplitTheMonolithApplication:The
RestTemplatebean wiring is unchanged — Spring 6'sHttpComponentsClientHttpRequestFactoryaccepts the HttpClient 5CloseableHttpClient.Not needed: no Spring Security config, no
spring.factories, nospring.redis.*/spring.elasticsearch.*/Actuator properties to rename.application.propertiesonly containedspring.jpa.open-in-view,server.port, and app-specific keys, all still valid in 3.x.README technologies line updated to "Java 17, Spring Boot 3.x".
Link to Devin session: https://app.devin.ai/sessions/6e501b21ad1f48b08cd9fe0229179a8f
Requested by: @davidbean-hash
Devin Review