5115 Commits

Author SHA1 Message Date
Moritz Halbritter
2a84fe5760 Merge branch '3.2.x' into 3.3.x
Closes gh-41857
2024-08-14 16:47:52 +02:00
Moritz Halbritter
1d45016d8c Upgrade to spring-javaformat 0.0.43
Closes gh-41853
2024-08-14 16:32:41 +02:00
Scott Frederick
db70aa1a5f Use Spring Boot PEM parser in SAML2 signing auto-configuration
Closes gh-41567
2024-08-13 14:51:44 -05:00
Stéphane Nicoll
24d14743c4 Revert "Adapt to framework change that makes CacheControl immutable"
This reverts commit 7343254090dddec210bb84cd08ce1db5dedc0782 as the
change in Framework has been reverted as well.
2024-08-12 17:50:08 +02:00
Stéphane Nicoll
7343254090 Adapt to framework change that makes CacheControl immutable
See https://github.com/spring-projects/spring-framework/pull/33366
2024-08-12 14:46:37 +02:00
Stéphane Nicoll
a8c10a8989 Start building against Spring Security 6.4.0-M2 snapshots
See gh-41757
2024-08-09 15:20:49 +02:00
Stéphane Nicoll
ccce9af047 Merge branch '3.3.x'
Closes gh-41714
2024-08-07 17:58:14 +02:00
Stéphane Nicoll
8f4ea963d0 Merge branch '3.2.x' into 3.3.x
See gh-41711
2024-08-07 17:57:54 +02:00
Stéphane Nicoll
d5c0e09eca Merge branch '3.2.x' into 3.3.x
See gh-41711
2024-08-07 17:52:07 +02:00
Stéphane Nicoll
1246cab30b Disable Artemis tests on Java 23
Artemis does not work on Java 23, this commit therefore disables those
tests when running against a Java version higher than 22.

See https://issues.apache.org/jira/browse/ARTEMIS-4975

Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:33:17 +02:00
Stéphane Nicoll
a6567c7d47 Disable Infinispan tests on Java 23
Infinispan 14 does not work on Java 23, an upgrade to 15 is required.
This commit therefore disables those tests when running against a Java
version higher than 22.

Unfortunately, the version of JUnit that we use has no value for Java
23, so we have to use OTHER for that purpose.
2024-08-07 17:32:52 +02:00
Moritz Halbritter
4fcd998c4d Fix IntegrationAutoConfigurationTests for Java 21 2024-08-06 11:47:44 +02:00
Moritz Halbritter
abe3ee6831 Merge pull request #41695 from facewise
* pr/41695:
  Make IntegrationTaskSchedulerConfiguration virtual threads aware

Closes gh-41695
2024-08-06 09:33:32 +02:00
facewise
7872d8ab41 Make IntegrationTaskSchedulerConfiguration virtual threads aware
See gh-41695
2024-08-06 09:33:17 +02:00
Stéphane Nicoll
40300908ea Include vendor properties in auto-configured EntityManagerFactoryBuilder
This commit moves the setup of vendor properties (e.g. Hibernate) from
the auto-configured LocalContainerEntityManagerFactoryBean to the
auto-configured EntityManagerFactoryBuilder. This way, custom use of
the latter retains additional auto-configuration logic such as the
naming strategy and DDL mode to use.

Closes gh-15318
2024-08-05 14:10:07 +02:00
Stéphane Nicoll
c7e29b7b1b Polish 2024-08-05 08:36:41 +02:00
Stéphane Nicoll
efaebb1351 Document unsupported Freemarker properties with WebFlux
This commit updates the configuration metadata and the reference guide
to mention that certain FreeMarker features are not available with
WebFlux.

This stems mostly from the fact that the WebFlux integration is not
based on a AbstractTemplateView.

Closes gh-11199
2024-08-02 15:06:35 +02:00
Stéphane Nicoll
a2fafa112f Add support for customizing FreeMarker variables
This commit updates the auto-configuration to allow custom FreeMarker
variables to be provided programmatically. As these variables are
usually objects, they cannot be specified via properties.

Closes gh-8965
2024-08-02 11:52:27 +02:00
Stéphane Nicoll
788417df7f Remove duplicate metadata for Enum default values
See gh-7562
2024-08-01 15:43:22 +02:00
Stéphane Nicoll
518bc69bb7 Merge branch '3.3.x'
Closes gh-41684
2024-08-01 14:56:22 +02:00
Stéphane Nicoll
218e7aa993 Merge branch '3.2.x' into 3.3.x
Closes gh-41683
2024-08-01 14:56:05 +02:00
Stéphane Nicoll
815ab7df94 Add missing default value for Pulsar properties
Closes gh-41682
2024-08-01 14:54:28 +02:00
Andy Wilkinson
d431177f7d Merge branch '3.3.x'
Closes gh-41681
2024-08-01 13:31:44 +01:00
Andy Wilkinson
7f18952d87 Merge branch '3.2.x' into 3.3.x
Closes gh-41678
2024-08-01 13:30:58 +01:00
Andy Wilkinson
f6334ca186 Make reactive Elastic repositories back off without Reactor
Fixes gh-41672
2024-08-01 13:30:14 +01:00
Brian Clozel
1738e0c743 Reply with HTTP 415 for unsupported GraphQL content-type
Prior to this commit, the configured GraphQL routes would reply with an
HTTP 404 status when a POST request is sent with an unsupported content
type, such as "text/plain". While such requests are not supported in the
first place, we should help developers and let them know that the
content type sent is the problem.

This commit configures new routes that reply with HTTP 415 "Unsupported
Media Type" for these cases.

Closes gh-41675
2024-08-01 14:29:45 +02:00
Stéphane Nicoll
97c516a7aa Merge branch '3.3.x'
Closes gh-41673
2024-08-01 13:49:28 +02:00
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