Commit Graph

44144 Commits

Author SHA1 Message Date
Andy Wilkinson
77e382ec64 Polish "Add support for using an AuthTokenManager with Neo4j"
See gh-36650
2023-08-02 14:30:03 +01:00
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
2023-08-02 14:30:03 +01:00
Stephane Nicoll
4f877db91a Merge pull request #36288 from mzeijen
* pr/36288:
  Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
  Order auto-configured ProblemDetailsExceptionHandler beans

Closes gh-36288
2023-08-02 15:28:43 +02:00
Stephane Nicoll
a223834d57 Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
See gh-36288
2023-08-02 15:28:01 +02:00
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
2023-08-02 15:27:44 +02:00
Moritz Halbritter
e677eb7759 Polish Polish R2dbcObservationAutoConfiguration 2023-08-02 12:14:03 +02:00
Moritz Halbritter
20d264150b Polish R2dbcObservationAutoConfiguration 2023-08-02 11:41:30 +02:00
Moritz Halbritter
7c0fc11480 Merge branch '3.1.x'
Closes gh-36673
2023-08-02 11:30:34 +02:00
Moritz Halbritter
4b09d444ba Upgrade to R2DBC Proxy 1.1.2.RELEASE
Closes gh-36672
2023-08-02 11:28:03 +02:00
Moritz Halbritter
3a9fadf30f Enable virtual threads for Kafka listener
Closes gh-36396
2023-08-02 10:59:19 +02:00
Moritz Halbritter
7c5ec73724 Polish SimpleAsyncTaskExecutorBuilderTests 2023-08-02 10:51:10 +02:00
Moritz Halbritter
5d9d0f43b6 Implement AssertJ assertions for SimpleAsyncTaskExecutor 2023-08-02 10:51:09 +02:00
Scott Frederick
f2ad08c292 Add since version to deprecated config properties
See gh-36482
2023-08-01 16:13:22 -05:00
Scott Frederick
2e50d11d86 Add since attribute to @DeprecatedConfigurationProperty annotation
Closes gh-36482
2023-08-01 16:13:22 -05:00
Andy Wilkinson
0646eabd4a Merge branch '3.1.x'
Closes gh-36665
2023-08-01 20:03:25 +01:00
Andy Wilkinson
92361b5545 Merge branch '3.0.x' into 3.1.x
Closes gh-36664
2023-08-01 20:03:01 +01:00
Andy Wilkinson
51b81ced6f Merge branch '2.7.x' into 3.0.x
Closes gh-36663
2023-08-01 20:01:20 +01:00
Andy Wilkinson
28b3054a9e Try to stabilize DataCouchbaseTestIntegrationTests
Closes gh-36662
2023-08-01 19:58:28 +01:00
Andy Wilkinson
806aa45279 Merge branch '3.1.x'
Closes gh-36661
2023-08-01 18:14:03 +01:00
Andy Wilkinson
0ad687812f Merge pull request #36037 from eddumelendez
* gh-36037:
  Polish "Support ServiceConnection beans in slice tests"
  Support ServiceConnection beans in slice tests

Closes gh-36037
2023-08-01 18:13:12 +01:00
Andy Wilkinson
0d646d7c26 Polish "Support ServiceConnection beans in slice tests"
See gh-36037
2023-08-01 18:12:53 +01:00
Eddú Meléndez
4dfb60c9a3 Support ServiceConnection beans in slice tests
Previously, to use `@ServiceConnection` on a `@Bean` method in a sliced
test required ServiceConnectionAutoConfiguration to be imported using
`@ImportAutoConfiguration`. This commit removes the need for this
import by registering ServiceConnectionAutoConfiguration in specific
slice test annotations.

See gh-36037
2023-08-01 18:09:57 +01:00
Andy Wilkinson
d0d545468a Revert "Remove invalid check for String-based FactoryBean.OBJECT_TYPE_ATTRIBUTE"
This reverts commit 279f8221a5.

See gh-36659
2023-08-01 17:57:34 +01:00
Stephane Nicoll
75bb862255 Remove dead code 2023-08-01 16:51:48 +02:00
Stephane Nicoll
279f8221a5 Remove invalid check for String-based FactoryBean.OBJECT_TYPE_ATTRIBUTE
Closes gh-36659
2023-08-01 16:50:56 +02:00
Stephane Nicoll
191ac10009 Deprecate support for OkHttp
Closes gh-36632
2023-08-01 16:45:13 +02:00
Moritz Halbritter
19859a9023 Simplify TaskExecutionAutoConfiguration 2023-08-01 15:40:05 +02:00
Moritz Halbritter
4ba7463d75 Polish 2023-08-01 15:34:52 +02:00
Moritz Halbritter
51008a7d39 Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
Closes gh-36651
2023-08-01 10:32:58 +02:00
Stephane Nicoll
922f66a85d Merge branch '3.1.x'
Closes gh-36654
2023-07-31 17:16:17 +02:00
Stephane Nicoll
523d86d48e Merge pull request #36649 from michael-simons
* pr/36649:
  Fix test declaration in Neo4jAutoConfigurationTests

Closes gh-36649
2023-07-31 17:16:03 +02:00
Michael Simons
ef3b99ee51 Fix test declaration in Neo4jAutoConfigurationTests
The test was annotated `@Bean`, must be `@Test`.

See gh-36649
2023-07-31 17:12:57 +02:00
Moritz Halbritter
de4b2d679f Add documentation for SimpleAsyncTaskExecutorBuilder
See gh-35711
2023-07-31 14:17:17 +02:00
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
2023-07-31 14:08:00 +02:00
Moritz Halbritter
32c91af440 Add ThreadPoolTaskExecutorBuilder and deprecate TaskExecutorBuilder
Closes gh-36637
2023-07-31 11:51:17 +02:00
Andy Wilkinson
5c845c7ddc Merge branch '3.1.x'
Closes gh-36647
2023-07-31 10:05:05 +01:00
Andy Wilkinson
21d2fb6f22 Merge pull request #36636 from OnSuorce
* gh-36636:
  Polish "Add note about enabling docker compose support in tests"
  Add note about enabling docker compose support in tests

Closes gh-36636
2023-07-31 09:47:36 +01:00
Andy Wilkinson
5f72e441d0 Polish "Add note about enabling docker compose support in tests"
See gh-36636
2023-07-31 09:47:24 +01:00
Matteo Bianchi
0e43e81e73 Add note about enabling docker compose support in tests
See gh-36636
2023-07-31 09:39:05 +01:00
Andy Wilkinson
1dd3add5c5 Merge branch '3.1.x'
Closes gh-36600
2023-07-31 09:36:53 +01:00
Andy Wilkinson
0ead8d0314 Merge branch '3.0.x' into 3.1.x
Closes gh-36597
2023-07-31 09:36:25 +01:00
Andy Wilkinson
06cb28d306 Merge branch '2.7.x' into 3.0.x
Closes gh-36602
2023-07-31 09:35:58 +01:00
Andy Wilkinson
abf2ae792f Upgrade Java 20 CI image to 20.0.2+10
Closes gh-36596
2023-07-31 09:35:33 +01:00
Andy Wilkinson
d3ee69d32b Merge branch '3.1.x'
Closes gh-36601
2023-07-31 09:33:57 +01:00
Andy Wilkinson
fd69477711 Merge branch '3.0.x' into 3.1.x
Closes gh-36598
2023-07-31 09:32:54 +01:00
Andy Wilkinson
d3151cfb7e Merge branch '2.7.x' into 3.0.x
Closes gh-36599
2023-07-31 09:32:15 +01:00
Andy Wilkinson
3667813af9 Upgrade CI images to Docker 24.0.5
Closes gh-36595
2023-07-31 09:31:46 +01:00
Moritz Halbritter
1347b998e6 Remove @ConditionalOnVirtualThreads
See gh-36624
See gh-35892
2023-07-28 14:28:16 +02:00
Moritz Halbritter
9e212875c3 Remove VirtualThreads bean
Reverts eeb1e1fc35

See gh-36615
See gh-36387
2023-07-28 14:28:15 +02:00
Moritz Halbritter
bf48819222 Implement @ConditionalOnThreading
Closes gh-36624
2023-07-28 14:28:15 +02:00