4179 Commits

Author SHA1 Message Date
Phillip Webb
2208c67f22 Add 'Global HTTP Client Configuration' reference docs section
Update documentation with information on how to configure the HTTP
client globally.

Closes gh-42888
2024-10-25 18:06:47 -07:00
Phillip Webb
a92001130f Deprecate ClientHttpRequestFactories
Deprecate `ClientHttpRequestFactories` and refactor its internals to
delegate to the new `ClientHttpRequestFactoryBuilder` interface.

Closes gh-36266
2024-10-25 02:45:35 -07:00
Phillip Webb
6356e904fc Update web services support to use ClientHttpRequestFactoryBuilder
Add a new `WebServiceMessageSenderFactory` factory interface to replace
`HttpWebServiceMessageSenderBuilder`. The factory provides a general
purpose way of creating `WebServiceMessageSender` instances, but most
typically will be `ClientHttpRequestMessageSender` created from a
`ClientHttpRequestFactoryBuilder`.

A new `httpMessageSenderFactory` method has been added to the
`WebServiceTemplateBuilder` class. This allows any sender to be
plugged into the template.

Closes gh-42886
2024-10-25 02:45:35 -07:00
Phillip Webb
0a4ac283d0 Rename RestTemplateBuilder 'set' methods
Rename `RestTemplateBuilder` methods for consistency:

* `setConnectTimeout` -> `connectTimeout`
* `setReadTimeout` -> `readTimeout`
* `setSslBundle` -> `sslBundle`

Closes gh-42884
2024-10-25 02:45:35 -07:00
Andy Wilkinson
924c807182 Merge branch '3.3.x'
Closes gh-42869
2024-10-24 09:28:51 +01:00
Andy Wilkinson
2bf3e5ab20 Document that embedded Tomcat must be 10.1.25 or later
Closes gh-42849
2024-10-24 09:28:18 +01:00
Stéphane Nicoll
27e8f14c31 Polish "Add container support for ClickHouse"
See gh-42837
2024-10-23 18:15:43 +02:00
Eddú Meléndez
d9dfb0389e Add container support for ClickHouse
See gh-42837
2024-10-23 13:54:58 +02:00
Andy Wilkinson
e26c6d6403 Recommend using defaultCandidate=false on qualified beans
Closes gh-42831
2024-10-22 17:49:23 +01:00
Andy Wilkinson
fc091f7bdd Introduce @BatchTaskExecutor for customizing Batch's task executor
Closes gh-40040
2024-10-22 10:48:34 +01:00
Moritz Halbritter
b16b452131 Merge branch '3.3.x'
Closes gh-42806
2024-10-21 11:02:31 +02:00
Moritz Halbritter
cd98aba680 Merge branch '3.2.x' into 3.3.x
Closes gh-42805
2024-10-21 11:02:21 +02:00
Moritz Halbritter
2bbdc53222 Fix systemd example configuration
Closes gh-42795
2024-10-21 10:43:34 +02:00
Phillip Webb
2f5f224559 Merge branch '3.3.x' 2024-10-18 10:49:15 -07:00
Phillip Webb
223886ff37 Merge branch '3.2.x' into 3.3.x 2024-10-18 10:48:51 -07:00
Phillip Webb
3481107ff7 Update copyright year of changed files 2024-10-18 10:48:29 -07:00
Phillip Webb
168d82e138 Polish 2024-10-18 10:47:52 -07:00
Andy Wilkinson
f153e557ca Merge branch '3.3.x'
Closes gh-42788
2024-10-18 15:19:59 +01:00
Andy Wilkinson
0fbaf8f1c2 Merge branch '3.2.x' into 3.3.x
Closes gh-42787
2024-10-18 15:19:45 +01:00
Andy Wilkinson
788fe6120f Clarify why @Primary is recommended when defining custom ObjectMapper
Closes gh-42598
2024-10-18 15:19:14 +01:00
Andy Wilkinson
68ed4b1d4f Add support for Reactor Netty to ClientHttpRequestFactories
Closes gh-42587
2024-10-18 10:34:28 +01:00
Stéphane Nicoll
c9e548b23b Link to Framework's docs about @Bean's autowiring exclusion
Closes gh-42586
2024-10-18 11:14:31 +02:00
Moritz Halbritter
ba1a780147 Merge branch '3.3.x'
Closes gh-42774
2024-10-17 18:06:43 +02:00
Moritz Halbritter
73150b799a Merge branch '3.2.x' into 3.3.x
Closes gh-42772
2024-10-17 17:58:11 +02:00
Moritz Halbritter
ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Andy Wilkinson
25082d33e7 Provide more control over access to endpoint operations
This commit reworks the support for enabling and disabling endpoints,
replacing the on/off support that it provided with a finer-grained
access model that supports only allowing read-only access to endpoint
operations in addition to disabling an endpoint (access of none) and
fully enabling it (access of unrestricted).

The following properties are deprecated:

- management.endpoints.enabled-by-default
- management.endpoint.<id>.enabled

Their replacements are:

- management.endpoints.access.default
- management.endpoint.<id>.access

Similarly, the enableByDefault attribute on @Endpoint has been
deprecated with a new defaultAccess attribute replacing it.

Additionally, a new property has been introduced that allows an
operator to control the level of access to Actuator endpoints
that is permitted:

- management.endpoints.access.max-permitted

This property caps any access that may has been configured for
an endpoint. For example, if
management.endpoints.access.max-permitted is set to read-only and
management.endpoint.loggers.access is set to unrestricted, only
read-only access to the loggers endpoint will be allowed.

Closes gh-39046
2024-10-17 13:56:44 +01:00
Moritz Halbritter
c018c43886 Merge branch '3.3.x'
Closes gh-42736
2024-10-17 13:44:25 +02:00
Moritz Halbritter
8efe6e02d9 Merge branch '3.2.x' into 3.3.x
Closes gh-42735
2024-10-17 13:38:03 +02:00
Moritz Halbritter
a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Yanming Zhou
87cc2efb64 Strengthen package-like assertions
See gh-42682
2024-10-16 16:52:13 -07:00
Phillip Webb
98dd7b2758 Merge branch '3.3.x'
Closes gh-42722
2024-10-16 16:51:18 -07:00
Phillip Webb
476d575371 Merge branch '3.2.x' into 3.3.x
Closes gh-42723
2024-10-16 16:50:55 -07:00
Lee SangMin
497bdb8fee Remove dead "Converting a jar to a war" guide link
See gh-42691
2024-10-16 16:50:09 -07:00
Phillip Webb
06569af789 Polish 'Allow common messages to be specified for message sources'
See gh-42472
2024-10-16 16:42:07 -07:00
Phillip Webb
d9668672f8 Merge branch '3.3.x'
Closes gh-42721
2024-10-16 14:14:50 -07:00
Tran Ngoc Nhan
6be4a07e05 Fix typos and formatting errors in documentation
See gh-42718
2024-10-16 14:14:16 -07:00
Phillip Webb
d5e1520d12 Merge branch '3.3.x' 2024-10-16 12:39:57 -07:00
Phillip Webb
e2819a2150 Merge branch '3.2.x' into 3.3.x 2024-10-16 12:39:40 -07:00
Phillip Webb
a4473b97aa Polish 2024-10-16 12:38:34 -07:00
Phillip Webb
3908943fa1 Merge branch '3.3.x'
Closes gh-42703
2024-10-15 17:52:26 -07:00
Phillip Webb
89793a84e5 Fix case used for examples in "Sanitize Sensitive Values"
Closes gh-42702
2024-10-15 17:52:12 -07:00
Stéphane Nicoll
a40ae49a76 Upgrade to Testcontainers 1.20.2
Closes gh-42670
2024-10-14 16:25:57 +02:00
Moritz Halbritter
c36d5297d2 Merge branch '3.3.x'
Closes gh-42673
2024-10-14 15:54:59 +02:00
Moritz Halbritter
4d29800e32 Merge branch '3.2.x' into 3.3.x
Closes gh-42672
2024-10-14 15:54:37 +02:00
Moritz Halbritter
0a3418cd40 Document how Map properties are bound from environment variables
Closes gh-40936
2024-10-14 15:47:47 +02:00
Moritz Halbritter
d4adfea157 Merge branch '3.3.x'
Closes gh-42644
2024-10-14 13:38:42 +02:00
Moritz Halbritter
53e9cb873f Merge branch '3.2.x' into 3.3.x
Closes gh-42643
2024-10-14 13:36:44 +02:00
Moritz Halbritter
1ad959215c Improve classpath index documentation for reproducible builds
Closes gh-41265
2024-10-14 13:31:00 +02:00
Moritz Halbritter
6daf007e85 Merge branch '3.3.x'
Closes gh-42630
2024-10-14 12:09:55 +02:00
Moritz Halbritter
89bf2fc7e6 Move "Customize the whitelabel Error Page" into Spring MVC howto
Closes gh-41624
2024-10-14 12:08:31 +02:00