Commit Graph
61949 Commits
Author SHA1 Message Date
Stéphane Nicoll 39bc9e91db Merge pull request #50891 from Chrisg2000
Closes gh-50891

* retrypolicy_timeout:
  Polish "Support timeout option in RetryPolicySettings"
  Support timeout option in RetryPolicySettings
2026-07-28 07:09:28 +02:00
Stéphane Nicoll b77f7fbc93 Polish "Support timeout option in RetryPolicySettings"
See gh-50891
2026-07-28 07:02:39 +02:00
Chris cd791e7246 Support timeout option in RetryPolicySettings
See gh-50891

Signed-off-by: Chris <udo2000@freenet.de>
2026-07-28 06:31:33 +02:00
Stéphane Nicoll e7741bf152 Start building against Spring Framework 7.1.0-M1 snapshots
See gh-51123
2026-07-27 21:16:50 +02:00
Stéphane Nicoll 297ee86945 Polish "Deprecate TestRestTemplate"
See gh-46632
2026-07-27 21:12:35 +02:00
Stéphane Nicoll 9142b18312 Merge pull request #51128 from alessio-attilio
Closes gh-51128

* jetty-graceful-shutdown:
  Polish "Use GracefulHandler for graceful shutdown of Jetty"
  Use GracefulHandler for graceful shutdown of Jetty
2026-07-27 19:55:12 +02:00
Stéphane Nicoll 30f358ab9b Polish "Use GracefulHandler for graceful shutdown of Jetty"
See gh-51128
2026-07-27 19:51:11 +02:00
Alessio Attilio 12eeed09fe Use GracefulHandler for graceful shutdown of Jetty
See gh-51128

Signed-off-by: Alessio Attilio <309061723+alessio-attilio@users.noreply.github.com>
2026-07-27 19:47:20 +02:00
Stéphane Nicoll ccf6767e00 Merge pull request #50899 from TYsewyn
Closes gh-50899

* cache-image-support:
  Polish "Add support for image-based build caches"
  Add support for image-based build caches
2026-07-27 18:29:56 +02:00
Stéphane Nicoll 5bd3e6435c Polish "Add support for image-based build caches"
See gh-50899
2026-07-27 18:22:16 +02:00
Tim Ysewyn a36d078632 Add support for image-based build caches
Added a new image cache option that uses the lifecycle's
`-cache-image` argument for the creator, analyzer, restorer and
exporter phases, so the build cache can be stored in an image and
shared between hosts via an image registry.

Exposed the option in the Maven (`<buildCache><image>`) and Gradle
(`buildCache { image { } }`) plugins.

Reject image caches configured for the launch cache, which the
lifecycle does not support.

See gh-50899

Signed-off-by: Tim Ysewyn <Tim.Ysewyn@me.com>
2026-07-27 18:20:48 +02:00
Brian Clozel c539367ea2 Deprecate TestRestTemplate
Closes gh-46632
2026-07-27 16:55:39 +02:00
Brian Clozel c06abc12ac Replace TestRestTemplate with RestTestClient in module tests
Before deprecating `TestRestTemplate`, we must first stop using it in
module tests and replace it with:
* `RestTestClient` when the Spring MVC infrastructure is present
* `RestClient` when the test does not have Spring MVC on classpath

See gh-46632
2026-07-27 16:13:10 +02:00
Brian Clozel 4daf90ada1 Replace TestRestTemplate with RestTestClient in integration tests
Before deprecating `TestRestTemplate`, we must first stop using it in
integration tests and replace it with:
* `RestTestClient` when the Spring MVC infrastructure is present
* `RestClient` when the test does not have Spring MVC on classpath

See gh-46632
2026-07-27 16:11:46 +02:00
Brian Clozel c7ab67a5c0 Replace TestRestTemplate with RestTestClient in system tests
Before deprecating `TestRestTemplate`, we must first stop using it in
system tests and replace it with:
* `RestTestClient` when the Spring MVC infrastructure is present
* `RestClient` when the test does not have Spring MVC on classpath

See gh-46632
2026-07-27 16:11:06 +02:00
Brian Clozel 2f9933e3cb Replace TestRestTemplate with RestTestClient in smoke tests
Before deprecating `TestRestTemplate`, we must first stop using it in
smoke tests and replace it with:
* `RestTestClient` when the Spring MVC infrastructure is present
* `RestClient` when the test does not have Spring MVC on classpath

See gh-46632
2026-07-27 16:09:12 +02:00
Brian Clozel 2e650ac4a7 Add testing utility for RestTestClient
This commit adds a new `TrustAllTlsRequestFactory` request factory that
can be used in tests for connecting a `RestTestClient` to a TLS endpoint
without checking the certificates validity.

See gh-46632
2026-07-27 16:07:11 +02:00
Stéphane Nicoll 3b225c6f98 Merge branch '4.1.x'
Closes gh-51133
2026-07-27 10:04:20 +02:00
Stéphane Nicoll 4c5ed39cef Merge branch '4.0.x' into 4.1.x
Closes gh-51132
2026-07-27 10:04:09 +02:00
Stéphane Nicoll 39c87d595e Merge pull request #51117 from wantaekchoi
Closes gh-51117

* fix/exported-image-tar-temp-file:
  Polish "Delete temporary file when ExportedImageTar construction fails"
  Delete temporary file when ExportedImageTar construction fails
2026-07-27 10:04:01 +02:00
Stéphane Nicoll e5106ef9e9 Polish "Delete temporary file when ExportedImageTar construction fails"
See gh-51117
2026-07-27 09:57:30 +02:00
wantaek 58a96f9a00 Delete temporary file when ExportedImageTar construction fails
ExportedImageTar creates a temporary file in its constructor and then
copies the exported image into it and builds the layer factory. If
either step throws, the constructor fails before the instance is
assigned, so the try-with-resources statement that uses it never calls
close() and the docker-layers- temporary file is left behind.

Delete the temporary file when the constructor fails so its cleanup
matches close().

See gh-51117

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-27 09:31:38 +02:00
Stéphane Nicoll c731cfd892 Merge branch '4.1.x'
Closes gh-51130
2026-07-26 09:18:55 +02:00
Stéphane Nicoll 5bdc8982c4 Merge branch '4.0.x' into 4.1.x
Closes gh-51129
2026-07-26 09:18:17 +02:00
Stéphane Nicoll 2d896e25ef Merge pull request #51124 from MacAlsandair
Closes gh-51124

* update-httpmessageconverters-docs:
  Document alternative to deprecated HttpMessageConverters
2026-07-26 09:17:54 +02:00
Alexander Makarov 0ddd846424 Document alternative to deprecated HttpMessageConverters
See gh-51124

Signed-off-by: Alexander Makarov <alexander.makarov@nightsong.li>
2026-07-26 09:08:33 +02:00
Stéphane Nicoll 7fe6df88cf Merge branch '4.1.x'
Closes gh-51126
2026-07-25 17:25:28 +02:00
Stéphane Nicoll db7b8a158f Merge pull request #51119 from wantaekchoi
Closes gh-51119

* fix/otlp-logging-transport-metadata-type:
  Fix stale type reference for OTLP logging transport metadata
2026-07-25 17:25:24 +02:00
wantaek 5ebd999dd6 Fix stale type reference for OTLP logging transport metadata
See gh-51119

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-25 17:24:20 +02:00
Stéphane Nicoll 3959c56bdd Deprecate RestTemplate support
With Spring Framework 7.1 deprecating RestTemplate for removal, this
commit deprecates our supporting infrastructure as well, and steers
users towards RestClient instead:

* RestTemplateAutoConfiguration and
  RestTemplateObservationAutoConfiguration
* RestTemplateBuilder, RestTemplateBuilderConfigurer, and
  RestTemplateBuilderClientHttpRequestInitializer
* RestTemplateCustomizer, RestTemplateRequestCustomizer, and
  ObservationRestTemplateCustomizer
* MockRestServiceServerAutoConfiguration,
  MockServerRestTemplateCustomizer, and RootUriRequestExpectationManager
  in the test support module

The reference documentation no longer covers RestTemplate and now
solely documents RestClient and WebClient. Code snippets and sample
tests that only existed to illustrate RestTemplate usage have been
removed accordingly.

Closes gh-51118
2026-07-25 08:32:32 +02:00
Stéphane Nicoll 2a8da4b465 Merge branch '4.1.x' 2026-07-25 07:22:49 +02:00
Stéphane Nicoll bc156310c2 Merge branch '4.0.x' into 4.1.x 2026-07-25 07:22:31 +02:00
Stéphane Nicoll 578aca2b08 Polish "Use RestClient in tests and infrastructure code"
See gh-51120
2026-07-25 07:22:03 +02:00
Stéphane Nicoll 07f80348a5 Polish "Remove APIs that were deprecated for removal in 4.2"
See gh-50955
2026-07-24 15:57:23 +02:00
Stéphane Nicoll d4d503b403 Merge branch '4.1.x' 2026-07-24 15:30:50 +02:00
Stéphane Nicoll 7d677d066a Merge branch '4.0.x' into 4.1.x 2026-07-24 15:30:44 +02:00
Stéphane Nicoll 648e2fb5f9 Polish deprecation message
Unfortunately it is too late to flag HttpMessageConverters for removal
as it would be a breaking change in a patch release.

See gh-46411
2026-07-24 15:26:50 +02:00
Stéphane Nicoll ca67fcb642 Merge branch '4.1.x'
Closes gh-51122
2026-07-24 15:19:38 +02:00
Stéphane Nicoll 9821dade80 Merge branch '4.0.x' into 4.1.x
Closes gh-51121
2026-07-24 15:19:14 +02:00
Stéphane Nicoll b9ebff0084 Use RestClient in tests and infrastructure code
Closes gh-51120
2026-07-24 15:10:43 +02:00
Stéphane Nicoll 1a42db1d78 Merge branch '4.1.x'
Closes gh-51116
2026-07-24 08:52:44 +02:00
Stéphane Nicoll 8adbbd7a70 Merge branch '4.0.x' into 4.1.x
Closes gh-51115
2026-07-24 08:52:37 +02:00
Stéphane Nicoll 6e2bba6915 Merge pull request #51110 from wantaekchoi
Closes gh-51110

* fix/htmlunit-url-metadata-type:
  Fix declared type of spring.test.mockmvc.htmlunit.url
2026-07-24 08:52:33 +02:00
wantaek 8f832b659b Fix declared type of spring.test.mockmvc.htmlunit.url
The manual metadata entry declares java.lang.Boolean while its
description and default value ("http://localhost") describe a URL
string, and MockMvcWebClientAutoConfiguration and
MockMvcWebDriverAutoConfiguration read the property as a string.

See gh-51110

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-24 08:51:46 +02:00
Stéphane Nicoll 6970fa5156 Merge branch '4.1.x'
Closes gh-51114
2026-07-24 08:48:55 +02:00
Stéphane Nicoll 6ae046cf2c Merge branch '4.0.x' into 4.1.x
Closes gh-51113
2026-07-24 08:48:47 +02:00
Stéphane Nicoll f1e1aeac52 Merge pull request #51111 from wantaekchoi
Closes gh-51111

* fix/autoconfigurecache-doc-fqcn:
  Fix package of AutoConfigureCache in caching documentation
2026-07-24 08:48:41 +02:00
wantaek cb6e22eb46 Fix package of AutoConfigureCache in caching documentation
See gh-51111

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-24 08:48:12 +02:00
Stéphane Nicoll abf32590cf Merge branch '4.1.x'
Closes gh-51109
2026-07-23 19:08:57 +02:00
Stéphane Nicoll 45e7f5d76e Merge branch '4.0.x' into 4.1.x
Closes gh-51108
2026-07-23 19:08:45 +02:00