Moritz Halbritter
4c3de96d74
Fix links to Antora based JavaDoc and reference documentation
...
This introduces two different attributes for, e.g. the Spring Framework
version: the "normal" one, e.g. 6.1.0-SNAPSHOT, and the Antora one,
e.g. 6.1.
Spring Framework's reference documentation is still broken when using
SNAPSHOT versions, see spring-framework/gh-31480.
See gh-38000
2023-10-24 10:31:26 +02:00
Chris Bono
ddd093f4e2
Fix links in Spring Pulsar section of ref guide
...
Spring for Apache Pulsar recently moved to Antora docs which in turn
modified the base url slightly. This commmit adjusts for the move.
See gh-37986
2023-10-23 11:06:54 +02:00
Chris Bono
1571097048
Fix links in Spring Kafka section of ref guide
...
Spring for Apache Kafka recently moved to Antora docs which in turn
modified the base url slightly. This commmit adjusts for the move.
See gh-37987
2023-10-23 11:03:05 +02:00
Moritz Halbritter
68d8fa14bf
Polish "Add JVM Checkpoint Restore documentation"
...
See gh-37975
2023-10-23 11:01:25 +02:00
Sébastien Deleuze
e988bf4212
Add JVM Checkpoint Restore documentation
...
See gh-37975
2023-10-23 11:01:20 +02:00
Moritz Halbritter
d82e98ef42
Merge branch '3.1.x'
...
Closes gh-37960
2023-10-19 10:05:43 +02:00
Moritz Halbritter
64cf3b0712
Document how to share services with Docker Compose
...
Closes gh-37886
2023-10-19 10:05:14 +02:00
Moritz Halbritter
55dc2963ef
Rename Testcontainers bean startup property
...
Old name: spring.testcontainers.startup
New name: spring.testcontainers.beans.startup
Closes gh-37073
2023-10-19 09:22:27 +02:00
Phillip Webb
fe752dedef
Polish adoc formatting
2023-10-16 15:50:58 -07:00
Andy Wilkinson
d796087dfa
Polish "Add properties for configuring EnumFeature and JsonNodeFeature"
...
See gh-37885
2023-10-16 15:39:25 +01:00
Andy Wilkinson
19fd88b25b
Implement SSL hot reload for Netty and Tomcat
...
Closes gh-37808
2023-10-16 14:08:26 +01:00
Phillip Webb
4c3a0f09d7
Support parallel initialization of Testcontainers
...
Add support for a `spring.testcontainers.startup` property that can
be set to "sequential" or "parallel" to change how containers are
started.
Closes gh-37073
2023-10-14 23:58:25 -07:00
Moritz Halbritter
fcf77ed65d
Add property to stop the JVM from exiting
...
spring.main.keep-alive=true will spawn a non-daemon thread which stops
if the context is closed
Closes gh-37736
2023-10-12 17:02:47 +02:00
Andy Wilkinson
bdaf7a7603
Merge branch '3.1.x'
...
Closes gh-37830
2023-10-11 15:06:09 +01:00
Andy Wilkinson
411586347c
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37829
2023-10-11 15:04:21 +01:00
Andy Wilkinson
781ac2ece2
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37828
2023-10-11 15:02:36 +01:00
Johnny Lim
303015ea2d
Polish
...
See gh-37745
2023-10-11 14:57:38 +01:00
Simon Verhoeven
d0cadd9c4a
Add reference to the new RestClient class in documentation
...
See gh-37726
2023-10-05 11:22:44 +02:00
Moritz Halbritter
51d549964a
Merge branch '3.1.x'
...
Closes gh-37692
2023-10-04 10:49:32 +02:00
Moritz Halbritter
a416f93eec
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37691
2023-10-04 10:49:24 +02:00
Moritz Halbritter
b742bced31
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37690
2023-10-04 10:49:10 +02:00
Moritz Halbritter
63fccf43dc
Polish "Remove link to LiveReload website due to timeout"
...
See gh-37643
2023-10-04 10:46:40 +02:00
Jonny Coddington
88bbab374d
Remove link to LiveReload website due to timeout
...
See gh-37643
2023-10-04 10:44:14 +02:00
Moritz Halbritter
5b129ceb09
Switch reactor context propagation from auto to limited
...
- Polish
- Fix @since tags
- Add a test case
- Update context-propagation version
Closes gh-34201
2023-10-04 09:37:45 +02:00
Moritz Halbritter
30f29dead8
Revert "Temporarily remove auto-config for Reactor context propagation"
...
This reverts commit 88de3cc089
.
See gh-34201
2023-10-04 09:12:27 +02:00
Phillip Webb
7ad4a9817d
Rewrite nested jar support code and remove Java 8 support
...
Rewrite nested jar code to better align with the implementations
provided in Java 17. This update makes two fundamental changes to
the previous implementation:
- Resource cleanup is now handled using the `java.lang.ref.Cleaner`
- Jar URLs now use the form `jar:nested:/my.jar/!nested.jar!/entry`
Unlike the previous `jar🫙 /my,jar!/nested.jar!/entry` URL format,
the new format is compatible with Java's default Jar URL handler.
Specifically, it now only uses a single `jar:` prefix and it no longer
includes multiple `!/` separators.
In addition to the changes above, many of the ancillary classes have
also been refactored and updated to create cleaner APIs.
Closes gh-37668
2023-10-03 17:27:57 -07:00
Phillip Webb
c22548982a
Relocate launcher classes
...
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.
This update is designed to improve compatibility with future
changes in the loader.
Closes gh-37667
2023-10-03 14:53:04 -07:00
Phillip Webb
3d6859e80f
Use the term "uber jar" in reference documentation and javadoc
...
Update reference documentation and javadoc to use the term "uber jar"
rather than "fat jar".
Closes gh-37653
2023-10-02 23:01:34 -07:00
Phillip Webb
932355adbf
Polish adoc formatting
2023-10-02 21:18:26 -07:00
Scott Frederick
ff99de49c4
Configure a RestClient.Builder with RestClientTest
...
This commit adds support for configuring a `RestClient.Builder` and
`MockRestServiceServer` support for the `RestClient` when using
`@RestClientTest` sliced tests.
Closes gh-37033
2023-09-29 15:07:38 -05:00
Andy Wilkinson
3e9a1cc1f8
Add Awaitility to spring-boot-starter-test
...
Closes gh-37195
2023-09-29 11:50:05 +01:00
Andy Wilkinson
bebca55a8f
Add testAndDevelopmentOnly configuration
...
Closes gh-35436
2023-09-28 13:24:34 +01:00
Moritz Halbritter
40d4c177cd
Merge branch '3.1.x'
...
Closes gh-37616
2023-09-28 08:54:22 +02:00
Moritz Halbritter
a1947d6deb
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37615
2023-09-28 08:53:12 +02:00
Moritz Halbritter
d266806368
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37614
2023-09-28 08:51:12 +02:00
Moritz Halbritter
8a5979ee8c
Clarify ActiveMQ usage in JMS docs
...
The Apache ActiveMQ project has adopted the label "Classic" for the 5.x
broker in order to more easily compare and contrast it with the broker
code-named Artemis.
See gh-37606
2023-09-28 08:46:47 +02:00
Phillip Webb
052757c2d8
Polish
2023-09-27 20:58:09 -07:00
Andy Wilkinson
ecc670772a
Make user details service auto-configs back off more readily
...
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.
This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.
Closes gh-35338
2023-09-26 16:47:19 +01:00
Moritz Halbritter
1d60e42a73
Merge branch '3.1.x'
...
Closes gh-37572
2023-09-25 12:02:34 +02:00
Sushant Kumar Singh
088d9ccc32
Remove mockito-inline from documentation
...
See gh-37561
2023-09-25 11:58:53 +02:00
Moritz Halbritter
1f137af90f
Merge branch '3.1.x'
...
Closes gh-37533
2023-09-22 09:26:27 +02:00
Moritz Halbritter
b5cc6f9f92
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37532
2023-09-22 09:26:17 +02:00
Moritz Halbritter
17092e124d
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37531
2023-09-22 09:26:08 +02:00
Moritz Halbritter
6be8ce948a
Document support for Java 21
...
Closes gh-37371
2023-09-22 09:22:14 +02:00
Moritz Halbritter
77f0828f7f
Merge branch '3.1.x'
...
Closes gh-37444
2023-09-18 10:22:13 +02:00
Moritz Halbritter
5d120faac2
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37443
2023-09-18 10:22:01 +02:00
Moritz Halbritter
5a0bc0a112
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37442
2023-09-18 10:21:44 +02:00
Moritz Halbritter
ff2fc95daf
Document that PKCS8 PEM files should be used whenever possible
...
Closes gh-37170
2023-09-18 10:18:06 +02:00
Brian Clozel
0fc97e9315
Auto-configure ObservationRegistry on JmsTemplate
...
Spring Boot auto-configures both a `JmsTemplate` and a
`JmsMessagingTemplate`. As of Spring Framework 6.2, JMS has
observability support when publishing messages.
This commit creates a bean post-processor that configures an
`ObservationRegistry` on the template, if the registry is present.
Closes gh-37388
2023-09-15 16:28:06 +02:00
Brian Clozel
d6daf87074
Update Antora reference documentation links
...
This commit updates the base URLs for reference documentations when the
relevant Spring project is now being published with Antora.
This commit updates the following projects:
* Spring Framework
* Spring Integration
* Spring for GraphQL
* Spring Security, including Authorization Server
* Spring Batch
* Spring Data JPA
Closes gh-37428
2023-09-15 15:55:52 +02:00
Johnny Lim
8f4ccb0535
Polish
...
See gh-37393
2023-09-15 11:44:06 +01:00
Andy Wilkinson
e3d884803e
Add Docker Compose support for Neo4j
...
Closes gh-37379
2023-09-14 13:25:38 +01:00
Chris Bono
b81d78f324
Add SSL section to Pulsar docs
...
- Add link to Spring Pulsar TLS docs
- Update usage of 'Spring Pulsar' to 'Spring for Apache Pulsar'
See gh-37375
2023-09-14 11:31:57 +02:00
Moritz Halbritter
c387c87fda
Polish "Add service connection from OpenTelemetry Collector"
...
See gh-35082
2023-09-14 10:50:36 +02:00
Eddú Meléndez
6997277f75
Add service connection from OpenTelemetry Collector
...
See gh-35082
2023-09-14 09:44:20 +02:00
Johnny Lim
c2b78830ff
Polish
...
See gh-37340
2023-09-13 10:26:54 +02:00
Brian Clozel
c8d036eaa8
Remove ServerHttpObservationFilter from WebFlux
...
This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.
The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.
Closes gh-37344
2023-09-12 10:59:25 +02:00
Brian Clozel
0d902c1323
Document Welcome Page support ordering
...
This commit documents the relative ordering of `HandlerMapping` support
in Spring MVC and WebFlux applications.
As of Spring Framework 6.1.0, the Welcome Page support acts as a
fallback in case no index route has been defined by the application as a
`RouterFunction` or within an annotated `@Controller`.
Closes gh-34846
2023-09-11 15:04:43 +02:00
Andy Wilkinson
ed5d16de84
Upgrade to Jetty 12
...
Closes gh-36073
2023-09-07 13:59:15 +01:00
Chris Bono
089fef0392
Add Pulsar ConnectionDetails support
...
Add `ConnectionDetails` support for Apache Pulsar and provide adapters
for Docker Compose and Testcontainers.
See gh-37197
2023-09-06 12:12:25 -07:00
Chris Bono
6e7b845bdf
Add support for Apache Pulsar
...
Add support for Apache Pulsar using the Spring for Apache Pulsar
project.
See gh-34763
Co-authored-by: Phillip Webb <pwebb@vmware.com>
2023-09-05 17:01:51 -07:00
Moritz Halbritter
cf2828fdb8
Add link to Spring Modulith to documentation
...
Closes gh-37106
2023-08-31 13:22:52 +02:00
Phillip Webb
3a99066eeb
Merge branch '3.1.x'
2023-08-24 10:33:15 -07:00
Phillip Webb
81a03cf240
Merge branch '2.7.x' into 3.1.x
2023-08-24 10:32:37 -07:00
Phillip Webb
fbea788e0a
Merge branch '2.7.x' into 3.0.x
2023-08-24 10:32:27 -07:00
Phillip Webb
727e22abac
Restore Redis to NoSQL stores supported by Spring Data documentation
...
See gh-29694
2023-08-24 10:31:01 -07:00
Scott Frederick
c55e8b9b9a
Merge branch '3.1.x'
...
Closes gh-37072
2023-08-22 12:11:08 -05:00
Scott Frederick
23de8a1177
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37071
2023-08-22 12:10:46 -05:00
jongwooo
37855a597c
Fix links to Oracle API javadoc in the documentation
...
See gh-37070
2023-08-22 11:59:21 -05:00
Scott Frederick
eb45aab712
Upgrade default CNB builders to Paketo Jammy
...
Closes gh-36689
2023-08-14 13:29:42 -05:00
Stephane Nicoll
89bb8e87c2
Merge branch '3.1.x'
...
Closes gh-36963
2023-08-14 12:04:23 +02:00
Stephane Nicoll
8ce6002206
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36962
2023-08-14 12:04:11 +02:00
Stephane Nicoll
82b0666813
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36961
2023-08-14 12:04:01 +02:00
Stephane Nicoll
0e6abd1377
Provide more information about using spring.cache.type=none
...
Closes gh-33694
2023-08-14 12:03:40 +02:00
Phillip Webb
407fa780c8
Polish
2023-08-13 20:44:44 -07:00
Andy Wilkinson
6c3c8398d0
Upgrade to Elasticsearch Client 8.9.0
...
Closes gh-36886
2023-08-09 20:45:31 +01:00
Andy Wilkinson
94d6ccd7a5
Merge branch '3.1.x'
...
Closes gh-36863
2023-08-09 12:51:25 +01:00
Andy Wilkinson
8bd2e1a717
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36862
2023-08-09 12:51:11 +01:00
Andy Wilkinson
29beb3ed24
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36861
2023-08-09 12:50:59 +01:00
Andy Wilkinson
d277631331
Document `@EntityScan` and `@Enable…Repositories` for tuning scanning
...
Closes gh-36282
2023-08-09 12:47:30 +01:00
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
2023-08-09 13:43:08 +02:00
Andy Wilkinson
4f9fcfc2de
Merge branch '3.1.x'
...
Closes gh-36854
2023-08-09 10:46:11 +01:00
Andy Wilkinson
c59eca02ba
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36853
2023-08-09 10:45:48 +01:00
Andy Wilkinson
4ec1a05b9c
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36852
2023-08-09 10:45:32 +01:00
Andy Wilkinson
45b62b1452
Clarify transfer of logging props from Environment to System props
...
Closes gh-32160
2023-08-09 10:42:22 +01:00
Stephane Nicoll
cee5c9142c
Merge branch '3.1.x'
...
Closes gh-36851
2023-08-09 11:40:52 +02:00
Stephane Nicoll
22fde44e3b
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36850
2023-08-09 11:40:41 +02:00
Stephane Nicoll
2d8dbbd1f3
Review Google Cloud section of the reference guide
...
Closes gh-33730
2023-08-09 11:38:14 +02:00
Stephane Nicoll
38dbc644ae
Add auto-configuration for JdbcClient
...
Closes gh-36579
2023-08-09 11:18:25 +02:00
Andy Wilkinson
647b20bb30
Merge branch '3.1.x'
...
Closes gh-36814
2023-08-08 17:10:59 +01:00
Andy Wilkinson
786673f936
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36813
2023-08-08 17:09:02 +01:00
Andy Wilkinson
b4378e4415
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36812
2023-08-08 17:08:47 +01:00
Andy Wilkinson
05244d7a5c
Clarify which NoSQL stores are supported by Spring Data
...
Closes gh-29694
2023-08-08 17:06:19 +01:00
Andy Wilkinson
6e3cbac7df
Merge branch '3.1.x'
...
Closes gh-36811
2023-08-08 16:50:54 +01:00
Andy Wilkinson
331e90ccbe
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36810
2023-08-08 16:50:14 +01:00
Andy Wilkinson
24ba267516
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36809
2023-08-08 16:50:00 +01:00
Andy Wilkinson
0ab7129dab
Clarify treatment of nested directories for configtree with wildcards
...
Closes gh-28203
2023-08-08 16:49:21 +01:00
Andy Wilkinson
a1f30a2316
Merge branch '3.1.x'
...
Closes gh-36798
2023-08-08 12:57:26 +01:00
Andy Wilkinson
8c8aa19691
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36797
2023-08-08 12:57:12 +01:00
Andy Wilkinson
355012d40b
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36796
2023-08-08 12:57:00 +01:00
Andy Wilkinson
b978950cb2
Clarify the effect of `@EnableWebMvc`
...
Closes gh-36506
2023-08-08 12:56:24 +01:00
Andy Wilkinson
d658a8cd47
Merge branch '3.1.x'
...
Closes gh-36794
2023-08-08 12:52:40 +01:00
Andy Wilkinson
930824a566
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36793
2023-08-08 12:52:26 +01:00
Andy Wilkinson
4b8a848ecf
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36792
2023-08-08 12:52:14 +01:00
Andy Wilkinson
8dec443e3b
Document default for MVC and WebFlux date and time formatting
...
Closes gh-30041
2023-08-08 12:51:29 +01:00
Andy Wilkinson
00264cb9c8
Merge branch '3.1.x'
...
Closes gh-36790
2023-08-08 12:01:35 +01:00
Andy Wilkinson
f0343df9c5
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36789
2023-08-08 12:01:25 +01:00
Andy Wilkinson
406e934325
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36788
2023-08-08 12:01:10 +01:00
Andy Wilkinson
e7203e31c8
Correct documentation of default path matching strategy
...
Closes gh-32557
2023-08-08 11:48:04 +01:00
Andy Wilkinson
e286213110
Merge branch '3.1.x'
...
Closes gh-36784
2023-08-08 11:01:39 +01:00
Andy Wilkinson
f2fce3a008
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36783
2023-08-08 11:01:11 +01:00
Andy Wilkinson
a91f1f0387
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36782
2023-08-08 10:59:29 +01:00
Andy Wilkinson
db0ab9f580
Improve documentation for configuration of schema and data scripts
...
Closes gh-36176
2023-08-08 10:58:28 +01:00
Andy Wilkinson
b1d26fe961
Revert "Upgrade default CNB builders to Paketo Jammy"
...
This reverts commit 6506208d29
. The
upgrade to the Jammy builder was causing
failsWhenBuildImageIsInvokedOnMultiModuleProjectWithBuildImageGoal to
hang on CI.
See gh-36689
2023-08-07 12:10:27 +01:00
Stephane Nicoll
870df5ab08
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36761
2023-08-04 16:23:51 +02:00
Stephane Nicoll
5ed5820f92
Clarify expected jar size in getting started doc
...
Closes gh-34514
2023-08-04 16:23:31 +02:00
Stephane Nicoll
c8334e90f8
Merge branch '3.1.x'
...
Closes gh-36757
2023-08-04 15:27:04 +02:00
Stephane Nicoll
f7c8e48dc4
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36756
2023-08-04 15:26:54 +02:00
Stephane Nicoll
89cb599d0d
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36755
2023-08-04 15:26:41 +02:00
Stephane Nicoll
d101004d5f
Document @DataR2dbcTest support
...
Closes gh-35014
2023-08-04 15:25:16 +02:00
Scott Frederick
6506208d29
Upgrade default CNB builders to Paketo Jammy
...
Closes gh-36689
2023-08-02 19:06:16 -05:00
Scott Frederick
63a8edfa15
Merge branch '3.1.x'
...
Closes gh-36691
2023-08-02 17:51:52 -05:00
Scott Frederick
ecd2b0178f
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36690
2023-08-02 17:50:56 -05:00
Scott Frederick
e25c267585
Update Paketo builder references in documentation
...
Closes gh-36688
2023-08-02 17:49:32 -05:00
Scott Frederick
2e50d11d86
Add since attribute to @DeprecatedConfigurationProperty annotation
...
Closes gh-36482
2023-08-01 16:13:22 -05:00
Stephane Nicoll
191ac10009
Deprecate support for OkHttp
...
Closes gh-36632
2023-08-01 16:45:13 +02:00
Moritz Halbritter
51008a7d39
Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
...
Closes gh-36651
2023-08-01 10:32:58 +02:00
Moritz Halbritter
de4b2d679f
Add documentation for SimpleAsyncTaskExecutorBuilder
...
See gh-35711
2023-07-31 14:17:17 +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
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
Yanming Zhou
f6eaedea35
Reinstate use of configprop macro
...
See gh-36604
2023-07-28 11:03:06 +01:00
Moritz Halbritter
b0615dd311
Split OpenTelemetry auto-configuration
...
The OpenTelemetry bean is now configured in the
OpenTelemetryAutoConfiguration. This method also applies
SdkLoggerProvider and SdkMeterProvider.
Additionally, the OpenTelemetry Resource is now a bean. Resource
attributes can now be configured through properties
The resourceAttributes in OtlpProperties have been deprecated in favor
of the new one in OpenTelemetryProperties.
Closes gh-36544
Closes gh-36545
2023-07-27 08:53:09 +02:00
Johnny Lim
96c9915f12
Polish
...
See gh-36565
2023-07-26 10:00:56 +02:00
Moritz Halbritter
5cc2d3b764
Merge branch '3.1.x'
...
Closes gh-36582
2023-07-26 09:53:40 +02:00
Moritz Halbritter
3edb3797a0
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36581
2023-07-26 09:52:55 +02:00
Moritz Halbritter
1a8ffd54fc
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36580
2023-07-26 09:52:40 +02:00
Mahatma_Fatal_Error
98f76698c8
Fix server.forward-headers-strategy documentation
...
See gh-36564
2023-07-26 09:50:33 +02:00
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
2023-07-25 17:01:55 +02:00
Christoph Dreis
343c9c6f7e
Remove references to Atomikos and Bitronix
...
See gh-35562
2023-07-21 16:23:14 +01:00
Andy Wilkinson
3affb3342e
Deprecate auto-configuration for InfluxDB
...
Closes gh-35190
2023-07-20 13:31:10 +01:00
Stephane Nicoll
311fa6272d
Polish "Add service connection for Testcontainers ActiveMQ"
...
This also adds support for Docker Compose.
See gh-35080
2023-07-20 13:03:41 +02:00
Eddú Meléndez
63121dd08a
Add service connection for Testcontainers ActiveMQ
...
See gh-35080
2023-07-20 13:03:41 +02:00
Andy Wilkinson
283dc37db3
Make AnnotatedControllerConfigurer use applicationTaskExecutor
...
Closes gh-36388
2023-07-18 15:35:31 +01:00
Andy Wilkinson
d205d10519
Configure WebFlux's blocking execution to use applicationTaskExecutor
...
Closes gh-36331
2023-07-18 11:18:25 +01:00
Stephane Nicoll
60df7e3bce
Polish contribution
...
See gh-36251
2023-07-17 13:37:30 +02:00
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
2023-07-17 10:01:16 +01:00
Andy Wilkinson
b66eea8d2a
Merge branch '3.1.x'
...
Closes gh-36356
2023-07-12 08:34:08 +01:00
Andy Wilkinson
d5ca66d47c
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36355
2023-07-12 08:33:43 +01:00
Andy Wilkinson
2a5a5d19b7
Update Servlet container system requirements
...
Closes gh-36354
2023-07-12 08:33:10 +01:00
Phillip Webb
cfdc173e34
Add RestClient SSL support
...
Add `RestClientSsl` support class to help apply an `SslBundle` to a
`RestClient.Builder`.
See gh-36213
2023-07-05 21:22:52 +01:00
Phillip Webb
7c1b168ed6
Overhaul reference documentation for RestClient
...
Reorder "Calling REST services" documentation and add a new section
covering `RestClient`.
See gh-36213
2023-07-05 21:22:49 +01:00
Andy Wilkinson
62eb3d3051
Merge branch '3.1.x'
...
Closes gh-36234
2023-07-05 09:12:59 +01:00
Andy Wilkinson
0bfc3c3872
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36233
2023-07-05 09:12:47 +01:00
Yanming Zhou
9439494923
Polish formatting in "Running Spring Batch Jobs on Startup"
...
See gh-36225
2023-07-05 09:12:07 +01:00
Andy Wilkinson
c3e2c9d684
Polish "Support Jetty in ClientHttpRequestFactories"
...
See gh-36116
2023-07-04 17:49:07 +01:00
Phillip Webb
41cdfb891f
Merge branch '3.1.x'
...
Closes gh-36220
2023-07-04 15:18:42 +01:00
Phillip Webb
2e11349c93
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36219
2023-07-04 15:18:32 +01:00
Phillip Webb
9884abb379
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36218
2023-07-04 15:18:15 +01:00
Phillip Webb
fc31e14e72
Polish 'Improve Kubernetes probe customization documentation'
...
See gh-34978
2023-07-04 15:17:20 +01:00
Ivo Smid
028ff3a7be
Improve Kubernetes probe customization documentation
...
See gh-34978
2023-07-04 15:17:20 +01:00
Andy Wilkinson
eb58ade3a2
Merge branch '3.1.x'
...
Closes gh-36216
2023-07-04 15:13:51 +01:00
Andy Wilkinson
215763bded
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36215
2023-07-04 15:13:35 +01:00
Andy Wilkinson
b764b5beee
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36214
2023-07-04 15:13:19 +01:00
Andy Wilkinson
1f75ba557e
Document HTTP client auto-detection for RestTemplate and WebClient
...
Closes gh-34136
2023-07-04 15:09:40 +01:00
Phillip Webb
8c3f847bfe
Merge branch '3.1.x'
2023-06-30 14:54:52 +01:00
Phillip Webb
7c63870305
Merge branch '3.0.x' into 3.1.x
2023-06-30 14:54:36 +01:00
Phillip Webb
a14ddd6900
Polish adoc formatting
2023-06-30 14:54:21 +01:00
Andy Wilkinson
57ed2016b6
Merge branch '3.1.x'
...
Closes gh-36143
2023-06-30 14:07:08 +01:00
Andy Wilkinson
164bd7924e
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36142
2023-06-30 14:06:52 +01:00
Andy Wilkinson
3d1ca62a6f
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36141
2023-06-30 14:06:39 +01:00
Andy Wilkinson
362182efd8
Polish "Polish Kafka Properties Docs"
...
See gh-36032
2023-06-30 14:06:13 +01:00
Gary Russell
025063e708
Polish Kafka Properties Docs
...
There are 4 client types but there were a couple of places where not
all client types were mentioned (such as 'applies to producers,
consumers and admins').
See gh-36032
2023-06-30 14:01:26 +01:00
Andy Wilkinson
60553415d0
Merge branch '3.1.x'
...
Closes gh-36140
2023-06-30 13:00:50 +01:00
Andy Wilkinson
d7da2d9eb2
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36139
2023-06-30 13:00:37 +01:00
Andy Wilkinson
66aa55b65d
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36138
2023-06-30 13:00:25 +01:00
JuHyeong Ahn
dbdb4d4e8d
Fix typo in Using R2DBC
...
See gh-36019
2023-06-30 12:59:49 +01:00
Moritz Halbritter
b655523ef9
Merge branch '3.1.x'
...
Closes gh-36132
2023-06-30 10:44:48 +02:00
Moritz Halbritter
3d15b02441
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36131
2023-06-30 10:44:34 +02:00
Moritz Halbritter
606063589f
Document trace propagation with RestTemplate and WebClient
...
Closes gh-34053
2023-06-30 10:44:14 +02:00
Moritz Halbritter
cff26d9843
Merge branch '3.1.x'
...
Closes gh-36113
2023-06-29 11:42:12 +02:00
Moritz Halbritter
20321b5685
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36112
2023-06-29 11:39:20 +02:00
Moritz Halbritter
2b398827de
Add "baggage" section to tracing docs
...
Closes gh-34977
2023-06-29 11:30:58 +02:00
Scott Frederick
67725d4781
Merge branch '3.1.x'
...
Closes gh-36052
2023-06-23 15:26:53 -06:00
James Stansell
ea41a22284
Fix typo in docker compose service connections note
...
See gh-36016
2023-06-23 15:25:30 -06:00
Jonatan Ivanov
228b8eb8e4
Polish log correlation docs
...
Docs related to gh-33280 (log correlation) and
gh-35593 (application name in each log line) need some polishing:
- Fix project names
- Show how to avoid having the application name duplicated in logs
- Call out that a trailing space is needed in the correlation pattern
Closes gh-36035
See gh-33280
See gh-35593
2023-06-22 14:51:02 -07:00
Phillip Webb
493777d3c9
Include the application name on each log line when it is available
...
Update Logback and Log4J2 so that they include the application name on
each log line. If `spring.application.name` had not been set, or if
`logging.include-application-name` is `false` then the name is not
logged.
Closes gh-35593
2023-06-22 00:40:51 -07:00
Jonatan Ivanov
c1b295fd71
Log correlation IDs when Micrometer tracing is being used
...
Add support for logging correlation IDs with Logback or Log4J2 whenever
Micrometer tracing is being used.
The `LoggingSystemProperties` class now accepts a defualt value resolver
which will be used whenever a value isn't in the environment. The
`AbstractLoggingSystem` provides a resolver that supports the
`logging.pattern.correlation` property and will return a value whenever
`LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` is set.
Using `LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` allows us to
provide a consistent width for the correlation ID, even when it's
missing from the MDC.
The exact correlation pattern returned will depend on the `LoggingSytem`
implementation. Currently Logback and Log4J2 are supported and both
make use of a custom converter which delegates to a new
`CorrelationIdFormatter` class.
Closes gh-33280
2023-06-22 00:28:45 -07:00
Phillip Webb
3a796aedea
Merge branch '3.1.x'
2023-06-22 00:28:01 -07:00
Phillip Webb
31f218c4e0
Merge branch '3.0.x' into 3.1.x
2023-06-22 00:27:51 -07:00
Phillip Webb
9db3c5a2f7
Polish
2023-06-22 00:24:39 -07:00
Andy Wilkinson
68aec97ee7
Merge branch '3.1.x'
2023-06-21 12:44:06 +01:00
Andy Wilkinson
5b69580d5d
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36004
2023-06-21 12:43:48 +01:00
Andy Wilkinson
f584d6dbd9
Replace `@EnableBatchProcessing` in slice test examples
...
Using `@EnableBatchProcessing` is no longer necessary to enable
Batch's auto-configuration so it's no longer a good example when
discussing sliced tests and user configuration.
This commit replaces `@EnableBatchProcessing` with an alternative
annotation, `@EnableMongoAuditing` and updates the accompanying
text.
Closes gh-33435
2023-06-21 12:41:28 +01:00
Jonatan Ivanov
85934c3919
Merge branch '3.1.x'
...
Closes gh-35930
2023-06-16 13:03:08 -07:00
Johnny Lim
06157837e5
Polish
...
See gh-35872
2023-06-16 12:39:03 -07:00
Andy Wilkinson
740815da03
Merge branch '3.1.x'
2023-06-15 14:38:43 +01:00
Andy Wilkinson
251b5f2d0f
Merge branch '3.0.x' into 3.1.x
...
Closes gh-35909
2023-06-15 14:38:31 +01:00
Andy Wilkinson
a5981a4dac
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35908
2023-06-15 14:38:13 +01:00