Commit Graph

4801 Commits

Author SHA1 Message Date
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
Moritz Halbritter
d98987f11e Merge branch '3.2.x'
Closes gh-40701
2024-05-13 11:31:55 +02:00
Moritz Halbritter
364af04377 Merge branch '3.1.x' into 3.2.x
Closes gh-40700
2024-05-13 11:30:42 +02:00
Yanming Zhou
0e450d602d Use CollectionUtils.isEmpty() and StringUtils.hasLength()
See gh-40645
2024-05-13 11:26:56 +02:00
Andy Wilkinson
53e1c7ed7d Include Kotlin API documentation in the documentation site
Closes gh-40692
2024-05-10 14:56:33 +01:00
Moritz Halbritter
d3e49747b0 Merge branch '3.2.x' 2024-05-02 14:48:37 +02:00
Moritz Halbritter
75dac1435f Merge branch '3.1.x' into 3.2.x 2024-05-02 14:48:04 +02:00
Moritz Halbritter
68a63a7797 Polish 2024-05-02 14:47:53 +02:00
Phillip Webb
ad7ab41742 Merge branch '3.2.x'
Closes gh-40601
2024-05-01 22:57:08 -07:00
Phillip Webb
93728cdfb1 Merge branch '3.1.x' into 3.2.x
Closes gh-40600
2024-05-01 22:55:30 -07:00
Johnny Lim
f0fcc92b49 Remove reassignments for builders in GraphQL auto-configurations
See gh-40590
2024-05-01 22:51:19 -07:00
Scott Frederick
c6c02906ef Merge branch '3.2.x'
Closes gh-40577
2024-04-29 16:43:20 -05:00
Scott Frederick
21a0bc7fee Merge branch '3.1.x' into 3.2.x
Closes gh-40576
2024-04-29 16:42:53 -05:00
Johnny Lim
e2973a90a8 Use ConcurrentHashMap.newKeySet where feasible
See gh-40567
2024-04-29 15:41:37 -05:00
Moritz Halbritter
12cfb1fd2f Merge branch '3.2.x'
Closes gh-40560
2024-04-29 10:04:32 +02:00
Moritz Halbritter
8a3b0cd221 Throw dedicated exception if bundle content is not watchable
This also adds a FailureAnalyzer which prints a helpful message how to
fix that problem.

Closes gh-38903
2024-04-29 09:46:19 +02:00
Andy Wilkinson
aeb5b1ffe3 Merge branch '3.2.x'
Closes gh-40523
2024-04-25 13:45:12 +01:00
Andy Wilkinson
79c3f0335b Merge branch '3.1.x' into 3.2.x
Closes gh-40522
2024-04-25 13:43:03 +01:00
Andy Wilkinson
27418edeb0 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto
Closes gh-40503
2024-04-25 13:39:28 +01:00
Andy Wilkinson
f1d0bcda2f Revert "Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto"
This reverts commit 273f8e20c2.
2024-04-25 12:44:51 +01:00
Andy Wilkinson
273f8e20c2 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto 2024-04-25 12:24:47 +01:00
Scott Frederick
fd010988ef Merge branch '3.2.x'
Closes gh-40479
2024-04-22 14:38:37 -05:00
Scott Frederick
3a9ee9f1a7 Merge branch '3.1.x' into 3.2.x
Closes gh-40478
2024-04-22 14:38:28 -05:00
Scott Frederick
362c0c1b4e Verify alignment of MongoDB UUID representation defaults
Closes gh-33532
2024-04-22 14:38:18 -05:00
Moritz Halbritter
9184448054 Merge branch '3.2.x'
Closes gh-40471
2024-04-22 14:34:48 +02:00
Moritz Halbritter
4b61ae415b Merge branch '3.1.x' into 3.2.x
Closes gh-40470
2024-04-22 14:34:36 +02:00
Moritz Halbritter
5510c6f61b Clarify that all named properties must match for @ConditionalOnProperty to match
Closes gh-40110
2024-04-22 14:27:54 +02:00
Johnny Lim
3c76f81fe3 Polish
See gh-40449
2024-04-22 12:27:49 +01:00
Andy Wilkinson
4118de7f59 Merge branch '3.2.x'
Closes gh-40467
2024-04-22 12:11:04 +01:00
Andy Wilkinson
07bb1878cf Merge branch '3.1.x' into 3.2.x
Closes gh-40466
2024-04-22 12:10:52 +01:00
Andy Wilkinson
34f53d48b9 Polish "Fix handling of Redis nodes with IPv6 addresses"
See gh-39819
2024-04-22 11:51:31 +01:00
Tobias Laatsch
9b326d59fe Fix handling of Redis nodes with IPv6 addresses
See gh-39819
2024-04-22 11:33:09 +01:00
Phillip Webb
6963bd884b Merge branch '3.2.x' 2024-04-18 12:53:26 -07:00
Phillip Webb
38af8cd362 Merge branch '3.1.x' into 3.2.x 2024-04-18 12:52:54 -07:00
Yanming Zhou
6226faa9cd Polishing RabbitAutoConfigurationTests to use kebab-case keys
See gh-40422
2024-04-18 12:51:35 -07:00
Phillip Webb
dc76240612 Polish 2024-04-18 12:50:50 -07:00
Phillip Webb
d243d7eb50 Polish 'Add spring.rabbitmq.template.allowed-list-patterns property'
See gh-40421
2024-04-18 12:48:39 -07:00
Yanming Zhou
c329c5fe5b Add spring.rabbitmq.template.allowed-list-patterns property
Update `RabbitProperties` and `RabbitTemplateConfigurer` to support a
`spring.rabbitmq.template.allowed-list-patterns` property.

The can be used to prevent errors of the form:

	java.lang.SecurityException: Attempt to deserialize unauthorized
	class com.example.domain.Message; add allowed class name patterns
	to the message converter or, if you trust the message orginiator,
	set environment variable 'SPRING_AMQP_DESERIALIZATION_TRUST_ALL'
	or system property 'spring.amqp.deserialization.trust.all' to true

See gh-40421
2024-04-18 12:46:38 -07:00
Yanming Zhou
a52ab774de Configure JpaBaseConfiguration with custom ManagedClassNameFilter
Update `JpaBaseConfiguration` to configure a `ManagedClassNameFilter`
if one is available.

See gh-39813
2024-04-18 12:08:06 -07:00
Chris Bono
08ad7aa444 Add Spring Pulsar transaction support
Adds auto-config for Spring for Apache Pulsar transactions.

Introduces a new `spring.pulsar.transaction.enabled` property
which can be used to enable transactions. This feature is
opt-in and remains disabled by default.

See gh-40189

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-04-17 19:30:58 -07:00
Andy Wilkinson
4fd0375eb1 Adapt tests to addition of new JWT validator in Spring Security
See gh-40230
2024-04-12 12:14:05 +01:00
Andy Wilkinson
12e004f131 Revert "Exclude unwanted javax.inject dependency from Data Couchbase"
This reverts commit 06f5ab162f. The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.

See gh-40200
2024-04-12 11:19:16 +01:00
Brian Clozel
04faec1d3e Add spring.graphql.websocket.keep-alive property
As of spring-projects/spring-graphql#534, Spring for GraphQL supports
the configuration of keep-alive PINGs for WebSocket connections.
This commit auto-configures this value in the `GraphQlWebSocketHandler`
WebFlux and MVC implementations if the
`spring.graphql.websocket.keep-alive` property is configured.

Closes gh-40320
2024-04-11 18:52:00 +02:00
Andy Wilkinson
1ea6f2f51f Revert "Revert "Exclude unwanted javax.inject dependency from Data Couchbase""
This reverts commit 3b76165f4e.

Turns out, the exclude's still needed for now? with Data Couchbase
5.1.x.

See gh-40200
2024-04-11 17:06:03 +01:00
Andy Wilkinson
93c8513a78 Merge branch '3.2.x'
See gh-40224
2024-04-11 16:56:41 +01:00
Andy Wilkinson
7d3ea3f06f Merge branch '3.1.x' into 3.2.x
See gh-40212
2024-04-11 16:56:22 +01:00
Andy Wilkinson
3b76165f4e Revert "Exclude unwanted javax.inject dependency from Data Couchbase"
This reverts commit 06f5ab162f. The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.

See gh-40200
2024-04-11 16:55:24 +01:00
Andy Wilkinson
21bd300e09 Polish "Delay interaction with Lazy CqlSession bean until first usage"
See gh-39948
2024-04-10 18:16:31 +01:00
Christoph Strobl
8343942147 Delay interaction with Lazy CqlSession bean until first usage
Though the CqlSession provided by the CassandraAutoConfiguration can
be lazy, the configuration for Data Cassandra triggers early bean
instantiation. This commit uses new APIs in Data Cassandra to make
use of the intended lazy bean initialization and therefore prevents
the application from failing to start up when Cassandra might not yet
be ready.

See gh-39948
2024-04-10 17:53:53 +01:00
Andy Wilkinson
5166942ce7 Polish "Upgrade to MongoDB 5.0"
See gh-39989
2024-04-09 10:48:53 +01:00
Christoph Strobl
35bc0f9f21 Upgrade to MongoDB 5.0
See gh-39989
2024-04-09 10:44:03 +01:00
Andy Wilkinson
3699bcfb87 Merge branch '3.2.x'
See gh-40224
2024-04-09 09:09:12 +01:00
Andy Wilkinson
3bb7baf90f Merge branch '3.1.x' into 3.2.x
See gh-40212
2024-04-09 09:07:52 +01:00
Andy Wilkinson
06f5ab162f Exclude unwanted javax.inject dependency from Data Couchbase
See gh-40200
2024-04-09 09:07:13 +01:00
Phillip Webb
3ed77ae5f3 Polish 2024-04-04 23:45:21 -07:00
Phillip Webb
f7397b9557 Merge branch '3.2.x' 2024-04-04 23:45:15 -07:00
Phillip Webb
ea52a44e62 Polish 2024-04-04 20:55:52 -07:00
Phillip Webb
f1018ba38a Merge branch '3.1.x' into 3.2.x 2024-04-04 20:36:29 -07:00
Phillip Webb
21f5d375b7 Polish 2024-04-04 20:14:01 -07:00
Moritz Halbritter
e9e2bc94f8 Merge branch '3.2.x'
Closes gh-40169
2024-04-04 13:05:34 +02:00
Moritz Halbritter
fe7501b292 Use named virtual threads for Jetty
Closes gh-40152
2024-04-04 11:44:14 +02:00
Scott Frederick
ad79c373f8 Add SNI support to web server SSL auto-configuration
Properties under `server.ssl.server-name-bundles` and
`management.server.ssl.server-name-bundles` can be used to configure
mappings of host names to SSL bundles to support SNI in embedded web
servers.

Closes gh-26022
2024-03-28 14:12:20 -05:00
Johnny Lim
2b5d0b3f4f Make PropertiesLdapConnectionDetails package-private
See gh-40081
2024-03-26 09:01:01 +01:00
Moritz Halbritter
985918b34a Make configuration properties for Pulsar failover more concise
Closes gh-40077
2024-03-22 13:44:24 +01:00
Moritz Halbritter
649d4be51d Polish "Add property spring.data.jdbc.dialect"
See gh-39941
2024-03-22 11:43:09 +01:00
Jens Schauder
7eb9843e1a Add property spring.data.jdbc.dialect
See gh-39941
2024-03-22 11:39:35 +01:00
Johnny Lim
12b4353e28 Polish
See gh-40034
2024-03-22 11:06:34 +01:00
Scott Frederick
0962025c4b Support loading of base64 encoded values as Resources
An ApplicationResourceLoader has been introduced to support loading
resources using registered ProtocolResolvers. All usages of
DefaultResourceLoader and ResourceUtils have been changed to use
the ApplicationResourceLoader.

A Base64ProtocolResolver has been added to support resources of type
`base64:` that contain base64 encoded values.

Closes gh-36033
2024-03-20 10:40:14 -05:00
Matt Pavlovich
af18a69d54 Use activemq-client instead of transitional activemq-client-jakarta
See gh-40028
2024-03-20 11:02:01 +00:00
Andy Wilkinson
62f922369d Update metadata to reflect property changes made for Flyway 10
See gh-40022
2024-03-19 15:06:04 +00:00
Andy Wilkinson
a65e1018f0 Upgrade to Flyway 10.10
Closes gh-40022
2024-03-19 12:24:47 +00:00
Brian Clozel
e3f8c34b9b Merge branch '3.2.x'
Closes gh-40016
2024-03-19 11:52:27 +01:00
Brian Clozel
c27bb77742 Merge branch '3.1.x' into 3.2.x 2024-03-19 11:38:03 +01:00
Brian Clozel
7eb155d76d Upgrade to GraphQL Java 20.8
Closes gh-40020
2024-03-19 11:36:57 +01:00
Andy Wilkinson
c2adcd7be8 Upgrade to Infinispan 15.0.0.Final
Closes gh-40017
2024-03-19 10:21:50 +00:00
Moritz Halbritter
5c2f64d677 Merge branch '3.2.x'
Closes gh-39961
2024-03-18 11:41:50 +01:00
Moritz Halbritter
09652cb282 Polish "Set virtual thread names for RabbitMQ and Pulsar"
See gh-39958
2024-03-18 11:24:17 +01:00
Maziz
ecda754116 Set virtual thread names for RabbitMQ and Pulsar
See gh-39958
2024-03-18 11:24:10 +01:00
Moritz Halbritter
52eaa7fb3a Revert "Merge pull request #39941 from schauder"
This reverts commit ab5dee819b, reversing
changes made to 24223075eb.
2024-03-15 12:06:27 +01:00
Moritz Halbritter
148c5e8ed5 Polish "Add property spring.data.jdbc.dialect"
See gh-39941
2024-03-15 11:47:35 +01:00
Jens Schauder
b3ddb22f75 Add property spring.data.jdbc.dialect
The class valued property allows to configure a dialect, without relying
on a database connection to determine it.

See gh-39941
2024-03-15 11:40:47 +01:00
Johnny Lim
412b8dd548 Polish
See gh-39910
2024-03-15 11:25:16 +01:00
Chris Bono
ac0d1e0ec6 Re-enable Spring Pulsar interceptor tests
The PulsarTemplate recently replaced its list of ProducerInterceptors
with a list of ProducerBuilderCustomizers that customize the builder by
adding each interceptor to the builder. The PulsarAutoConfigurationTests
previosuly relied on the previous field. This commit adjusts the tests
to instead use the Customizers testing utility to verify the
interceptors.

(cherry picked from commit 9c054a021f)

See gh-39946
2024-03-15 11:00:09 +01:00
Johnny Lim
c5df4e3530 Polish gh-38559
See gh-39931
2024-03-14 10:47:34 +01:00
Chris Bono
9c054a021f Re-enable Spring Pulsar interceptor tests
The PulsarTemplate recently replaced its list of ProducerInterceptors
with a list of ProducerBuilderCustomizers that customize the builder by
adding each interceptor to the builder. The PulsarAutoConfigurationTests
previosuly relied on the previous field. This commit adjusts the tests
to instead use the Customizers testing utility to verify the
interceptors.

See gh-39912
2024-03-13 11:34:55 +01:00
Johnny Lim
d9d305ba3d Delegate getExecutionContextSerializer() to DefaultBatchConfiguration if not provided
See gh-39911
2024-03-12 16:40:20 -05:00
Andy Wilkinson
68ac11c1fc Start building against Spring Pulsar 1.1.0 snapshots
See gh-39898
2024-03-12 10:13:22 +00:00
Andy Wilkinson
25ffa09731 Start building against Spring Kafka 3.2.0 snapshots
See gh-39897
2024-03-12 09:28:29 +00:00