Commit Graph

4888 Commits

Author SHA1 Message Date
Stéphane Nicoll 58ff683a0f Add missing default value for server.error.include-path
Closes gh-41667
2024-08-01 13:43:47 +02:00
Phillip Webb fb72345491 Polish `JsonWriter` API 2024-07-30 13:06:48 +01:00
Andy Wilkinson e201b94d4f Merge branch '3.3.x'
Closes gh-41616
2024-07-25 16:17:52 +01:00
Andy Wilkinson c642f6d268 Merge branch '3.2.x' into 3.3.x
Closes gh-41613
2024-07-25 16:16:35 +01:00
Andy Wilkinson 5f666eec5b Reduce warnings reported by Eclipse
Closes gh-41598
2024-07-25 14:55:00 +01:00
Andy Wilkinson 12ec18fd31 Consider fallback beans when evaluating ConditionalOnSingleCandidate
Closes gh-41580
2024-07-23 18:28:07 +01:00
maxhov 3561ab8300 Allow configuring custom GraphQL argument resolvers
This commit gathers `HandlerMethodArgumentResolver` beans contributed by
the application and sets them up on the auto-configured
`AnnotatedControllerConfigurer` bean.

This allows easier registrationsfor custom argument resolvers in Spring
for GraphQL applications.

Closes gh-40393
2024-07-23 17:32:52 +02:00
Phillip Webb 88480664d7 Polish 2024-07-22 19:59:27 +01:00
Phillip Webb 000600c68a Merge branch '3.3.x' 2024-07-22 18:41:53 +01:00
Andy Wilkinson 64a0cf8275 Merge branch '3.3.x'
Closes gh-41544
2024-07-17 12:26:13 +01:00
Andy Wilkinson 1a6760e21d Polish "Add configuration property to allow multiple issuers"
See gh-41355
2024-07-17 12:03:34 +01:00
shenqicheng b0b97fb1d2 Add configuration property to allow multiple issuers
See gh-41355
2024-07-17 11:59:14 +01:00
Stéphane Nicoll fc2890d1cd Use native connection factory with message listener containers
This commit updates the auto-configuration to use the native connection
factory for configuring message listener containers. Previously, the
connection factory that could have been wrapped in a caching connection
factory was used.

While using a caching connection factory is suitable for sending
messages (i.e. JmsTemplate usage), it isn't for message listeners as
they need to own the connection for local recovery purposes.

Closes gh-39816
2024-07-17 10:41:12 +02:00
Stéphane Nicoll d26ce6cb52 Merge branch '3.3.x' 2024-07-17 09:47:20 +02:00
Stéphane Nicoll f7780b4fef Polish 2024-07-17 09:46:25 +02:00
Andy Wilkinson a61abb0d74 Merge branch '3.3.x'
Closes gh-41522
2024-07-16 12:05:21 +01:00
Andy Wilkinson f062c46154 Merge branch '3.2.x' into 3.3.x
Closes gh-41521
2024-07-16 12:05:02 +01:00
Andy Wilkinson 1cc7498c9a Add property for Integration's default endpoint timeout
Fixes gh-41477
2024-07-16 11:22:27 +01:00
Andy Wilkinson 350a70199c Merge branch '3.3.x'
Closes gh-41519
2024-07-16 08:48:05 +01:00
Andy Wilkinson 754e71d265 Merge branch '3.2.x' into 3.3.x
Closes gh-41518
2024-07-16 08:47:49 +01:00
Andy Wilkinson 17d6f90468 Document types to which format properties apply
Closes gh-41482
2024-07-16 08:47:30 +01:00
Andy Wilkinson fba6f29bc8 Merge branch '3.3.x'
Closes gh-41505
2024-07-15 15:35:47 +01:00
Andy Wilkinson 999d99e655 Merge branch '3.2.x' into 3.3.x
Closes gh-41504
2024-07-15 15:35:31 +01:00
Andy Wilkinson d63e3c3b53 Rethrow failure on main thread
Previously, if a failure occurred when evaluating conditions on a
separate thread, an NPE would occur on the main thread as the
expected array of outcomes was null.

This commit avoids the NPE and the lack of error reporting by
rethrowing on the main thread any failure that occurs on the
separate thread that's spawned to parallelize the evaluation.

Closes gh-41492
2024-07-15 15:09:57 +01:00
Phillip Webb 89f3052f6e Migrate `PulsarPropertiesMapper` to use `JsonWriter`
Closes gh-41490
2024-07-15 11:45:41 +01:00
Brian Clozel c693b2bd8c Add support for webjars-locator-lite
This is a follow-up to spring-projects/spring-framework#27619
This commit adds support for "org.webjars:webjars-locator-lite" for
enabling the statis resources chain.

As of this commit, support for "org.webjars:webjars-locator-core" is
deprecated for obvious performance reasons.

Closes gh-40146
2024-07-12 19:17:17 +02:00
Andy Wilkinson 8676cc6256 Deprecate Gson lenient property and introduce strictness replacement
Closes gh-41430
2024-07-12 10:55:51 +01:00
Andy Wilkinson 870739955b Polish "Group Kafka back-off properties"
See gh-41335
2024-07-11 13:09:39 +01:00
Travis Riegler 14c9893371 Group Kafka back-off properties
Kafka back-off policy properties "delay", "max-delay", "multiplier",
and "random-back-off" are now defined in a common "backoff" group:

- spring.kafka.retry.topic.backoff.delay
- spring.kafka.retry.topic.backoff.maxDelay
- spring.kafka.retry.topic.backoff.multiplier
- spring.kafka.retry.topic.backoff.random

See gh-41335
2024-07-11 13:09:39 +01:00
Andy Wilkinson d07fe47102 Merge branch '3.3.x'
Closes gh-41447
2024-07-11 13:09:26 +01:00
Andy Wilkinson 784c8d2df4 Avoid duplicate junit-platform.properties files caused by Kafka
Gradle doesn't support excluding a dependency that's declared with a
classifier. Instead, this commit replaces the test-qualified
kafka-server-common dependency with the plain dependency. The plain
dependency was already present so this is equivalent to excluding
the test-qualified dependency.

Closes gh-41446
2024-07-11 13:08:58 +01:00
Andy Wilkinson 375b3b16a0 Remove APIs that were deprecated for removal in 3.4.0
Closes gh-41435
2024-07-10 13:31:21 +01:00
Andy Wilkinson 6cb35f7209 Adapt to changes in Oracle Database 23.4.0.24.05
See gh-41147
2024-07-09 18:48:31 +01:00
Andy Wilkinson e55a730ea0 Upgrade to Gson 2.11.0
Closes gh-41407
2024-07-09 16:06:57 +01:00
Andy Wilkinson d96cc210ae Upgrade to Artemis 2.35.0
Closes gh-41400
2024-07-09 16:06:53 +01:00
Johnny Lim 3aee73004a Polish RabbitTemplateConfigurer allowed-list-patterns
Closes gh-41349
2024-07-08 15:35:48 -05:00
Johnny Lim 97956165dc Polish RabbitTemplateConfigurer allowed-list-patterns
See gh-41323
2024-07-08 15:24:30 -05:00
Moritz Halbritter cf2b08b8a6 Polish "Add SslBundle support to MailSender"
See gh-40037
2024-07-04 15:42:24 +02:00
Rui Figueira e7424eacf8 Add SslBundle support to MailSender
See gh-40037
2024-07-04 15:13:15 +02:00
Stéphane Nicoll 156237227c Migrate MockMvc tests to MockMvcTester
See gh-41198
2024-07-03 15:09:10 +02:00
Moritz Halbritter 7c3576bda8 Polish "Add ProxyConnectionFactoryCustomizer"
See gh-40555
2024-06-28 14:41:04 +02:00
Andy Wilkinson 1dfb4c9719 Polish "Add a customizer for Lettuce's ClientOptions"
See gh-40484
2024-06-27 16:37:44 +01:00
임수현 c517664f08 Add a customizer for Lettuce's ClientOptions
See gh-40484
2024-06-27 16:29:36 +01:00
Andy Wilkinson 7e04ac2967 Polish "Make it easier to override RequestToViewNameTranslator bean"
See gh-40874
2024-06-27 15:29:37 +01:00
rohit patidar 062ed4ba2b Make it easier to override RequestToViewNameTranslator bean
See gh-40874
2024-06-27 15:17:49 +01:00
Andy Wilkinson 5b7365b63b Merge branch '3.3.x'
Closes gh-41258
2024-06-27 10:25:32 +01:00
Andy Wilkinson b0d4f1d356 Merge branch '3.2.x' into 3.3.x
Closes gh-41257
2024-06-27 10:16:36 +01:00
Andy Wilkinson 654016af7f Move Docker-related test support into a separate module
See gh-41228
2024-06-26 19:47:35 +01:00
Andy Wilkinson 9f166f2c85 Update spring-boot-autoconfigure to use docker-test plugin
See gh-41228
2024-06-26 19:46:33 +01:00
Andy Wilkinson 0ad5aa7400 Enable customization of properties used to create JCache CacheManager
Closes gh-39350
2024-06-24 15:07:31 +01:00
Andy Wilkinson 5920b27b57 Upgrade to Flyway 10.15.0
Closes gh-41217
2024-06-24 14:39:23 +01:00
Andy Wilkinson 6bdba8e69e Revert "Enable customization of properties used to create JCache CacheManager"
This reverts commit 622c9ed882 that was
pushed accidentally.
2024-06-24 12:03:23 +01:00
Andy Wilkinson 94336ab314 Merge branch '3.3.x'
Closes gh-41215
2024-06-24 11:52:03 +01:00
Andy Wilkinson adb9747652 Merge branch '3.2.x' into 3.3.x
Closes gh-41214
2024-06-24 11:51:48 +01:00
Andy Wilkinson b8927ebd90 Create ActiveMQConnectionFactory without using reflection
Fixes gh-41212
2024-06-24 11:51:31 +01:00
Andy Wilkinson 622c9ed882 Enable customization of properties used to create JCache CacheManager 2024-06-24 09:32:56 +01:00
Moritz Halbritter 6aeab4461e Polish "Auto-configure SpringLiquibase with Liquibase Customizer"
See gh-40986
2024-06-21 12:57:25 +02:00
Ahmed Ashour 32f509c0c4 Auto-configure SpringLiquibase with Liquibase Customizer
See gh-40986
2024-06-21 11:51:24 +02:00
Stéphane Nicoll fe4c34d226 Adapt test to include MappingJackson2CborHttpMessageConverter
See spring-projects/spring-framework#32428

See gh-41177
2024-06-20 20:18:08 +01:00
Stéphane Nicoll 2053e13c09 Adapt to new Placeholder resolution API
See gh-41177
2024-06-20 20:18:07 +01:00
Moritz Halbritter e7ffeb3dc9 Use Tomcat's new setter for max queue size
Closes gh-41093
Closes gh-40957
Closes gh-40945
2024-06-20 08:39:03 +02:00
Phillip Webb 9dda006a18 Merge branch '3.2.x' 2024-06-19 22:55:00 -07:00
Phillip Webb 2a4582b084 Update copyright year of changed files 2024-06-19 22:54:40 -07:00
Phillip Webb 905d6b96d0 Merge branch '3.2.x'
Closes gh-41166
2024-06-19 22:30:58 -07:00
Andy Wilkinson 491f34d25c Improve container test code
Replace `DockerImageNames` with a enum and relocate it from the
`testcontainers` to `container` package. The enum now also
becomes a common location that we can use to apply container
configuration such as timeouts.

Closes gh-41164

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-06-19 20:10:03 -07:00
Phillip Webb 8a9feb0bb6 Merge branch '3.2.x'
Closes gh-41141
2024-06-17 16:51:53 -07:00
Phillip Webb 60b7e6cf23 Allow 'status' and 'error' to be excluded from error response
Update `ErrorAttributeOptions` to allow the `status` and `error`
fields to be excluded from the response without throwing a
NullPointerException.

Fixes gh-30011
2024-06-17 16:48:28 -07:00
Moritz Halbritter 76e2009bd8 Merge branch '3.2.x'
Closes gh-41084
2024-06-12 11:12:07 +02:00
Moritz Halbritter fed13b0e0c Back off if DataSource is not on the classpath
Closes gh-41082
2024-06-12 11:02:51 +02:00
Phillip Webb 147240aa0c Merge branch '3.2.x'
Closes gh-41080
2024-06-11 13:32:30 -07:00
Phillip Webb bcbcafaab2 Polish "Use method references when possible in test code"
See gh-40974
2024-06-11 12:58:04 -07:00
Ahmed Ashour 207327d97c Use method references when possible in test code
See gh-40974
2024-06-11 12:58:00 -07:00
Phillip Webb dcccb3b2b1 Polish "Use method references when possible"
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour 507229eef8 Use method references when possible
See gh-40974
2024-06-11 12:57:55 -07:00
Phillip Webb 255bcc28e6 Merge branch '3.2.x'
Closes gh-41077
2024-06-11 10:48:52 -07:00
Phillip Webb ecc9a2352d Polish "Use constructor rather than Collection.addAll"
See gh-41053
2024-06-11 10:02:27 -07:00
Piyal Ahmed 17adcfc180 Use constructor rather than Collection.addAll
See gh-41053
2024-06-11 09:39:45 -07:00
Phillip Webb d37098153c Polish 2024-06-11 09:35:59 -07:00
Scott Frederick fa131fa6a0 Merge branch '3.2.x'
Closes gh-40959
2024-05-30 15:16:27 -05:00
Ahmed Ashour f000af6a12 Remove unused parameter and polish javadoc
See gh-40955
2024-05-30 14:42:46 -05:00
Andy Wilkinson 087789bda3 Merge branch '3.2.x'
Closes gh-40953
2024-05-30 08:05:09 +01:00
Andy Wilkinson 211bf95f45 Revert "Adapt to Spring Data Neo4j now requiring a transaction manager"
This reverts commit b6467ed826. Changes
in Spring Data Neo4j mean that these changes are no longer necessary.
They also caused a problem with multiple transaction managers being
present when mixing Neo4j and, say, Data JPA.

Closes gh-40895
2024-05-30 08:00:11 +01:00
Andy Wilkinson 10e23b8f35 Polish "Fix Flyway 10 in a GraalVM native image"
See gh-40821
2024-05-29 14:21:17 +01:00
Maziz 345edb1301 Fix Flyway 10 in a GraalVM native image
See gh-40821
2024-05-29 14:18:10 +01:00
Phillip Webb 82d8222f56 Polish 2024-05-24 18:10:03 -07:00
Moritz Halbritter 3858a33162 Merge branch '3.2.x'
Closes gh-40869
2024-05-22 13:49:35 +02:00
Chris Bono 7a7bcd07da Encode JSON string in Pulsar auth params
The values in the `spring.pulsar.client.authentication.param`
config props map are not currently JSON encoded. For simple
values this is fine. However, some custom auth modules may
require more complex parameter values that may contain special
characters that results in invalid JSON. This commmit encodes
the parameter values using a very simple hand-rolled escape
function.

See gh-40493
2024-05-22 13:49:05 +02:00
Andy Wilkinson da4c2db3a7 Ensure default mime mappings are applied
Fixes gh-40860
2024-05-22 12:19:31 +01:00
Piyal Ahmed 21df3ff1de Fix typo in Neo4jReactiveDataAutoConfiguration class
See gh-40836
2024-05-22 11:22:46 +02:00
Andy Wilkinson fa074196d3 Merge branch '3.2.x'
Closes gh-40851
2024-05-21 10:44:41 +01:00
Andy Wilkinson a894879085 Use DefaultDbRefResolver whenever MongoDatabaseFactory is available
Fixes gh-39405
2024-05-21 10:29:39 +01:00
Andy Wilkinson 63515012d8 Merge branch '3.2.x'
Closes gh-40850
2024-05-21 10:29:12 +01:00
Andy Wilkinson 823cc90b46 Merge branch '3.1.x' into 3.2.x
Closes gh-40849
2024-05-21 10:28:59 +01:00
Andy Wilkinson f692fb1471 Ensure that Hazelcast binds to localhost for client tests
Closes gh-40848
2024-05-21 10:28:49 +01:00
Andy Wilkinson a40ecafe36 Merge branch '3.2.x'
Closes gh-40839
2024-05-20 15:55:16 +01:00
Andy Wilkinson b718e5806f Merge branch '3.1.x' into 3.2.x
Closes gh-40838
2024-05-20 15:55:00 +01:00
Andy Wilkinson 1d91757061 Document that HttpMessageConverters can be used for reordering/removal
Closes gh-40767
2024-05-20 15:54:12 +01:00
Andy Wilkinson e752295dca Merge branch '3.2.x'
Closes gh-40831
2024-05-20 10:15:18 +01:00
Andy Wilkinson 75976713fe Polish "Fix typo in CertificateMatchingTestSource class"
See gh-40822
2024-05-20 10:14:45 +01:00
Piyal Ahmed 092e921433 Fix typo in CertificateMatchingTestSource class
See gh-40822
2024-05-20 10:13:39 +01:00