Phillip Webb
36a22fcd59
Unify HTTP client redirect behavior and provide configuration option
...
Update `ClientHttpRequestFactoryBuilder` implementations to ensure
that all libraries have consistent redirect follow behavior. Following
of redirects is enabled by default.
The `ClientHttpRequestFactorySettings` may be used to change if
redirects should be followed. The `spring.http.client.redirects`
property may also be used to update the default behavior.
Closes gh-42879
2024-10-25 02:45:36 -07:00
Phillip Webb
3a8b2e4bc8
Add `HttpClientAutoConfiguration` and use it wherever possible
...
Add a new `HttpClientAutoConfiguration` class that provides
`ClientHttpRequestFactoryBuilder` and `ClientHttpRequestFactorySettings`
beans and new configuration properties.
The existing `RestTemplate`, `RestClient` and `WebServiceTemplate`
auto-configurations have been updated to make use of the new
HTTP client support.
Users may now set `spring.http.client` property to globally change
the `ClientHttpRequestFactory` used in their application.
Closes gh-36266
2024-10-25 02:45:35 -07:00
Phillip Webb
e6b840004d
Support ResourceLoader delegation from ApplicationResourceLoader
...
Update `ApplicationResourceLoader` to support delegation to another
`ResourceLoader`. The update allows customer resource loaders to be
used when loading SSL resources.
Closes gh-42835
2024-10-22 22:07:42 -07:00
Phillip Webb
65fcf34773
Merge branch '3.3.x'
...
Closes gh-42840
2024-10-22 19:23:43 -07:00
Phillip Webb
dcbf0096d8
Use context class loader when watching SSL resource
...
Update `BundleContentProperty` to use a provided resource loader when
watching files.
Fixes gh-42468
2024-10-22 19:22:33 -07:00
Phillip Webb
fdf7ca9093
Merge branch '3.3.x'
...
Closes gh-42839
2024-10-22 18:45:19 -07:00
Phillip Webb
499672184c
Use context class loader when loading auto-configured SSL bundles
...
Update `SslAutoConfiguration` to the `ApplicationContext` class loader
when loading SSL resources. Prior to this commit, the thread context
class loader was used to load resources which could be incorrect.
Specifically, when using a `ForkJoinPool` the thread context classloader
defaults to the JRE `AppClassLoader` which does not include uber jar
content.
The underlying `JksSslStoreBundle` class and `PemSslStore.load(...)`
method have been updated so support using a provided `ResourceLoader`.
Fixes gh-42468
2024-10-22 18:43:57 -07:00
Phillip Webb
61fbb12499
Polish
2024-10-22 16:05:51 -07:00
Andy Wilkinson
e26c6d6403
Recommend using defaultCandidate=false on qualified beans
...
Closes gh-42831
2024-10-22 17:49:23 +01:00
Andy Wilkinson
ea4b53d6ae
Add auto-configuration for an indexed reactive session repository
...
Closes gh-42604
2024-10-22 13:40:53 +01:00
Andy Wilkinson
fc091f7bdd
Introduce @BatchTaskExecutor for customizing Batch's task executor
...
Closes gh-40040
2024-10-22 10:48:34 +01:00
Dmytro Nosan
1796c20017
Add support for ClickHouse in `DatabaseDriver` enum
...
See gh-42815
2024-10-21 20:34:01 -07:00
Tran Ngoc Nhan
fcbf6b0200
Polish
...
See gh-42798
2024-10-21 13:23:42 +02:00
Phillip Webb
2f5f224559
Merge branch '3.3.x'
2024-10-18 10:49:15 -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
f5dba49e79
Merge branch '3.3.x'
...
Closes gh-42790
2024-10-18 15:32:46 +01:00
Andy Wilkinson
7cc03444fb
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42789
2024-10-18 15:32:35 +01:00
Andy Wilkinson
74d13d3a8d
Note that max HTTP request head size semantics are server-specific
...
Closes gh-40798
2024-10-18 15:31:54 +01:00
Moritz Halbritter
44e66ef344
Remove server.tomcat.reject-illegal-header
...
Closes gh-42731
2024-10-17 14:03:00 +02: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
Moritz Halbritter
d8dfe7c1d8
Merge branch '3.3.x'
...
Closes gh-42727
2024-10-17 10:33:31 +02:00
Moritz Halbritter
b203780dcb
Document that Tomcat's maxQueueCapacity need to be greater than 0
...
Closes gh-42726
2024-10-17 10:22:31 +02:00
Phillip Webb
5f84e78854
Add `@author` attribution
...
See gh-42472
2024-10-16 16:44:16 -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
Misagh Moayyed
573ccc5007
Allow common messages to be specified for message sources
...
Extend message source configuration properties and auto-configuration to
support common messages.
See gh-42472
2024-10-16 16:33:42 -07:00
Phillip Webb
465e909974
Merge branch '3.3.x'
2024-10-16 13:09:09 -07:00
Phillip Webb
5732782043
Merge branch '3.2.x' into 3.3.x
2024-10-16 13:08:44 -07:00
Phillip Webb
41ae973d16
Update copyright year of changed files
2024-10-16 13:08:37 -07:00
Phillip Webb
0a6d3f312e
Polish
2024-10-16 13:08:21 -07:00
Stéphane Nicoll
0c0acb4339
Polish "Use RootBeanDefinition if possible"
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
2024-10-15 09:45:28 +02:00
Yanming Zhou
7427304b3d
Use RootBeanDefinition if possible
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
2024-10-15 09:35:56 +02:00
Stéphane Nicoll
13eb3902bf
Merge branch '3.3.x'
...
Closes gh-42684
2024-10-15 09:01:29 +02:00
Stéphane Nicoll
f20d83fd07
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42683
2024-10-15 09:01:21 +02:00
Stéphane Nicoll
55ef77b254
Remove unnecessary call to ex.printStackTrace
...
Closes gh-42681
2024-10-15 09:00:30 +02:00
Stéphane Nicoll
a40ae49a76
Upgrade to Testcontainers 1.20.2
...
Closes gh-42670
2024-10-14 16:25:57 +02:00
Andy Wilkinson
033b4d89bb
fixup! Start building against Spring Authorization Server 1.4.0 snapshots
2024-10-09 19:11:03 +01:00
Andy Wilkinson
2e5bd9fc4a
Start building against Spring Security 6.4.0 snapshots
...
See gh-42568
2024-10-09 19:07:56 +01:00
Andy Wilkinson
11960df595
Start building against Spring Authorization Server 1.4.0 snapshots
...
See gh-42559
2024-10-09 18:49:05 +01:00
Andy Wilkinson
8d0cfdfe5e
Merge branch '3.3.x'
...
Closes gh-42506
2024-10-03 10:23:09 +01:00
Andy Wilkinson
7b4cd03066
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42505
2024-10-03 10:18:17 +01:00
Andy Wilkinson
2328c1fe80
Improve javadoc for when bean type to match is inferred
...
Closes gh-42504
2024-10-03 10:16:27 +01:00
Phillip Webb
58a1b2bea5
Polish 'Add support for 'server.jetty.max-form-key' property'
...
See gh-42448
2024-10-02 21:25:24 -07:00
qingbozhang
6e885c423f
Add support for 'server.jetty.max-form-key' property
...
Add a new 'server.jetty.max-form-key' property that can be used to
configure Jetty's Handler.setMaxFormKeys(...).
See gh-42448
2024-10-02 21:22:56 -07:00
Phillip Webb
90f375ea3e
Dont deduce type for OnBean conditions when annotations are specified
...
Update `OnBeanCondition` to consider the annotations attribute as well
as the types and names when determining if the bean type can be deduced.
Fixes gh-42484
2024-10-02 15:21:30 -07:00
Andy Wilkinson
fae3cd1ca5
Harmonize configuration properties that accept a list of values
...
Closes gh-42478
2024-10-02 10:56:15 +01:00
Andy Wilkinson
842afa4381
Upgrade to Jackson 2.18.0
...
Closes gh-42480
2024-10-01 17:23:25 +01:00
Andy Wilkinson
2f42b9cb29
Merge branch '3.3.x'
...
Closes gh-42491
2024-10-01 17:23:01 +01:00
Andy Wilkinson
26d3b845c5
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42490
2024-10-01 17:22:11 +01:00
Andy Wilkinson
95665a4b28
Fall back to connection details when configuring Rabbit Streams
...
Closes gh-42489
2024-10-01 17:20:49 +01:00
Phillip Webb
89f4a8bc7f
Polish
2024-09-27 10:29:25 -07:00
Moritz Halbritter
a1441804ec
Reapply "Configure virtual threads on Undertow if enabled"
...
This reverts commit 2f99c19f11
.
Closes gh-38819
2024-09-27 12:54:42 +02:00
Johnny Lim
3882dcc2fa
Polish
...
See gh-42457
2024-09-27 12:13:36 +02:00
Dmytro Nosan
e4f6dff77f
Polish HazelcastConnectionDetailsConfiguration
...
See gh-42459
2024-09-27 11:58:32 +02:00
Moritz Halbritter
33def6d6b4
Polish "Add service connection support for Hazelcast"
...
See gh-42416
2024-09-26 16:45:26 +02:00
Dmytro Nosan
cee7439dbe
Add service connection support for Hazelcast
...
See gh-42416
2024-09-26 14:34:12 +02:00
Dmytro Nosan
4a1676d857
Add support for partitioned cookies
...
See gh-42316
2024-09-25 15:58:50 +02:00
Phillip Webb
7b3077280c
Merge branch '3.3.x'
...
Closes gh-42441
2024-09-24 14:32:48 -07:00
Phillip Webb
100bedc07d
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb
ad72411e2b
Apply conventions plugin to all subprojects
...
Closes gh-42438
2024-09-24 14:26:32 -07:00
Andy Wilkinson
6806276b64
Retain jOOQ configuration bean when used defines a DSLContext bean
...
Closes gh-42400
2024-09-23 18:31:46 +01:00
Andy Wilkinson
97ff6e2ef1
Merge branch '3.3.x'
...
Closes gh-42422
2024-09-23 15:24:10 +01:00
Andy Wilkinson
9c6a744fc9
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42421
2024-09-23 15:23:51 +01:00
Andy Wilkinson
2aea7caf36
Remove use of reflection in Artemis connection factory creation
...
Fixes gh-42414
2024-09-23 14:08:35 +01:00
Stéphane Nicoll
e930a963ad
Polish "Add option for configuring max messages per task"
...
See gh-42341
2024-09-19 14:19:01 +02:00
Dmytro Nosan
09b57eff76
Add option for configuring max messages per task
...
See gh-42341
2024-09-19 14:12:24 +02:00
Andy Wilkinson
627c691616
Document the reason for deprecation of clean-on-validation-error
...
See gh-42295
2024-09-19 11:22:08 +01:00
Andy Wilkinson
814369e8b0
Enable graceful shutdown by default
...
Closes gh-37495
2024-09-19 10:58:53 +01:00
Phillip Webb
d7c6589b5e
Make `PulsarContainerFactoryCustomizers` package private
...
See gh-42182
2024-09-18 18:31:40 -07:00
Johnny Lim
a0d1c10d8a
Polish
...
See gh-42340
2024-09-18 11:19:59 +02:00
Stéphane Nicoll
d6bfdbd90e
Upgrade to Flyway 10.18.0
...
Closes gh-42295
2024-09-13 15:18:06 +02:00
Phillip Webb
dab5326f59
Merge branch '3.3.x'
...
Closes gh-42286
2024-09-12 18:44:42 -07:00
Phillip Webb
a405c42006
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42285
2024-09-12 18:43:54 -07:00
Phillip Webb
03e7be3ccf
Document that spring.jmx.enabled is not for third-party libraries
...
Closes gh-42272
2024-09-12 18:35:57 -07:00
Moritz Halbritter
ce01dbbad4
Merge branch '3.3.x'
...
Closes gh-42280
2024-09-12 14:29:59 +02:00
Moritz Halbritter
4e3360560a
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42279
2024-09-12 14:29:49 +02:00
Moritz Halbritter
206c28704f
Put registration id in validation error message
...
Closes gh-42278
2024-09-12 14:19:03 +02:00
Phillip Webb
8628f7334f
Ensure `@AutoConfigureTestDatabase` does not replace test databases
...
Update `@AutoConfigureTestDatabase` support so that by default test
databases are not replaced.
Fixes gh-35253
2024-09-11 21:01:54 -07:00
Andy Wilkinson
ee48e83153
Upgrade to Flyway 10.17.3
...
Closes gh-42218
2024-09-11 11:56:24 +01:00
Stéphane Nicoll
5b25a37a36
Polish "Add Pulsar container factory customizer infrastructure"
...
See gh-42182
2024-09-10 12:22:44 +02:00
Chris Bono
5cbe0e84f9
Add Pulsar container factory customizer infrastructure
...
This commit adds the ability for users to customize the auto-configured
Spring for Apache Pulsar message container factories. Each container
factory holds a set of container properties that is a common target for
users to configure. Allowing the customization of these properties
prevents a rapid increase of configuration properties.
See gh-42182
2024-09-10 12:22:44 +02:00
Phillip Webb
72588fcda7
Provide support for deprecated auto-configuration classes
...
Support `AutoConfiguration.replacements` file that can be placed
alongside an `AutoConfiguration.imports` to replace deprecated
auto-configurations.
Closes gh-14860
2024-09-09 20:06:22 -07:00
Phillip Webb
ddd0d898c2
Polish
2024-09-09 19:22:06 -07:00
Stéphane Nicoll
c591fab618
Merge branch '3.3.x'
...
Closes gh-42191
2024-09-09 15:05:25 +02:00
Stéphane Nicoll
7b6997a9c6
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42190
2024-09-09 15:04:45 +02:00
Stéphane Nicoll
aef56bceb9
Replace RFC 7807 by RFC 9457 in documentation
...
This commit updates all references to RFC 7807 by RFC 9457 since the
former is now obsolete.
Closes gh-41260
2024-09-09 14:59:21 +02:00
Andy Wilkinson
cbc732832b
Use EnableConfigurationProperties to define MessageSourceProperties
...
Closes gh-42181
2024-09-09 11:34:00 +01:00
Stéphane Nicoll
3651ff87cd
Reinstate auto-configuration support for embedded ActiveMQ
...
This commit restores auto-configuration for using an Embedded broker
with ActiveMQ classic.
Contrary to its 2.7.x version, "spring-boot-starter-activemq" no longer
adds the broker for consistency with Artemis, and to keep the existing
3.x behavior. Rather than "inMemory", a "s.a.embedded.enabled"
property has been reintroduced that matches the name used by Artemis.
The documentation has been updated to mention that the broker
dependency must be added to use it.
Closes gh-38404
2024-09-06 11:34:35 +02:00
Andy Wilkinson
ac4c24e450
Polish "Add config prop for Spring Data Web's serialization mode"
...
See gh-39797
2024-09-06 09:41:38 +01:00
Yanming Zhou
81c903cde7
Add config prop for Spring Data Web's serialization mode
...
See gh-39797
2024-09-06 09:41:15 +01:00
Vedran Pavic
4eba42f6dd
Improve Pulsar listener container concurrency configuration
...
This is a follow-up to gh-42062 that utilizes newly introduced
`concurrency` property in `PulsarContainerProperties` to simplify
auto-configuration support for Pulsar listener container concurrency.
See: https://github.com/spring-projects/spring-pulsar/issues/820
See gh-42120
2024-09-05 14:11:26 +01:00
Chris Bono
62ef81b5c8
Add subscription name to Pulsar mapped config props
...
The subscription name config prop was not being set on the Pulsar
listener container properties. This commit adds the subscription
name to the Pulsar property mappers.
See gh-42067
2024-09-05 13:41:07 +01:00
Andy Wilkinson
23ad50ee60
Start building against Spring Pulsar 1.2.0 snapshots
...
See gh-42147
2024-09-04 16:22:10 +01:00
Phillip Webb
b05336d218
Merge branch '3.3.x'
2024-09-03 21:05:05 -07:00
Phillip Webb
599f1f1a9c
Merge branch '3.2.x' into 3.3.x
2024-09-03 21:04:36 -07:00
Phillip Webb
f3645bba13
Update copyright year of changed files
2024-09-03 21:04:26 -07:00
Vedran Pavic
ddf7af7ce3
Add support for configuring Pulsar listener container concurrency
...
Add a configuration property that allows users to configure Pulsar
message listener container concurrency.
See gh-42062
2024-09-03 21:03:27 -07:00
Vedran Pavic
aa40c0fec0
Add support for configuring Pulsar client IO and listener threads
...
Add configuration properties that allow users to configure number
of IO threads and listener threads used by the Pulsar client.
See gh-42052
2024-09-01 20:07:27 -07:00