Skip to content

Spring boot 4 migration#602

Open
StefanHenke wants to merge 16 commits into
mainfrom
spring-boot-4
Open

Spring boot 4 migration#602
StefanHenke wants to merge 16 commits into
mainfrom
spring-boot-4

Conversation

@StefanHenke

@StefanHenke StefanHenke commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

Requires a Spring Boot 4 compatible version of CAP Java and the BTP Security Library which are not yet available on Maven Central.

@StefanHenke StefanHenke added the ☠️ do not merge ☠️ Do not merge PR label Mar 19, 2026
StefanHenke and others added 9 commits April 21, 2026 16:13
Co-authored-by: Markus Ofterdinger <markus.ofterdinger@sap.com>
Replace MockMvc with Spring Boot's RestTestClient and its native
AssertJ integration for cleaner, more readable assertions.
- Use @AutoConfigureRestTestClient instead of @AutoConfigureMockMvc
- Use RestTestClientResponse.from() with assertThat() for fluent
  status and JSON body assertions
- Remove Hamcrest dependencies in favor of AssertJ's .contains() and
  .doesNotContain() via .extractingPath().asString()
- Remove checked exceptions from test methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☠️ do not merge ☠️ Do not merge PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants