Commit Graph

637 Commits

Author SHA1 Message Date
Phillip Webb c477d3b8b4 Remove support for Spring Session Data MongoDB
Closes gh-47662
2025-10-16 10:38:45 -07:00
Andy Wilkinson b88551a198 Remove Spock integration until it supports Groovy 5
Closes gh-47650
2025-10-16 15:27:35 +01:00
Andy Wilkinson 2d68442939 Remove Jackson auto-config from DataElasticsearchTest
Closes gh-47365
2025-10-16 14:23:21 +01:00
Andy Wilkinson e221bfdd69 Rename Jackson-specific Json… classes to Jackson…
Closes gh-47625
2025-10-16 13:53:17 +01:00
Moritz Halbritter 32e98c4871 Add nullability annotations to tests in module/spring-boot-zipkin
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter b0f503c24c Add nullability annotations to tests in module/spring-boot-webtestclient
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter a7bf5b3e13 Add nullability annotations to tests in module/spring-boot-websocket
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 59aadced88 Add nullability annotations to tests in module/spring-boot-webservices-test
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter ff83723d99 Add nullability annotations to tests in module/spring-boot-webservices
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 9d5c7a15f3 Add nullability annotations to tests in module/spring-boot-webmvc-test
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 73aa73f50d Add nullability annotations to tests in module/spring-boot-webmvc
See gh-47263
2025-10-16 11:24:40 +02:00
Stéphane Nicoll 36c2432f69 Rename 'spring-boot-tx' module to 'spring-boot-transaction'
Closes gh-47603
2025-10-16 09:14:20 +02:00
Stéphane Nicoll 7bfeb7aab9 Polish "Fix binding of spring.mongodb.representation.uuid"
See gh-47654
2025-10-16 09:06:28 +02:00
Johnny Lim a10e4baa9a Fix binding of spring.mongodb.representation.uuid
See gh-47654

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-10-16 09:06:14 +02:00
Stéphane Nicoll 6cebe3aca4 Migrate test to Jackson 3 2025-10-16 08:53:16 +02:00
Jonatan Ivanov c3962e16ed Add support for @ObservationKeyValue
See gh-47637
2025-10-16 08:20:48 +02:00
Phillip Webb 69ca0e13bd Suppress deprecated class warning 2025-10-15 22:35:08 -07:00
Phillip Webb cba4f7ae21 Consistently package mappings and exchanges classes
Mirror the package names used in actuator for classes to support
mappings and exchanges in `spring-boot-servlet`, `spring-boot-webmvc`
and `spring-boot-webflux`.

Closes gh-46217
2025-10-15 15:56:41 -07:00
Phillip Webb 94199a63fa Change 'blocking' term to 'imperative'
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Closes gh-47398
2025-10-15 13:11:10 -07:00
Andy Wilkinson 55e7c83498 Allow modules to contribute to Devtools' default properties
Closes gh-44792
2025-10-15 20:19:02 +01:00
Moritz Halbritter 6db7fa6d46 Add nullability annotations to tests in module/spring-boot-webflux-test
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter 8236fa2f42 Add nullability annotations to tests in module/spring-boot-webflux
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter 969c23f34a Add nullability annotations to tests in module/spring-boot-webclient-test
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter a97975df25 Add nullability annotations to tests in module/spring-boot-webclient
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter 655de9b1c3 Add nullability annotations to tests in module/spring-boot-web-server
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter 866be19024 Add nullability annotations to tests in module/spring-boot-validation
See gh-47263
2025-10-15 16:58:21 +02:00
Moritz Halbritter 885219b24b Add nullability annotations to tests in module/spring-boot-tx
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter 1b59d45621 Add nullability annotations to tests in module/spring-boot-tomcat
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter 5906185fd8 Improve null-safety of module/spring-boot-web-server
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter d849c884e4 Add nullability annotations to tests in module/spring-boot-thymeleaf
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter c629b83146 Add nullability annotations to tests in module/spring-boot-sql
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter 1c4e783f74 Add nullability annotations to tests in module/spring-boot-session-jdbc
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter f8bceead26 Add nullability annotations to tests in module/spring-boot-session-hazelcast
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter 2ff81ebf80 Add nullability annotations to tests in module/spring-boot-session-data-redis
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter e0c74f3b65 Add nullability annotations to tests in module/spring-boot-session-data-mongodb
See gh-47263
2025-10-15 16:58:20 +02:00
Moritz Halbritter 07e9edee7d Add nullability annotations to tests in module/spring-boot-session
See gh-47263
2025-10-15 16:58:19 +02:00
Moritz Halbritter 26d6880998 Add nullability annotations to tests in module/spring-boot-servlet
See gh-47263
2025-10-15 16:58:19 +02:00
Moritz Halbritter 6477657e43 Add nullability annotations to tests in module/spring-boot-sendgrid
See gh-47263
2025-10-15 16:58:19 +02:00
Moritz Halbritter f51018fa29 Add nullability annotations to tests in module/spring-boot-security-test
See gh-47263
2025-10-15 16:58:19 +02:00
Moritz Halbritter 969d1774ed Add nullability annotations to tests in module/spring-boot-security-saml2
See gh-47263
2025-10-15 16:58:19 +02:00
Andy Wilkinson 7224b550a3 Add auto-configuration for Jackson's CBOR data format
Closes gh-47641
2025-10-15 10:34:38 +01:00
Stéphane Nicoll 500d054f52 Polish "Provide explicit order for neo4jObservationCustomizer"
See gh-47626
2025-10-15 08:11:31 +02:00
Dmitriy Tverdiakov 80e842d18c Provide explicit order for neo4jObservationCustomizer
See gh-47626

Signed-off-by: Dmitriy Tverdiakov <dmitriy.tverdiakov@neo4j.com>
2025-10-15 08:07:32 +02:00
Phillip Webb 8f89bd304f Polish code to fix warnings 2025-10-14 21:51:25 -07:00
Phillip Webb 34e0382858 Move actuator heath code to spring-boot-health
Closes gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb 5d21b822ab Remove unnecessary spring-boot-http-converter dependency
Remove unnecessary spring-boot-http-converter dependency from
`spring-boot-actuator`.

See gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb 1bad1b781a Drop unnecessary jsonb dependency from spring-boot-actuator
See gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb 229e9849a6 Drop spring-boot-validation from spring-boot-actuator
Remove the validation dependency since it was only used for tests and
we can wire things up directly instead.

See gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb 03161bcbb8 Move web-server to test fixtures dependency
See gh-46357
2025-10-14 21:51:24 -07:00
Phillip Webb e147ff4b2f Polish 2025-10-14 21:14:06 -07:00
Stéphane Nicoll c3e0e1b93d Upgrade to Tomcat 11.0.13
Closes gh-47589
2025-10-14 17:09:16 +02:00
Stéphane Nicoll 9bd5c1a3c2 Polish "Bind WebTestClient to the default WebHandler"
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
See gh-47617
2025-10-14 11:33:43 +02:00
Moritz Halbritter 285afe2040 Fix checkstyle 2025-10-14 11:09:55 +02:00
Stéphane Nicoll 879b7e6cce Bind WebTestClient to the default WebHandler
Previously, if multiple WebHandler beans were present, the auto-config
for WebTestClient fail to identify a suitable candidate as it expects
to only have such a bean.

This commit updates the logic to look for a well-known bean name that
WebFlux uses, and clarify the exception message to state that a bean
with a given name is expected to be found.

The exception message has been further refined to mention that, if
such a bean is not present, then a MockMVc-compatible ApplicationContext
should be available (i.e. WebApplicationContext).

Closes gh-47617
2025-10-14 11:00:49 +02:00
Phillip Webb ddf26080d6 Rationalize endpoint packages
Use consistent packages for endpoints and endpoint
auto-configuration.

Closes gh-47606
2025-10-13 18:37:59 -07:00
Phillip Webb 80de606c56 Refactor spring-boot-cloudfoundry package structure
Use package structure consistent with other modules.

Closes gh-47605
2025-10-13 18:37:16 -07:00
Phillip Webb 4587c82330 Start building against Spring Security 7.0.0-RC1 snapshots
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
See gh-47499
2025-10-13 15:13:00 -07:00
Moritz Halbritter c03b71ea4e Add nullability annotations to tests in module/spring-boot-security-oauth2-resource-server
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
See gh-47263
2025-10-13 15:15:51 +02:00
Moritz Halbritter b0b5b1b463 Add nullability annotations to tests in module/spring-boot-security-oauth2-client
See gh-47263
2025-10-13 15:15:50 +02:00
Moritz Halbritter 42744bdae9 Add nullability annotations to tests in module/spring-boot-security-oauth2-authorization-server
See gh-47263
2025-10-13 15:15:50 +02:00
Moritz Halbritter cddd8e3dd1 Add nullability annotations to tests in module/spring-boot-security
See gh-47263
2025-10-13 15:15:50 +02:00
Moritz Halbritter 118bf10127 Add nullability annotations to tests in module/spring-boot-rsocket-test
See gh-47263
2025-10-13 13:44:26 +02:00
Moritz Halbritter d0ae20fd94 Add nullability annotations to tests in module/spring-boot-rsocket
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 04aefab683 Add nullability annotations to tests in module/spring-boot-resttestclient
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 56795f944a Improve null-safety of module/spring-boot-resttestclient
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 6806ce5211 Add nullability annotations to tests in module/spring-boot-restdocs
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 558183e0fe Add nullability annotations to tests in module/spring-boot-restclient-test
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter b56d9c6b08 Add nullability annotations to tests in module/spring-boot-restclient
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 3c555a2f89 Add nullability annotations to tests in module/spring-boot-reactor-netty
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 3466271f35 Add nullability annotations to tests in module/spring-boot-reactor
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 190cb51336 Add nullability annotations to tests in module/spring-boot-r2dbc
See gh-47263
2025-10-13 13:44:25 +02:00
Moritz Halbritter 0635094c91 Add nullability annotations to tests in module/spring-boot-quartz
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter d3ad25df8f Add nullability annotations to tests in module/spring-boot-pulsar
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter 7dd6f93e91 Add nullability annotations to tests in module/spring-boot-persistence
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter 05b3f55049 Add nullability annotations to tests in module/spring-boot-opentelemetry
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter d9dd769d36 Improve null-safety of module/spring-boot-opentelemetry
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter 4a5c61a618 Add nullability annotations to tests in module/spring-boot-netty
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter 9217ad48bc Add nullability annotations to tests in module/spring-boot-neo4j
See gh-47263
2025-10-13 13:44:24 +02:00
Moritz Halbritter f9ce5d8e13 Remove superfluous version of jsr305 2025-10-13 13:44:23 +02:00
Moritz Halbritter 45ea5b9071 Add nullability annotations to tests in module/spring-boot-mustache
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter c06f2750f7 Add nullability annotations to tests in module/spring-boot-mongodb
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter a284dec0c1 Improve null-safety of module/spring-boot-mongodb
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter 7c54b1963f Add nullability annotations to tests in module/spring-boot-micrometer-tracing-test
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter d333dec4cb Add nullability annotations to tests in module/spring-boot-micrometer-tracing
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter 0c43462c66 Add nullability annotations to tests in module/spring-boot-micrometer-observation
See gh-47263
2025-10-13 13:44:08 +02:00
Moritz Halbritter 54b663eb69 Add nullability annotations to tests in module/spring-boot-micrometer-metrics-test
See gh-47263
2025-10-13 13:44:07 +02:00
Moritz Halbritter 11d50ae293 Add nullability annotations to tests in module/spring-boot-micrometer-metrics
See gh-47263
2025-10-13 13:44:07 +02:00
Moritz Halbritter 2f877a7415 Add nullability annotations to tests in module/spring-boot-mail
See gh-47263
2025-10-13 13:32:28 +02:00
Stéphane Nicoll 43cda8f54e Polish "Upgrade to Jackson Bom 3.0.0"
Closes gh-47569
2025-10-13 13:01:10 +02:00
Stéphane Nicoll 994ec68901 Upgrade to jOOQ 3.19.27
Closes gh-47573
2025-10-13 11:40:38 +02:00
Stéphane Nicoll e15c7e8e4a Upgrade to Jackson Bom 3.0.0
Closes gh-47569
2025-10-13 11:40:38 +02:00
Andy Wilkinson 52eea3d491 Automatically find and add Jackson modules
Closes gh-47485
2025-10-13 10:25:26 +01:00
Stéphane Nicoll 8cd7c2277f Polish "Start building against Spring Batch 6.0.0-RC1 snapshots"
See gh-47477
2025-10-10 18:20:22 +02:00
Mahmoud Ben Hassine 491019d4fe Start building against Spring Batch 6.0.0-RC1 snapshots
See gh-47477
2025-10-10 17:41:24 +02:00
Andy Wilkinson a502f4db8d Use spring.restdocs as prefix for Spring REST Docs properties
Closes gh-47481
2025-10-10 14:29:48 +01:00
Andy Wilkinson e6e0db04be Polish documentation following relocation of TestRestTemplate
See gh-46356
See gh-47322
2025-10-10 14:29:48 +01:00
Andy Wilkinson 5afbec7033 Correct package in spring-boot-resttestclient to match module name
See gh-46356
See gh-47322
2025-10-10 12:50:48 +01:00
Andy Wilkinson fd2b29d3cc Include checking of AutoConfigure….imports in check lifecycle
See gh-47322
2025-10-10 12:27:24 +01:00
Andy Wilkinson afc8df80d5 Make AutoConfigureRestClient auto-configure JSON
See gh-46356
See gh-47322
2025-10-10 12:13:15 +01:00
Andy Wilkinson 885f90da0c Introduce spring-boot-webclient-test
See gh-46356
See gh-47322
2025-10-10 12:11:43 +01:00
Andy Wilkinson 2a2d3a88d2 Correct imports for AutoConfigureJson
See gh-47322
2025-10-10 09:55:20 +01:00
Andy Wilkinson 6e4b88d850 Add property to configure Jackson 3 with Boot's Jackson 2 defaults
Closes gh-
2025-10-10 09:21:41 +01:00
Andy Wilkinson 630797fa9b Merge branch '3.5.x'
Closes gh-47475
2025-10-10 08:42:21 +01:00
Phillip Webb e01b36216a Revert Support pluggable types for EndpointJsonMapper
Closes gh-46534
2025-10-09 22:48:45 -07:00
Phillip Webb 02b2d03acf Rationalize HTTP client configuration properties
Simplify HTTP client configuration properties by sharing common
settings for both blocking and reactive clients.

The `ClientHttpRequestFactorySettings` and `ClientHttpConnectorSettings`
have been merged to a single `HttpClientSettings` class. Properties
to configure common settings are available under:

	`spring.http.clients`

Blocking and reactive settings have been moved to
`spring.http.clients.blocking` and `spring.http.clients.reactive`. With
currently only the factory/connector being configurable.

HTTP Service Client properties have also been rationalized under a
`spring.http.serviceclient.<group-name>`. Support for properties that
apply to all service clients and all Rest/Web Clients have been removed.

Support for `ApiVerionInserter` beans has also been removed in favor of
configuring the service group or builders directly.

Closes gh-47398
2025-10-09 22:18:53 -07:00
Phillip Webb f4e8cacbcd Polish 2025-10-09 22:17:24 -07:00
Andy Wilkinson 9eb05ebb10 Create spring-boot-resttestclient and spring-boot-webtestclient modules
Create `spring-boot-resttestclient` and `spring-boot-webtestclient`
modules to hold test client auto-configuration and `TestRestTemplate`
code.

Previous these classes were contained in `spring-boot-resetclient-test`
and `spring-boot-webclient-test` which was incorrect since the `-test`
modules should hold code need to test the given modules, not supporting
test classes.

See gh-46356

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-10-09 22:12:39 -07:00
Andy Wilkinson 16d8878cd8 Support embedded web environment with @AutoConfigureWebTestClient
Simplify `WebTestClient` testing support by removing the direct
context customizer in favor of using `@AutoConfigureWebTestClient`.

See gh-46356
2025-10-09 22:11:44 -07:00
Andy Wilkinson 3bf53f8bf5 Introduce @AutoConfigureTestRestTemplate
Add `@AutoConfigureTestRestTemplate` which can be used to
auto-configure a `TestRestTemplate`.

See gh-46356
2025-10-09 22:09:36 -07:00
Andy Wilkinson da74dd92c9 Merge branch '3.5.x'
Closes gh-47439
2025-10-09 10:59:17 +01:00
Stéphane Nicoll 1754e2e909 Merge branch '3.5.x'
Closes gh-47440
2025-10-09 11:41:00 +02:00
Phillip Webb 2196f6da73 Revert "Ignore failing Spring Data JDBC tests"
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
This reverts commit c21293bb24.

Closes gh-47435
2025-10-08 18:20:16 -07:00
Phillip Webb c21293bb24 Ignore failing Spring Data JDBC tests
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
2025-10-08 13:10:17 -07:00
Stéphane Nicoll 6f1bcc4bfa Polish "Add support for Neo4j Java Driver 6.0.0"
See gh-47381
2025-10-07 11:37:25 +02:00
Gerrit Meier 2542430e5b Add support for Neo4j Java Driver 6.0.0
See gh-47381

Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
2025-10-07 11:37:25 +02:00
Stéphane Nicoll 43b06ca9b9 Start building against Spring Data Bom 2025.1.0-RC1 snapshots
See gh-47394
2025-10-07 11:37:12 +02:00
Stéphane Nicoll 7db43ef820 Mark spring-web optional in spring-boot-rsocket
This commit moves the spring-web dependency from implementation to
optional. It also adds an api dependency to spring-web in the rsocket
starter.

The reasoning behind this change is that RSocket can be used without
spring-web, and we want to make sure that consumers of the dependency
can achieve that goal, as they were able to in previous versions.

However, we believe that most RSocket-based applications need spring-web
as, without it, only the simple and not efficient implementation of
RouterMatcher is available. With the addition of exception handling
using ControllerAdvice, this change makes also sure that it works out
of the box with the starter.

Closes gh-47409
2025-10-06 16:31:09 +02:00
Moritz Halbritter d97539bc46 Add nullability annotations to tests in module/spring-boot-data-couchbase-test
See gh-47263
2025-10-06 13:10:55 +02:00
Moritz Halbritter 8c25063273 Add nullability annotations to tests in module/spring-boot-liquibase
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter 489336255a Add nullability annotations to tests in module/spring-boot-ldap
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter fde0ae4ac9 Add nullability annotations to tests in module/spring-boot-kotlin-serialization
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter 643f6112c7 Add nullability annotations to tests in module/spring-boot-kafka
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter 4bf6fcefab Add nullability annotations to tests in module/spring-boot-jsonb
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter 9d85c379bd Add nullability annotations to tests in module/spring-boot-jpa-test
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter 9d63a74bbc Add nullability annotations to tests in module/spring-boot-jpa
See gh-47263
2025-10-06 13:07:58 +02:00
Moritz Halbritter f059a953d3 Add nullability annotations to tests in module/spring-boot-jooq-test
See gh-47263
2025-10-06 13:07:57 +02:00
Moritz Halbritter 1f293cc653 Add nullability annotations to tests in module/spring-boot-jooq
See gh-47263
2025-10-06 13:07:57 +02:00
Moritz Halbritter 49c7546662 Add nullability annotations to tests in module/spring-boot-jms
See gh-47263
2025-10-06 13:07:57 +02:00
Moritz Halbritter c92617a015 Add nullability annotations to tests in module/spring-boot-jetty
See gh-47263
2025-10-06 13:07:57 +02:00
Andy Wilkinson a9bf744b68 Fix Docker test configuration in spring-boot-data-couchbase-test
See gh-47322
2025-10-06 11:38:45 +01:00
Moritz Halbritter b503ad3a9a Add nullability annotations to tests in module/spring-boot-jdbc-test
See gh-47263
2025-10-06 12:03:58 +02:00
Moritz Halbritter a350ead232 Add nullability annotations to tests in module/spring-boot-data-redis-test
See gh-47263
2025-10-06 12:03:58 +02:00
Moritz Halbritter 55a97aa7ad Add nullability annotations to tests in module/spring-boot-data-r2dbc-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 06dd6aec3c Add nullability annotations to tests in module/spring-boot-data-neo4j-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter a1038a5e64 Add nullability annotations to tests in module/spring-boot-data-mongodb-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 99f8c4cd0d Add nullability annotations to tests in module/spring-boot-data-ldap-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 2edd8f9d62 Add nullability annotations to tests in module/spring-boot-data-jpa-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 3353090bc6 Add nullability annotations to tests in module/spring-boot-data-jdbc-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter ad22bc033f Add nullability annotations to tests in module/spring-boot-data-jdbc
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter dee42bfe2d Add nullability annotations to tests in module/spring-boot-data-elasticsearch-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 307dc1c477 Add nullability annotations to tests in module/spring-boot-data-couchbase-test
See gh-47263
2025-10-06 12:03:57 +02:00
Moritz Halbritter 64aad6d060 Add nullability annotations to tests in module/spring-boot-data-cassandra-test
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter 0f41e906b9 Add nullability annotations to tests in module/spring-boot-cache-test
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter c65a259637 Add nullability annotations to tests in module/spring-boot-batch-jdbc
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter e4a58a53d0 Add nullability annotations to tests in module/spring-boot-jdbc
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter 34a8e1bd82 Improve null-safety of module/spring-boot-jdbc
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter af941e0a9a Add nullability annotations to tests in module/spring-boot-jackson
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter 7f225a8df5 Add nullability annotations to tests in module/spring-boot-integration
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter cae3fb578c Add nullability annotations to tests in module/spring-boot-http-converter
See gh-47263
2025-10-06 12:03:56 +02:00
Moritz Halbritter f175d132b3 Add nullability annotations to tests in module/spring-boot-http-codec
See gh-47263
2025-10-06 12:03:55 +02:00