Skip to content

springtainer-example: Update auf Spring Boot 4.1.X und Java 25 - #3

Open
julian-eggers wants to merge 4 commits into
masterfrom
spring-boot-4-migration
Open

springtainer-example: Update auf Spring Boot 4.1.X und Java 25#3
julian-eggers wants to merge 4 commits into
masterfrom
spring-boot-4-migration

Conversation

@julian-eggers

Copy link
Copy Markdown
Member

Hebt springtainer-example auf Spring Boot 4.1.0 und Java 25. Zielversion 2.0.0-RC1.

Merge-Reihenfolge

Die CI dieses PRs bleibt so lange rot, bis die folgenden Libraries gemergt und released sind - ihre RC-Artefakte liegen bisher nur lokal:

  • springtainer-awss3mock
  • springtainer-elasticsearch
  • springtainer-mockserver
  • springtainer-mongodb
  • springtainer-mysql
  • springtainer-rabbitmq
  • springtainer-redis

Ticket: https://avides.atlassian.net/browse/LIBRARIES-1752
Epic: https://avides.atlassian.net/browse/ITGS-470

Raise spring-boot.version 3.5.16 -> 4.1.0, java.version 21 -> 25 and all
springtainer modules to their new major lines.

Add <proc>full</proc> to maven-compiler-plugin: Lombok is picked up from
the classpath and needs annotation processing enabled explicitly.

Drive Elasticsearch through ElasticsearchClient instead of
spring-data-elasticsearch. Its 6.x line requires an Elasticsearch 9 client,
which cannot talk to the Elasticsearch 8 servers we run: index and get keep
working, but every search fails with NoSuchMethodError on
SearchRequest$Builder.includeNamedQueriesScore. The client is pinned to
8.19.19 on the dependency itself, since a local property does not override
a BOM imported with scope=import.

Move the Mongo connection setting to spring.mongodb.uri. Those settings
live in the spring-boot-mongodb module now; spring.data.mongodb.uri no
longer exists, so the application silently fell back to localhost:27017.
Redis keeps its spring.data.redis.* prefix.

Declare spring-boot-restclient and spring-boot-resttestclient, and annotate
AbstractIT with @AutoConfigureTestRestTemplate: TestRestTemplate moved to
org.springframework.boot.resttestclient and is no longer configured by
@SpringBootTest on its own.
The client follows the Spring Boot BOM again, so Rest5Client replaces the
pinned 8.x RestClient.
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
  • Documentation added or updated?

    • Diff-Links as response added?
      • Not necessary
      • Added
  • Breaking-Change present?

    • Necessary deployment adjustments added as a comment (Ticket)?
      • Not necessary
      • Added
    • Necessary rollback adjustments added as a comment (Ticket)?
      • Not necessary
      • Added

julian-eggers and others added 2 commits August 2, 2026 12:46
The workflow only listens on master. This is reverted by the review-side
autoupdate once the release has gone through.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018DK51mDYaArzg9zFLftpsd
The release candidate is published, so the workflow listens on master
again. These two repositories have no autoupdate step that would have
reverted this on their own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018DK51mDYaArzg9zFLftpsd
@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant