Repository navigation
chore(backend): migrate to Spring Boot 3.5 - #549
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t to Boot 3 equivalents - springdoc 2.8, Security 6 header lambdas - New Relic metrics via Micrometer OTLP (replaces the 2022 registry) - httptrace -> httpexchanges Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Increment B7c: Spring Boot 2.7.18 → 3.5.16 (Spring 6.2, Security 6.5, Hibernate 6.6, Tomcat 10.1, Logback 1.5). Closes the open Tomcat/Spring/Security CVEs of the EOL 2.7 line; the interim version overrides are removed.
Two commits:
javax→jakarta, Hibernate 6, Logback 1.5, Flyway/SLF4J now Boot-managed, Ehcache 3.12.0 (jakartaclassifier). The first commit alone does not compile, review them together.springdoc-openapi-starter-webmvc-ui), Security 6 header lambdas,httptrace→httpexchanges, New Relic viaio.micrometer:micrometer-registry-otlp(replacesmicrometer-registry-new-relicandNewRelicConfig.kt).Notable details
ddl-auto: validate), HQL, the native query and id generation (B7a) all pass on Hibernate 6 without mapping changes.RelayDetailsRepositoryTestreused entities across tests; Hibernate 6 refuses to merge a detached entity whose row was deleted. Fresh instances per test.SizeAndTimeBasedRollingPolicyreplacesSizeAndTimeBasedFNATP;%C{1.}→%C{1}; console appender uses an encoder.slf4j-apiis now the Boot-managed 2.x (Logback 1.5 requires it).database-platform(Hibernate 6 auto-detects).NEW_RELIC_INGEST_KEYis set (tests cover both cases). Meter filters (plz_ignore_me,jvm.threads) are kept.Deployment notes
https://otlp.eu01.nr-data.net:4318/v1/metrics(EU region, delta temporality,api-keyheader). Same env varNEW_RELIC_INGEST_KEY. Not verified against a real account: check that metrics (e.g.jvm.memory.used) arrive and that dashboards/alerts still match; names may differ slightly (resource attributehost.nameinstead ofhost).httptraceendpoint is nowhttpexchanges./relay/location/days/→ 404). The frontend does not use them.Verification:
./gradlew teston JDK 17: 71 tests, 0 failures.spring-boot-properties-migratorreported no renamed properties (removed again). Not done: running the built image and a real New Relic export.🤖 Generated with Claude Code