Commit Graph

1896 Commits

Author SHA1 Message Date
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
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
2023-06-15 14:36:38 +01:00
Moritz Halbritter c73315b4a3 Add property to prevent observations starting with a prefix
For example, setting management.observations.enable.denied.prefix=false
will prevent all observations starting with 'denied.prefix'

Closes gh-34802
2023-06-13 14:04:33 +02:00
Moritz Halbritter 491e12ab5e Add property to disable Spring Security observations
Setting 'management.observations.spring-security.enabled' installs an
ObservationPredicate, which prevents all observations starting with
'spring.security.' to be created.

Closes gh-34802
2023-06-13 11:18:05 +02:00
Moritz Halbritter 6eede829d2 Merge branch '3.1.x' 2023-06-13 10:21:06 +02:00
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
2023-06-13 10:18:16 +02:00
Moritz Halbritter 5b06224af5 Add property for common key/values on observations
- Deprecates 'management.metrics.tags.*'

Closes gh-33241
2023-06-13 09:56:42 +02:00
Moritz Halbritter 2e37c0da18 Merge branch '3.0.x'
Closes gh-35769
2023-06-07 09:32:14 +02:00
Moritz Halbritter a9b4e9327c Merge branch '2.7.x' into 3.0.x
Closes gh-35768
2023-06-07 09:32:07 +02:00
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
2023-06-07 09:29:23 +02:00
Moritz Halbritter 0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
2023-06-07 09:08:54 +02:00
Steve Riesenberg ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
2023-06-07 09:07:14 +02:00
Yanming Zhou e8659da59b Fix error in SSL bundle documentation
See gh-35665
2023-05-30 17:15:50 -05:00
Moritz Halbritter eb9077df86 Document how to customize the JDBC parameters when using Docker Compose
Closes gh-35636
2023-05-26 13:28:40 +02:00
Andy Wilkinson 6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2023-05-25 14:20:17 +01:00
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2023-05-25 14:19:58 +01:00
Andy Wilkinson f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2023-05-25 14:11:44 +01:00
Bikash Adhikari 13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2023-05-25 14:11:27 +01:00
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2023-05-22 16:24:56 +02:00
Phillip Webb 060581d078 Remove pluggable docker compose ReadinessCheck
Remove pluggable `ReadinessCheck` interface and only use the
`TcpConnectServiceReadinessCheck` implementation for now. We
may re-introduce pluggable checks in a future version.

See gh-35544
2023-05-17 16:26:59 -07:00
Phillip Webb ae90add7c7 Polish 2023-05-16 14:04:48 -07:00
Scott Frederick 271cbb76c1 Improve documentation for including Docker Compose support in a build
Closes gh-35384
2023-05-10 13:42:36 -05:00
Johnny Lim ff9fd1abeb Polish
See gh-35185
2023-05-10 08:31:36 +02:00
Moritz Halbritter 1504e3043d Document devtools when using testcontainers at dev time
See gh-35200
2023-05-09 08:31:24 +02:00
Moritz Halbritter afa929cd6b Polish documentation 2023-05-05 13:38:27 +02:00
Moritz Halbritter 4d14d0e437 Merge branch '3.0.x'
Closes gh-35321
2023-05-05 11:31:54 +02:00
Moritz Halbritter 8a14f6d017 Clarify conditional support when using AOT
Closes gh-35262
2023-05-05 11:31:17 +02:00
Moritz Halbritter c4deae3906 Document that Spring Boot by default calls 'docker compose stop' 2023-05-05 10:21:09 +02:00
Andy Wilkinson 4f9616c2f9 Change DockerComposeProperties shut down default to stop
Closes gh-35239
2023-05-04 21:09:16 +01:00
Moritz Halbritter 243b337954 Remove copyright from the anchor-rewrite.properties 2023-05-03 16:11:53 +02:00
Moritz Halbritter 46fedfc4ef Move JAR unpacking section and add AOT on JVM section
Closes gh-32905
2023-05-03 16:01:19 +02:00
Moritz Halbritter bdca30e85b Polish 2023-05-03 14:33:07 +02:00
Moritz Halbritter 71f4247340 Improve headings
See gh-32779
2023-05-03 14:31:43 +02:00
Moritz Halbritter 56b8e419be Update getting started with alternative gradle instructions
Closes gh-32779
2023-05-03 14:29:02 +02:00
Eddú Meléndez ad4f6ffeb7 Add service connection from Testcontainers Zipkin
See gh-35107
2023-05-03 13:09:49 +02:00
Phillip Webb 8427e813af Support import of idomatic testcontainer declaration classes
Add an `@ImportTestcontainers` annotation which can be used to import
idomatic testcontainer declaration classes.

Closes gh-35245
2023-05-03 00:28:36 -07:00
Phillip Webb 26566d4a30 Allow testcontainer beans to also contribute properties
Allow `Container` bean definitions to inject a `DynamicPropertyRegistry`
so that they can contribute environment properties.

Closes gh-35201
2023-05-03 00:27:13 -07:00
Scott Frederick d913472919 Add Kotlin samples and polish SSL bundle documentation
Closes gh-35105
2023-04-28 14:31:01 -05:00
Andy Wilkinson d7da77bda8 Remove support for service connections to InfluxDB
Closes gh-35189
2023-04-28 09:49:39 +01:00
Scott Frederick 226c3005d4 Add SSL bundle support to Redis auto-configuration
Update Redis auto-configuration with Lettuce and Jedis drivers to
allow SSL configuration with an SSL bundle.

Closes gh-34815
2023-04-27 15:24:55 -05:00
Andy Wilkinson 8bbe894665 Add Docker Compose service connection support for Oracle using JDBC
Closes gh-35145
2023-04-27 11:07:53 +01:00
Andy Wilkinson 1e785e81f8 Add Docker Compose support for Oracle Database using R2DBC
Closes gh-35143
2023-04-27 10:33:25 +01:00
Andy Wilkinson b5178afa21 Add Docker Compose support for MS SQL Server using JDBC
Closes gh-35146
2023-04-27 09:31:24 +01:00
Scott Frederick 43b42eca49 Add Docker Compose service connection support for Cassandra
Closes gh-35136
2023-04-25 16:06:34 -05:00
Andy Wilkinson dee5217cf0 Add Docker Compose support for MS SQL Server using R2DBC
Closes gh-35144
2023-04-24 16:47:58 -07:00
Phillip Webb 0f032c290a Allow for predicate based checking of image names
Update `DockerComposeConnectionDetailsFactory` to accept a `Predicate`
based check to determine if the source should be accepted.

The existing name based checks have also been improved to allow names
outside of official docker images. The `ImageReference` and `ImageName`
classes have been mainly copied from
`org.springframework.boot.buildpack.platform.docker.type`.

Closes gh-35154
2023-04-24 16:40:07 -07:00
Stephane Nicoll 363dc9368d Merge branch '3.0.x'
Closes gh-35130
2023-04-24 13:46:17 +02:00
Stephane Nicoll 7f0402f869 Merge branch '2.7.x' into 3.0.x
Closes gh-35129
2023-04-24 13:46:04 +02:00
Ivan Dimitrov f4db73ead9 Harmonize references to application.yaml files in reference docs
See gh-34628
2023-04-24 13:42:05 +02:00
Lukasz Jernas d38a68ebcd Fix typo in testing docs
See gh-35128
2023-04-24 13:26:19 +02:00
Phillip Webb a0b854024b Add a 'Docker Compose Support' section to the reference docs
Update the reference documentation with details about the recently
introduced Docker Compose Support.

Closes gh-35026
2023-04-21 23:18:54 -07:00
Phillip Webb e19aa81813 Polish formatting 2023-04-21 23:18:44 -07:00
Phillip Webb 6ea2547de4 Add SSL bundle support to WebClient auto-configuration
Introduce `WebClientSsl` interface and auto-configuration to allow a
WebClient builder to have custom SSL configuration applied.

The previous `ClientHttpConnectorConfiguration` has been been changed
to now create `ClientHttpConnectorFactory` instances which can be used
directly or by `AutoConfiguredWebClientSsl`.

Closes gh-18556
2023-04-21 20:39:18 -07:00
Scott Frederick b6befd133c Add SSL bundle support to RestTemplateBuilder auto-configuration
Update RestTemplateBuilder auto-configuration so that an SSL can be
configured via an SSL bundle.

Closes gh-34810
2023-04-21 01:13:10 -07:00
Scott Frederick fd5fd1491a Add SSL bundle support to MongoDB auto-configuration
Update MongoDB auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-35042
2023-04-21 01:13:09 -07:00
Scott Frederick 1618aa2dac Add SSL bundle support to Couchbase auto-configuration
Update Couchbase auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-34811
2023-04-21 01:13:09 -07:00
Scott Frederick 682457377a Add SSL bundle support to Cassandra auto-configuration
Update Cassandra auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-25602
2023-04-21 01:13:09 -07:00
Scott Frederick a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
2023-04-21 01:13:05 -07:00
Andy Wilkinson c55d398f95 Validate health group includes and excludes
Closes gh-34360
2023-04-19 19:51:57 +01:00
Andy Wilkinson f2e5eab09c Polish does for reporting traces using OTLP
See gh-34508
2023-04-19 15:42:21 +01:00
Jonatan Ivanov ceaafeca0b Add auto-configuration for OTLP span exporter
With these changes an OTLP HTTP/protobuf exporter is auto-configured
if opentelemetry-exporter-otlp is on the classpath.

See gh-34508
2023-04-19 14:44:56 +01:00
Stephane Nicoll a323bd90a8 Polish "Reintroduce support for ActiveMQ"
See gh-35048
2023-04-19 13:08:14 +02:00
Martin BENDA 3e9908a797 Reintroduce support for ActiveMQ
See gh-35048
2023-04-19 11:00:40 +02:00
Andy Wilkinson 0da209db08 Polish "Add support for Oracle R2DBC Service Connection"
See gh-34852
2023-04-18 13:47:46 +01:00
Andy Wilkinson 98d077c74c Polish "Add service connection from Testcontainers Redpanda"
See gh-34780
2023-04-18 12:49:25 +01:00
Andy Wilkinson ce1c3e52d7 Merge branch '3.0.x'
Closes gh-35040
2023-04-17 19:47:38 +01:00
Andy Wilkinson d30f0575f0 Polish "Improve documentation of tracing deps and config props"
See gh-34991
2023-04-17 19:47:16 +01:00
Robert K dfe60cb2d3 Improve documentation of tracing deps and config props
See gh-34991
2023-04-17 19:47:16 +01:00
Mortitz Halbritter 842e17eced Add Docker Compose support
Add `spring-boot-docker-compose` module with service connection
support.

Closes gh-34747

Co-authored-by: Phillip Webb <pwebb@vmware.com>
Co-authored-by: "Andy Wilkinson <wilkinsona@vmware.com>
2023-04-17 01:00:08 -07:00
Phillip Webb 5ac48f5f15 Add testcontainers service connection auto-configuration
Add auto-configuration for `Container` beans that are also
annotated with `@ServiceConnection`. This commit allow
testcontainers to be used at development time and a new section
has been added to the documentation to describe the feature.

Closes gh-35022
2023-04-17 00:49:43 -07:00
Phillip Webb 91e6e4e391 Update documentation to note the spring-boot-testcontainers module
See gh-34757
2023-04-17 00:47:03 -07:00
Phillip Webb 1a0b9bdcd0 Move Testcontainers documentation from howto to features
Closes gh-35018
2023-04-17 00:46:11 -07:00
Phillip Webb 81a972af8d Refactor testcontainers service connections
Update restcontainers service connections support so that
technology specific `@ServiceConnector` annotations are not longer
required.

A single `@ServiceConnector` annotation can now be used to create
all `ConnectionDetail` beans.

Closes gh-35017
2023-04-17 00:45:39 -07:00
João Guilherme de Souza Lima b418ab8623 Clarify servlet container compatibility
See gh-34697
2023-04-11 15:31:16 +02:00
Stephane Nicoll a031bf4d58 Merge branch '3.0.x'
Closes gh-34867
2023-04-05 16:13:42 +02:00
Stephane Nicoll 579364c2ec Polish "Auto-configure observation for Spring-Batch"
See gh-34305
2023-04-05 16:12:49 +02:00
Isabek Tashiev e186d441ed Document requirement for Maven 3.6.3 and later
See gh-34759
2023-03-28 11:34:45 +01:00
Andy Wilkinson 95f45eab1f Create service connections from Testcontainers-managed containers
Building upon the auto-configuration support for service connections,
this commit adds support for deriving connection details from a
Testcontainers-managed container. Several service-specific
annotations have been introduced. These annotations can be used on a
container field to indicate that it is a source of the details for
a service connection.

See gh-34658

Co-Authored-By: Phillip Webb <pwebb@vmware.com>
Co-Authored-By: Mortitz Halbritter <mkammerer@vmware.com>
2023-03-24 10:04:21 +00:00
Andy Wilkinson 35a7669e0e Merge branch '3.0.x'
Closes gh-34727
2023-03-23 07:47:34 +00:00
Andy Wilkinson 26376ffcb1 Merge branch '2.7.x' into 3.0.x
Closes gh-34726
2023-03-23 07:47:16 +00:00
Andy Wilkinson 1fc3c34fa2 Document support for Java 20
Closes gh-34642
2023-03-23 07:45:46 +00:00
Andy Wilkinson f06536f642 Polish Authorization Server auto-configuration 2023-03-22 19:26:38 +00:00
Steve Riesenberg 25d77ee70b Add Spring Authorization Server support
See gh-34003
2023-03-21 17:00:35 -07:00
Scott Frederick a27bbbdfff Merge branch '3.0.x'
Closes gh-34707
2023-03-21 15:20:10 -05:00
swapy a450d8582d Fix typo in Spring Batch auto-configuration documentation
See gh-34646
2023-03-21 15:16:09 -05:00
Scott Frederick 80403b2ea8 Merge branch '3.0.x'
Closes gh-34706
2023-03-21 15:06:58 -05:00
Scott Frederick a8016b553e Merge branch '2.7.x' into 3.0.x
Closes gh-34705
2023-03-21 15:06:48 -05:00
Scott Frederick 1c05ad2852 Polish "Clarify conventions for custom error pages in WebFlux"
See gh-34534
2023-03-21 14:59:07 -05:00
Dave Syer f285364f22 Clarify conventions for custom error pages in WebFlux
See gh-34534
2023-03-21 14:59:07 -05:00
Scott Frederick 3d65be0e1c Merge branch '3.0.x'
Closes gh-34660
2023-03-20 18:39:26 -05:00
Scott Frederick 86a1cfff6f Merge branch '2.7.x' into 3.0.x
Closes gh-34659
2023-03-20 18:39:11 -05:00
Scott Frederick 6dc0f90e00 Polish "Disable embedded web auto-config when not using embedded web server"
See gh-34332
2023-03-20 18:38:04 -05:00
Guirong Hu b2facecb12 Disable embedded web auto-config when not using embedded web server
See gh-34332
2023-03-20 18:14:58 -05:00
Andy Wilkinson d51a042cb2 Merge branch '3.0.x'
Closes gh-34603
2023-03-14 14:52:57 +00:00
Andy Wilkinson 7f807dccb7 Merge branch '2.7.x' into 3.0.x
Closes gh-34602
2023-03-14 14:52:27 +00:00
Andy Wilkinson da156224aa Polish "Update two references to old APIs in the docs"
See gh-34567
2023-03-14 14:50:51 +00:00
1993heqiang e447c49f3b Update two references to old APIs in the docs
See gh-34567
2023-03-14 14:48:19 +00:00
Andy Wilkinson 671d8a876f Merge branch '3.0.x'
Closes gh-34463
2023-03-03 10:47:28 +00:00
Andy Wilkinson 6a95f44f67 Merge branch '2.7.x' into 3.0.x
Closes gh-34462
2023-03-03 10:47:08 +00:00
Andy Wilkinson 68a1dd3a76 Document support for Gradle 8
Closes gh-34458
2023-03-03 10:42:28 +00:00
Moritz Halbritter ee08614bf9 Merge branch '3.0.x'
Closes gh-34456
2023-03-03 09:50:02 +01:00