Commit Graph

4454 Commits (0ffdfeee42a78107a6340eca22bbad50f6577679)

Author SHA1 Message Date
Andy Wilkinson 6c3c8398d0 Upgrade to Elasticsearch Client 8.9.0
Closes gh-36886
1 year ago
Andy Wilkinson 3c7d400f0d Merge branch '3.1.x'
Closes gh-36866
1 year ago
Andy Wilkinson cac157b2a6 Merge branch '3.0.x' into 3.1.x
Closes gh-36865
1 year ago
Andy Wilkinson 7c77668372 Merge branch '2.7.x' into 3.0.x
Closes gh-36864
1 year ago
Andy Wilkinson c1f2efe00c Document that spring.security.filter properties are Servlet-only
Closes gh-33551
1 year ago
Moritz Halbritter 5b00d5f89b Auto-configure SimpleAsyncTaskScheduler when virtual threads are enabled
This auto-configures a new SimpleAsyncTaskSchedulerBuilder bean in the
context. This bean is configured to use virtual threads, if enabled.

SimpleAsyncTaskSchedulerCustomizers can be used to customize the built
SimpleAsyncTaskScheduler.

If virtual threads are enabled, the application task scheduler is
configured to be a SimpleAsyncTaskScheduler.

Adds a new configuration property spring.task.scheduling.simple
.concurrency-limit

Closes gh-36609
1 year ago
Stephane Nicoll 38dbc644ae Add auto-configuration for JdbcClient
Closes gh-36579
1 year ago
Moritz Halbritter b5a48e926d Handle timeout of latch await in tests 1 year ago
Moritz Halbritter 62fb45f75f Replace contains/put/get pattern with computeIfAbsent 1 year ago
Moritz Halbritter 7bb337aeb1 Polish tests 1 year ago
Moritz Halbritter ed9169501e Polish 1 year ago
Stephane Nicoll acf6bb644a Merge branch '3.1.x'
Closes gh-36773
1 year ago
Stephane Nicoll 10fecc855c Merge branch '3.0.x' into 3.1.x
Closes gh-36772
1 year ago
Stephane Nicoll e7706b4201 Merge branch '2.7.x' into 3.0.x
Closes gh-36771
1 year ago
Stephane Nicoll 5e11bac1da Polish "Configure ActiveMQConnectionFactory properly without spring-jms"
See gh-36767
1 year ago
Eddú Meléndez bcfaad2cb8 Configure ActiveMQConnectionFactory properly without spring-jms
Previously, if spring-jms is not available and a non-pool connection
factory is requested (the default), no `CachingConnectionFactory` is
created. This commit makes sure to separate the two conditions, so
that a connection factory can be obtained even if spring-jms is not
on the classpath.

See gh-36767
1 year ago
Moritz Halbritter 1a8b8ce26e Revert "Revise synchronized blocks"
This reverts commit 497bbf9c2d.
1 year ago
Moritz Halbritter d93d05ade2 Revert "Use virtual threads in BackgroundPreinitializer if enabled"
This reverts commit 4bbc336321.
1 year ago
Marc Becker 36e31c0612 Add resource hints for MessageSource
This only registers the default locations, not the one users can provide
via 'spring.messages.basename'.

This is similar to the approach taken for schema.sql and data.sql
in class SqlInitializationScriptsRuntimeHints.

See gh-36682
1 year ago
Andy Wilkinson 8ce5fb5f06 Merge branch '3.1.x'
Closes gh-36701
1 year ago
Andy Wilkinson 664581eb90 Merge branch '3.0.x' into 3.1.x
Closes gh-36700
1 year ago
Andy Wilkinson c6dc505932 Auto-configure JsonpMapper even with user-defined transport
Closes gh-36698
1 year ago
Moritz Halbritter 4bbc336321 Use virtual threads in BackgroundPreinitializer if enabled
Closes gh-36695
1 year ago
Andy Wilkinson 48813a0e5b Merge branch '3.1.x'
Closes gh-36697
1 year ago
Andy Wilkinson 12a2c615a9 Merge branch '3.0.x' into 3.1.x
Closes gh-36696
1 year ago
Andy Wilkinson 803c155e69 Order default customizers so that they can be overridden
Closes gh-36674
1 year ago
Moritz Halbritter 497bbf9c2d Revise synchronized blocks
- Replace synchronized with Lock when guarding long-running operations
- Remove unnecessary synchronization in FileSystemWatcher
- Replace HashMap with ConcurrentHashMap in Restarter
- Remove unnecessary locking on AtomicBoolean in
  SpringApplicationBuilder
- Remove unnecessary locking in SimpleFormatter

Closes gh-36670
1 year ago
Andy Wilkinson 77e382ec64 Polish "Add support for using an AuthTokenManager with Neo4j"
See gh-36650
1 year ago
Michael Simons 1f0a3901b2 Add support for using an AuthTokenManager with Neo4j
Neo4j Java driver introduced support for an `AuthTokenManager` that can
be used to define expiring tokens for authentication with a database.

This commit adds an `ObjectProvider<AuthTokenManager> authTokenManagers`
parameter to the corresponding auto configuration class. If the provider
resolves to a unique object, that `AuthTokenManager` will have precedence
over any static token.

See gh-36650
1 year ago
Stephane Nicoll a223834d57 Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
See gh-36288
1 year ago
Maurice Zeijen 9955ee7e8a Order auto-configured ProblemDetailsExceptionHandler beans
Add `@Order(0)` to the WebMVC and Webflux
`ProblemDetailsExceptionHandler` beans. This makes it easier to create
custom `@ControllerAdvice` beans that must be ordered before or after
the `ProblemDetailsExceptionHandler`.

See gh-36288
1 year ago
Moritz Halbritter 3a9fadf30f Enable virtual threads for Kafka listener
Closes gh-36396
1 year ago
Scott Frederick f2ad08c292 Add since version to deprecated config properties
See gh-36482
1 year ago
Andy Wilkinson 806aa45279 Merge branch '3.1.x'
Closes gh-36661
1 year ago
Andy Wilkinson 0d646d7c26 Polish "Support ServiceConnection beans in slice tests"
See gh-36037
1 year ago
Stephane Nicoll 75bb862255 Remove dead code 1 year ago
Moritz Halbritter 19859a9023 Simplify TaskExecutionAutoConfiguration 1 year ago
Moritz Halbritter 4ba7463d75 Polish 1 year ago
Moritz Halbritter 51008a7d39 Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
Closes gh-36651
1 year ago
Stephane Nicoll 922f66a85d Merge branch '3.1.x'
Closes gh-36654
1 year ago
Michael Simons ef3b99ee51 Fix test declaration in Neo4jAutoConfigurationTests
The test was annotated `@Bean`, must be `@Test`.

See gh-36649
1 year ago
Moritz Halbritter e4c38e59a9 Implement SimpleAsyncTaskExecutorBuilder
The SimpleAsyncTaskExecutorBuilder can be used to create
SimpleAsyncTaskExecutor. It will be auto-configured into the context.
SimpleAsyncTaskExecutorCustomizer can be used to customize the built
SimpleAsyncTaskExecutor.

If virtual threads are enabled:
- SimpleAsyncTaskExecutor will use virtual threads
- SimpleAsyncTaskExecutorBuilder will be used as the application task
  executor

A new property 'spring.task.execution.simple.concurrency-limit' has been
added to control the concurrency limit of the SimpleAsyncTaskExecutor

Closes gh-35711
1 year ago
Moritz Halbritter 32c91af440 Add ThreadPoolTaskExecutorBuilder and deprecate TaskExecutorBuilder
Closes gh-36637
1 year ago
Moritz Halbritter 1347b998e6 Remove @ConditionalOnVirtualThreads
See gh-36624
See gh-35892
1 year ago
Moritz Halbritter 9e212875c3 Remove VirtualThreads bean
Reverts eeb1e1fc35

See gh-36615
See gh-36387
1 year ago
Moritz Halbritter bf48819222 Implement @ConditionalOnThreading
Closes gh-36624
1 year ago
Moritz Halbritter b1a3dad16c Configure virtual threads on the RabbitMQ listener
Closes gh-36387
1 year ago
Moritz Halbritter eeb1e1fc35 Add VirtualThreads bean and auto-configuration
This bean is only in the context if virtual threads are enabled. It can
be used to get access to the virtual thread executor.
1 year ago
Moritz Halbritter 3cc9a3bb32 Remove duplicate applicationTaskExecutor bean method
See gh-35710
1 year ago
Moritz Halbritter 39f6b85039 Polish 1 year ago
Moritz Halbritter 9cb5763794 Add property to set changeConsumerThreadName for Kafka
Closes gh-36343
1 year ago
Moritz Halbritter 49ae8c0998 Auto-configure Kafka's threadNameSupplier
Closes gh-36344
1 year ago
Stephane Nicoll b0438b0f03 Polish "Allow custom RSocket WebsocketServerSpecs to be defined"
See gh-29567
1 year ago
Leo Li f840141652 Allow custom RSocket WebsocketServerSpecs to be defined
See gh-29567
1 year ago
Stephane Nicoll 54066791f9 Polish "Add RabbitMQ container forceStop property"
See gh-36539
1 year ago
Gary Russell 8b716a2f6c Add RabbitMQ container forceStop property
See gh-36539
1 year ago
Johnny Lim 96c9915f12 Polish
See gh-36565
1 year ago
Andy Wilkinson b476d368db Polish "Make HikariDataSource participate in checkpoint-restore"
See gh-36422
1 year ago
Christoph Strobl 9240f971fb Make HikariDataSource participate in checkpoint-restore
See gh-36422
1 year ago
Andy Wilkinson 14d2675aab Add `@ConditionalOnCheckpointRestore`
Closes gh-36536
1 year ago
Moritz Halbritter 6050fff078 Auto-configure observability for R2DBC
The new ConnectionFactoryDecorator can be used to decorate the
ConnectionFactory built by the ConnectionFactoryBuilder.

The new R2dbcObservationAutoConfiguration configures a
ConnectionFactoryDecorator to attach a ObservationProxyExecutionListener
to ConnectionFactories. This enables Micrometer Observations for R2DBC
queries.

Closes gh-33768
1 year ago
Stephane Nicoll d04daf9184 Merge branch '3.1.x'
Closes gh-36533
1 year ago
Stephane Nicoll a607056b98 Merge branch '3.0.x' into 3.1.x
Closes gh-36532
1 year ago
Stephane Nicoll 259fac57a9 Merge branch '2.7.x' into 3.0.x
Closes gh-36531
1 year ago
Stephane Nicoll 854c162966 Polish "Fail fast if job name does not exist"
See gh-36060
1 year ago
Akshay Dubey c38cd74542 Fail fast if job name does not exist
See gh-36060
1 year ago
Stephane Nicoll 740ed18fa7 Merge branch '3.1.x'
Closes gh-36530
1 year ago
Stephane Nicoll 89066b4d1e Merge branch '3.0.x' into 3.1.x
Closes gh-36529
1 year ago
Stephane Nicoll 73cc54ad34 Prevent PostConstruct to be used in production code
Closes gh-36528
1 year ago
Christoph Dreis 343c9c6f7e Remove references to Atomikos and Bitronix
See gh-35562
1 year ago
Andy Wilkinson 290ef3ccf6 Merge branch '3.1.x'
Closes gh-36493
1 year ago
Andy Wilkinson c38bca04c4 Merge branch '3.0.x' into 3.1.x
Closes gh-36492
1 year ago
Andy Wilkinson 6a2a3e2b26 Merge branch '2.7.x' into 3.0.x
Closes gh-36491
1 year ago
Andy Wilkinson 5a0f1bbe9b Polish "Correct description of overrides for spring.redis.url"
See gh-36477
1 year ago
Johnny Lim 1effd3723f Correct description of overrides for spring.redis.url
See gh-36477
1 year ago
Andy Wilkinson 3affb3342e Deprecate auto-configuration for InfluxDB
Closes gh-35190
1 year ago
Stephane Nicoll 311fa6272d Polish "Add service connection for Testcontainers ActiveMQ"
This also adds support for Docker Compose.

See gh-35080
1 year ago
Eddú Meléndez 63121dd08a Add service connection for Testcontainers ActiveMQ
See gh-35080
1 year ago
Moritz Halbritter 54e99d68fa Auto-configure ObservationRegistry on ScheduledTaskRegistrar
The TaskSchedulingAutoConfiguration.taskScheduler auto-configuration now
no longer backs off on SchedulingConfigurer beans.

Closes gh-36119
1 year ago
Andy Wilkinson e0d021b710 Merge branch '3.1.x'
Closes gh-36446
1 year ago
Andy Wilkinson fe123e5b10 Fix handling of additional-hosts with Mongo
Closes gh-36441
1 year ago
Andy Wilkinson 283dc37db3 Make AnnotatedControllerConfigurer use applicationTaskExecutor
Closes gh-36388
1 year ago
Stephane Nicoll c6e47b86d7 Move Flyway configuration extension properties to dedicated namespace
This commit harmonizes the handling of ConfigurationExtension for
Flyway. The existing Oracle and SQLServer extensions are now mapped from
flway.oracle and flyway.sqlserver, respectively. The existing properties
have been deprecated in favor of the new location.

Closes gh-36444
1 year ago
Stephane Nicoll 8da706603e Add support for flyway.postgresql.transactional.lock
Closes gh-32629
1 year ago
Stephane Nicoll 71406977c2 Harmonize configuration of Flyway SQL Server extension
Closes gh-36440
1 year ago
Stephane Nicoll fb640c04e7 Upgrade to Flyway 9.20.1
Closes gh-36364

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
1 year ago
Andy Wilkinson d205d10519 Configure WebFlux's blocking execution to use applicationTaskExecutor
Closes gh-36331
1 year ago
Stephane Nicoll c19a0a76c0 Merge branch '3.1.x'
Closes gh-36421
1 year ago
Johnny Lim 9b38db6672 Polish PemSslBundleProperties
See gh-36281
1 year ago
Andy Wilkinson f33874e98e Allow auto-configured applicationTaskExecutor to use virtual threads
With this commit, when virtual threads are enabled, the auto-configured
applicationTaskExecutor changes from a ThreadPoolTaskExecutor to a
SimpleAsyncTaskExecutor with virtual threads enabled.

As before, any TaskDecorator bean is applied to the auto-configured
executor and the spring.task.execution.thread-name-prefix property is
applied. Other spring.task.execution.* properties are ignored as they
are specific to a pool-based executor.

Closes gh-35710
1 year ago
Stephane Nicoll 783bfb62e2 Merge branch '3.1.x'
Closes gh-36420
1 year ago
Stephane Nicoll d2912c6442 Update copyright year of changed files
See gh-36306
1 year ago
Christoph Dreis 8321887d6a Fix typos
See gh-36306
1 year ago
Andy Wilkinson f2a50919a9 Merge branch '3.1.x'
Closes gh-36410
1 year ago
Andy Wilkinson 3f4474031f Merge branch '3.0.x' into 3.1.x
Closes gh-36409
1 year ago
Pengfei-Lu 8697d9ddd5 Correct conditions on auto-configured JacksonJsonpMapper
See gh-36109

Signed-off-by: Pengfei-Lu <459360594@qq.com>
1 year ago
Andy Wilkinson 07be2990a2 Merge branch '3.1.x'
Closes gh-36294
1 year ago
Andy Wilkinson 0d06747b41 Fix problem with @ and : chars in Mongo username and password
Fixes gh-36261
1 year ago
Andy Wilkinson 3b90919313 Polish RestClient auto-config and tests
For consistency, replace webClient and WebClient with restClient and
RestClient. This also address a bean name clash between
RestClientAutoConfiguration's RestClient.Builder bean and
WebClientAutoConfiguration's WebClient.Builder bean that were both
previously named webClientBuilder.
1 year ago
Spencer Gibb 89880a773c Add RestClientAutoConfiguration to AutoConfiguration.imports
See gh-36249
1 year ago
Phillip Webb cfdc173e34 Add RestClient SSL support
Add `RestClientSsl` support class to help apply an `SslBundle` to a
`RestClient.Builder`.

See gh-36213
1 year ago
Phillip Webb 5e01c66552 Add RestClient HttpMessageConverters support
Update `RestClientAutoConfiguration` to apply `HttpMessageConverters`
configuration.

See gh-36213
1 year ago
Phillip Webb 2d2f050262 Polish 'Add initial support for RestClient'
See gh-36213
1 year ago
Arjen Poutsma a1a5acf128 Add initial support for RestClient
Introduce initial support for Spring Framework's `RestClient`, in the
form of a `RestClientCustomizer` and `RestClientAutoConfiguration`.

See gh-36213
1 year ago
Andy Wilkinson 4feaa28fd1 Polish "Support custom token validators for OAuth2"
See gh-35874
1 year ago
Roman Golovin 7500dab321 Support custom token validators for OAuth2
See gh-35874
1 year ago
Andy Wilkinson ce8253ea95 Merge branch '3.1.x'
Closes gh-36238
1 year ago
Andy Wilkinson c9f8d92656 Merge branch '3.0.x' into 3.1.x
Closes gh-36237
1 year ago
Andy Wilkinson 2350d9c870 Adapt to Data changes missed due to predictive test selection
See gh-36190
1 year ago
Andy Wilkinson 5a9ca67fba Start building against Spring Framework 6.2.0-M2 snapshots
See gh-36198
1 year ago
Andy Wilkinson ec8e1e2c95 Start building against Spring Data Bom 2023.1.0 snapshots
See gh-36190
1 year ago
Phillip Webb 77245c3bd0 Merge branch '3.1.x'
Closes gh-36164
1 year ago
Phillip Webb 1f68db06ba Merge branch '3.0.x' into 3.1.x
Closes gh-36163
1 year ago
Phillip Webb f1b0d76d9b Merge branch '2.7.x' into 3.0.x
Closes gh-36162
1 year ago
Phillip Webb b6990940b1 Polish 'Choose SAML party based on entity ID rather than always using first'
See gh-35902
1 year ago
Lasse Lindqvist 864af59adc Choose SAML party based on entity ID rather than always using first
Update `Saml2RelyingPartyRegistrationConfiguration` so that
`RelyingPartyRegistrations` uses `collectionFromMetadataLocation`
rather than `fromMetadataLocation` and searches candidates for a
matching entity ID.

Prior to this commit, it was possible for the wrong provider to be
used if multiple candidates existed in the returned metadata.

See gh-35902
1 year ago
Andy Wilkinson 8fa80426b4 Merge branch '3.1.x'
Closes gh-36133
1 year ago
Johnny Lim 58a9961a31 Name methods consistently in KafkaConnectionDetails
See gh-35733
1 year ago
Scott Frederick c22cbb0e2d Merge branch '3.1.x'
Closes gh-36124
1 year ago
Scott Frederick 0a51c466f4 Merge branch '3.0.x' into 3.1.x
Closes gh-36123
1 year ago
Andy Wilkinson abaade28ea Merge branch '3.1.x'
Closes gh-36122
1 year ago
Andy Wilkinson e2f8fcf292 Merge branch '3.0.x' into 3.1.x
Closes gh-36121
1 year ago
Andy Wilkinson 6effd6061c Provide hints when template auto-config is excluded
Fixes gh-35682
1 year ago
Andy Wilkinson b5a131d966 Merge branch '3.1.x'
Closes gh-36100
1 year ago
Andy Wilkinson ba8b1717fb Merge branch '3.0.x' into 3.1.x
Closes gh-36099
1 year ago
Andy Wilkinson 79cd3a027a Merge branch '2.7.x' into 3.0.x
Closes gh-36098
1 year ago
Andy Wilkinson 9e1f2c4257 Tolerate Flway 9.20
Closes gh-36029
1 year ago
Andy Wilkinson 98d459d76c Revert "Merge branch '3.1.x'"
See gh-36092
1 year ago
Andy Wilkinson 6851904651 Merge branch '3.1.x'
Closes gh-36092
1 year ago
Andy Wilkinson 9a57611ef5 Merge branch '3.0.x' into 3.1.x
Closes gh-36091
1 year ago
Andy Wilkinson ffbef7bb80 Test server.max-http-request-header-size with Undertow
Closes gh-36047
1 year ago
Andy Wilkinson b645eb32ac Remove deprecated code that was to be removed in 3.2
Closes gh-36034
1 year ago
Andy Wilkinson 357c67a999 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3f7fe25cb9 Merge branch '3.0.x' into 3.1.x
Closes gh-36044
1 year ago
Andy Wilkinson 2fae5de245 Merge branch '2.7.x' into 3.0.x
Closes gh-36043
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Phillip Webb 212acf44f7 Merge branch '3.1.x' 1 year ago
Phillip Webb 7a2fc9e636 Fix checkstyle violation
See gh-35914
1 year ago
Phillip Webb 2ce36b15b3 Merge branch '3.1.x' 1 year ago
Phillip Webb 3c7fbf3423 Polish 'Apply SslConfigurer in addition to configured mappers'
See gh-35914
1 year ago
Fernando Cappi e6b5322f3e Apply SslConfigurer in addition to configured mappers
Update `ReactorClientHttpConnectorFactory` to that SSL configuration
is applied in addition to any configured mappers.

Prior to this commit, SSL configuration would prevent configured
mappers from being applied.

See gh-35914
1 year ago
Andy Wilkinson 295702003d Merge branch '3.1.x' 1 year ago
Andy Wilkinson 7266d4863b Merge branch '3.0.x' into 3.1.x
Closes gh-36009
1 year ago
Andy Wilkinson 39c382713b Initialize WebSocket infrastructure when using WebFlux and Jetty
In Spring Framework 5.x with Jetty 9, the reactive
JettyRequestUpgradeStrategy was able to initialize Jetty's WebSocket
infrastructure itself. With Jetty 10 this is no longer possible and
Boot must perform the initialization as part of preparing the
reactive JettyWebServer.

This commit updates the reactive WebSocket auto-configuration to
initialize Jetty's WebSocket infrastructure as part of creating the
reactive JettyWebServer.

Fixes gh-33347
1 year ago
Andy Wilkinson 1e17d8eeea Upgrade to Liquibase 4.22.0
Closes gh-35956
1 year ago
Andy Wilkinson 454aae92d6 Upgrade to Flyway 9.19.4
Closes gh-35948
1 year ago
Phillip Webb 23eb7ec1f8 Merge branch '3.1.x' 1 year ago
Phillip Webb 5d6a507142 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 48e13af8c4 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b8d2c279ee Update copyright year of changed files 1 year ago
Phillip Webb 854b29b8fb Polish 1 year ago
Phillip Webb 13f16da716 Merge branch '3.1.x' 1 year ago
Phillip Webb baddf4c857 Merge branch '3.0.x' into 3.1.x 1 year ago
Jonatan Ivanov 85934c3919
Merge branch '3.1.x'
Closes gh-35930
1 year ago
Johnny Lim 06157837e5
Polish
See gh-35872
1 year ago
Phillip Webb 691b549e36 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb f3f8610539 Polish 1 year ago
Andy Wilkinson 2c06f274dc Merge branch '3.1.x' 1 year ago
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Moritz Halbritter 140c37ceba Enable virtual threads on Jetty
Closes gh-35703
1 year ago
Moritz Halbritter 3e4a9f5204 Add property to limit maximum connections for Jetty
Closes gh-35899
1 year ago
Moritz Halbritter f81787e65d Enable virtual threads on Tomcat
Closes gh-35704
1 year ago
Moritz Halbritter 6e604ad65c Implement @ConditionalOnVirtualThreads
Closes gh-35892
1 year ago
Scott Frederick 4950e2a6b7 Merge branch '3.1.x' 1 year ago
Scott Frederick 7e6452edee Fix Redis URL property userinfo parsing
Fixes gh-35850
1 year ago
Stephane Nicoll 8589401b65 Merge branch '3.1.x' 1 year ago
Stephane Nicoll 27ee605f91 Upgrade to Tomcat 10.1.9
Closes gh-35819
1 year ago
Stephane Nicoll 02a601eae3 Fix checkstyle violation 1 year ago
Scott Frederick 07c57577b0 Merge branch '3.1.x' 1 year ago
Scott Frederick 767ec4e22e Support encrypted PKCS8 private keys in SSL bundles
Properties `ssl.bundle.pem.mybundle.keystore.private-key-password`
and `ssl.bundle.pem.mybundle.truststore.private-key-password` have
been added for configuring the password required to decrypt an
encrypted private key.

Only PKCS8 private keys with encryption are supported. PKCS1 and EC
private keys with encryption are much more complex to decrypt, and
are not supported.

Fixes gh-35652
1 year ago
Stephane Nicoll 261cb721e9 Fix checkstyle violation 1 year ago
Andy Wilkinson 39276f8302 Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
1 year ago
Andy Wilkinson b9f7df6cc2 Merge branch '3.0.x'
Closes gh-35789
1 year ago
Andy Wilkinson fba0aa805f Merge branch '2.7.x' into 3.0.x
Closes gh-35788
1 year ago
Andy Wilkinson 5e97f869d0 Remove unnecessary usage of Supplier
Closes gh-35787
1 year ago
Andy Wilkinson ce85290d01 Merge branch '3.0.x'
Closes gh-35773
1 year ago
Andy Wilkinson 51e980200a Merge branch '2.7.x' into 3.0.x
Closes gh-35772
1 year ago
Andy Wilkinson ca50cd8c8a Stop using an infinite timeout for connecting to Hazelcast
Closes gh-35771
1 year ago
Yanming Zhou 7a5f6d4123 Expose spring.ssl bundle keys
See gh-35667
1 year ago
Andy Wilkinson 3eaaf58536 Start building against Spring Data Bom 2023.0.1 snapshots
See gh-35750
1 year ago
Andy Wilkinson e9cd0c1f3a Restore compatibility with Flyway 9.0.x
Closes gh-35721
1 year ago
Andy Wilkinson d8078f1c12 Start building against Spring Data Bom 2022.0.7 snapshots
See gh-35738
1 year ago
rafaelrc7 ed47e09c13 Implement validity check to spring.rabbitmq.host config property
As discussed on issue #35628, at some point the host property accepted
multiple comma-separated hosts. However, this was not intended, and for
better clarification, it was decided to implement a clearer error
message for this situation.

See gh-35684
1 year ago
Scott Frederick f29a0d8c29 Merge branch '3.0.x'
Closes gh-35690
1 year ago
Scott Frederick 6a763f9be4 Merge branch '2.7.x' into 3.0.x
Closes gh-35689
1 year ago
Scott Frederick c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
1 year ago
Scott Frederick a02eb48528 Fix building of MongoDB connection string with authentication db
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the
`spring.data.mongodb.authentication-database` is set in the
credentials when provided.

Fixes gh-35567
1 year ago
Scott Frederick 593fa1dc42 Allow Mongo database property to override database in URI
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the `spring.data.mongodb.database`
property takes precedence over the database specified in a
`spring.data.mongodb.uri` property.

Fixes gh-35566
1 year ago
Scott Frederick 703883d302 Merge branch '3.0.x'
Closes gh-35610
2 years ago
Scott Frederick 72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2 years ago
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2 years ago
Eddú Meléndez a3caf8102e Polish
See gh-35577
2 years ago
Andy Wilkinson 713d74d794 Merge branch '3.0.x'
See gh-35554
2 years ago
Andy Wilkinson 54e769be3a Polish
See gh-35553
2 years ago
Andy Wilkinson dd74f8caba Merge branch '3.0.x'
Closes gh-35554
2 years ago
Andy Wilkinson af9cd8cf0b Merge branch '2.7.x' into 3.0.x
Closes gh-35553
2 years ago
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2 years ago