Commit Graph

3 Commits

Author SHA1 Message Date
Andy Wilkinson 5a4ecfe087 Break cycle in spring-boot-data-* modules
There was a cycle in the spring-boot-data-* modules.

SpringDataWebAutoConfiguration (which sits at the spring-data-commons
level) referenced RepositoryRestMvcAutoConfiguration (which sits
at the spring-data-rest level). This dependency's expressed in the
wrong direction as data-rest depends on data-commons. The resulting
cycle was not noticable as it was expressed through a String afterName
attribute on `@AutoConfiguration`.

spring-boot-data-commons was also using spring-boot-data-jpa for its
tests, which also results in an inverted dependency relationship.

This commit reworks things so that all of the spring-boot-data-*
modules depend upon spring-boot-data-commons, mirroring the
dependency relationship in Spring Data. The integration tests in
spring-boot-data-commons have been reworked to use Spring Data
directly, avoiding the need for a circular from
spring-boot-data-commons to another spring-boot-data-* module.

Issue: 46071
2025-06-30 16:57:38 -07:00
Phillip Webb 3adbe1df3e Move R2DBC Docker Compose support into spring-boot-r2dbc
Issue: 46094
2025-06-30 16:57:32 -07:00
Stéphane Nicoll ab842a9701 Create spring-boot-data-r2dbc module
Issue: 46129
2025-06-27 15:06:17 -07:00