Commit Graph

3548 Commits (root-patch-2)

Author SHA1 Message Date
Andy Wilkinson 00264cb9c8 Merge branch '3.1.x'
Closes gh-36790
1 year ago
Andy Wilkinson f0343df9c5 Merge branch '3.0.x' into 3.1.x
Closes gh-36789
1 year ago
Andy Wilkinson 406e934325 Merge branch '2.7.x' into 3.0.x
Closes gh-36788
1 year ago
Andy Wilkinson e7203e31c8 Correct documentation of default path matching strategy
Closes gh-32557
1 year ago
Andy Wilkinson e286213110 Merge branch '3.1.x'
Closes gh-36784
1 year ago
Andy Wilkinson f2fce3a008 Merge branch '3.0.x' into 3.1.x
Closes gh-36783
1 year ago
Andy Wilkinson a91f1f0387 Merge branch '2.7.x' into 3.0.x
Closes gh-36782
1 year ago
Andy Wilkinson db0ab9f580 Improve documentation for configuration of schema and data scripts
Closes gh-36176
1 year ago
Andy Wilkinson 3441833c5c Add missing Details class 1 year ago
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
1 year ago
Stephane Nicoll 870df5ab08 Merge branch '2.7.x' into 3.0.x
Closes gh-36761
1 year ago
Stephane Nicoll 5ed5820f92 Clarify expected jar size in getting started doc
Closes gh-34514
1 year ago
Stephane Nicoll c8334e90f8 Merge branch '3.1.x'
Closes gh-36757
1 year ago
Stephane Nicoll f7c8e48dc4 Merge branch '3.0.x' into 3.1.x
Closes gh-36756
1 year ago
Stephane Nicoll 89cb599d0d Merge branch '2.7.x' into 3.0.x
Closes gh-36755
1 year ago
Stephane Nicoll d101004d5f Document @DataR2dbcTest support
Closes gh-35014
1 year ago
Scott Frederick 6506208d29 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
1 year ago
Scott Frederick 63a8edfa15 Merge branch '3.1.x'
Closes gh-36691
1 year ago
Scott Frederick ecd2b0178f Merge branch '3.0.x' into 3.1.x
Closes gh-36690
1 year ago
Scott Frederick e25c267585 Update Paketo builder references in documentation
Closes gh-36688
1 year ago
Scott Frederick 2e50d11d86 Add since attribute to @DeprecatedConfigurationProperty annotation
Closes gh-36482
1 year ago
Stephane Nicoll 191ac10009 Deprecate support for OkHttp
Closes gh-36632
1 year ago
Moritz Halbritter 51008a7d39 Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
Closes gh-36651
1 year ago
Moritz Halbritter de4b2d679f Add documentation for SimpleAsyncTaskExecutorBuilder
See gh-35711
1 year ago
Moritz Halbritter 32c91af440 Add ThreadPoolTaskExecutorBuilder and deprecate TaskExecutorBuilder
Closes gh-36637
1 year ago
Andy Wilkinson 5c845c7ddc Merge branch '3.1.x'
Closes gh-36647
1 year ago
Andy Wilkinson 5f72e441d0 Polish "Add note about enabling docker compose support in tests"
See gh-36636
1 year ago
Matteo Bianchi 0e43e81e73 Add note about enabling docker compose support in tests
See gh-36636
1 year ago
Yanming Zhou f6eaedea35 Reinstate use of configprop macro
See gh-36604
1 year ago
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
1 year ago
Johnny Lim 96c9915f12 Polish
See gh-36565
1 year ago
Moritz Halbritter 5cc2d3b764 Merge branch '3.1.x'
Closes gh-36582
1 year ago
Moritz Halbritter 3edb3797a0 Merge branch '3.0.x' into 3.1.x
Closes gh-36581
1 year ago
Moritz Halbritter 1a8ffd54fc Merge branch '2.7.x' into 3.0.x
Closes gh-36580
1 year ago
Mahatma_Fatal_Error 98f76698c8 Fix server.forward-headers-strategy documentation
See gh-36564
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
Christoph Dreis 343c9c6f7e Remove references to Atomikos and Bitronix
See gh-35562
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
Andy Wilkinson 283dc37db3 Make AnnotatedControllerConfigurer use applicationTaskExecutor
Closes gh-36388
1 year ago
Andy Wilkinson d205d10519 Configure WebFlux's blocking execution to use applicationTaskExecutor
Closes gh-36331
1 year ago
Stephane Nicoll 60df7e3bce Polish contribution
See gh-36251
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
Christoph Dreis 8321887d6a Fix typos
See gh-36306
1 year ago
Andy Wilkinson b66eea8d2a Merge branch '3.1.x'
Closes gh-36356
1 year ago
Andy Wilkinson d5ca66d47c Merge branch '3.0.x' into 3.1.x
Closes gh-36355
1 year ago
Andy Wilkinson 2a5a5d19b7 Update Servlet container system requirements
Closes gh-36354
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 7c1b168ed6 Overhaul reference documentation for RestClient
Reorder "Calling REST services" documentation and add a new section
covering `RestClient`.

See gh-36213
1 year ago
Phillip Webb 8b3070e027 Merge branch '3.1.x' 1 year ago
Phillip Webb 034803ee2f Polish 1 year ago
Andy Wilkinson 62eb3d3051 Merge branch '3.1.x'
Closes gh-36234
1 year ago
Andy Wilkinson 0bfc3c3872 Merge branch '3.0.x' into 3.1.x
Closes gh-36233
1 year ago
Yanming Zhou 9439494923 Polish formatting in "Running Spring Batch Jobs on Startup"
See gh-36225
1 year ago
Andy Wilkinson c3e2c9d684 Polish "Support Jetty in ClientHttpRequestFactories"
See gh-36116
1 year ago
Phillip Webb 41cdfb891f Merge branch '3.1.x'
Closes gh-36220
1 year ago
Phillip Webb 2e11349c93 Merge branch '3.0.x' into 3.1.x
Closes gh-36219
1 year ago
Phillip Webb 9884abb379 Merge branch '2.7.x' into 3.0.x
Closes gh-36218
1 year ago
Phillip Webb fc31e14e72 Polish 'Improve Kubernetes probe customization documentation'
See gh-34978
1 year ago
Ivo Smid 028ff3a7be Improve Kubernetes probe customization documentation
See gh-34978
1 year ago
Andy Wilkinson eb58ade3a2 Merge branch '3.1.x'
Closes gh-36216
1 year ago
Andy Wilkinson 215763bded Merge branch '3.0.x' into 3.1.x
Closes gh-36215
1 year ago
Andy Wilkinson b764b5beee Merge branch '2.7.x' into 3.0.x
Closes gh-36214
1 year ago
Andy Wilkinson 1f75ba557e Document HTTP client auto-detection for RestTemplate and WebClient
Closes gh-34136
1 year ago
Andy Wilkinson ec8e1e2c95 Start building against Spring Data Bom 2023.1.0 snapshots
See gh-36190
1 year ago
Phillip Webb 8c3f847bfe Merge branch '3.1.x' 1 year ago
Phillip Webb 7c63870305 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb a14ddd6900 Polish adoc formatting 1 year ago
Andy Wilkinson 57ed2016b6 Merge branch '3.1.x'
Closes gh-36143
1 year ago
Andy Wilkinson 164bd7924e Merge branch '3.0.x' into 3.1.x
Closes gh-36142
1 year ago
Andy Wilkinson 3d1ca62a6f Merge branch '2.7.x' into 3.0.x
Closes gh-36141
1 year ago
Andy Wilkinson 362182efd8 Polish "Polish Kafka Properties Docs"
See gh-36032
1 year ago
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
1 year ago
Andy Wilkinson 60553415d0 Merge branch '3.1.x'
Closes gh-36140
1 year ago
Andy Wilkinson d7da2d9eb2 Merge branch '3.0.x' into 3.1.x
Closes gh-36139
1 year ago
Andy Wilkinson 66aa55b65d Merge branch '2.7.x' into 3.0.x
Closes gh-36138
1 year ago
JuHyeong Ahn dbdb4d4e8d Fix typo in Using R2DBC
See gh-36019
1 year ago
Moritz Halbritter b655523ef9 Merge branch '3.1.x'
Closes gh-36132
1 year ago
Moritz Halbritter 3d15b02441 Merge branch '3.0.x' into 3.1.x
Closes gh-36131
1 year ago
Moritz Halbritter 606063589f Document trace propagation with RestTemplate and WebClient
Closes gh-34053
1 year ago
Moritz Halbritter cff26d9843 Merge branch '3.1.x'
Closes gh-36113
1 year ago
Moritz Halbritter 20321b5685 Merge branch '3.0.x' into 3.1.x
Closes gh-36112
1 year ago
Moritz Halbritter 2b398827de Add "baggage" section to tracing docs
Closes gh-34977
1 year ago
Scott Frederick 67725d4781 Merge branch '3.1.x'
Closes gh-36052
1 year ago
James Stansell ea41a22284 Fix typo in docker compose service connections note
See gh-36016
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Phillip Webb 3a796aedea Merge branch '3.1.x' 1 year ago
Phillip Webb 31f218c4e0 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 9db3c5a2f7 Polish 1 year ago
Andy Wilkinson 68aec97ee7 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 5b69580d5d Merge branch '3.0.x' into 3.1.x
Closes gh-36004
1 year ago
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
1 year ago
Andy Wilkinson 1f9ce508f7 Upgrade to SnakeYAML 2.0
Closes gh-35982
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
Jonatan Ivanov 85934c3919
Merge branch '3.1.x'
Closes gh-35930
1 year ago
Johnny Lim 06157837e5
Polish
See gh-35872
1 year ago
Andy Wilkinson 740815da03 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
1 year ago
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
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
1 year ago
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
1 year ago
Moritz Halbritter 6eede829d2 Merge branch '3.1.x' 1 year ago
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
1 year ago
Moritz Halbritter 5b06224af5 Add property for common key/values on observations
- Deprecates 'management.metrics.tags.*'

Closes gh-33241
1 year ago
Moritz Halbritter 2e37c0da18 Merge branch '3.0.x'
Closes gh-35769
1 year ago
Moritz Halbritter a9b4e9327c Merge branch '2.7.x' into 3.0.x
Closes gh-35768
1 year ago
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
1 year ago
Moritz Halbritter 0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
1 year ago
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
1 year ago
Phillip Webb 1669b81af7 Add 'fromApplication' and 'with' Kotlin extension functions
Update `SpringApplicationExtensions.kt` with `fromApplication` and
`with` functions that make `SpringApplication.from(...)` easier to use
with Kotlin.

Fixes gh-35756
1 year ago
Yanming Zhou e8659da59b Fix error in SSL bundle documentation
See gh-35665
1 year ago
Moritz Halbritter eb9077df86 Document how to customize the JDBC parameters when using Docker Compose
Closes gh-35636
2 years ago
Andy Wilkinson 6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2 years ago
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2 years ago
Andy Wilkinson f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2 years ago
Bikash Adhikari 13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2 years ago
Moritz Halbritter b82e7a72b1 Move @Testcontainers before @SpringBootTest in documentation
Closes gh-35572
2 years ago
Stephane Nicoll 9643dbeed2 Merge branch '3.0.x'
Closes gh-35590
2 years ago
Christoph Dreis b2b5728995 Remove unnecessary exclude from spring-restdocs-mockmvc
See gh-35568
2 years ago
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2 years ago
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
2 years ago
Andy Wilkinson 1097164a0e Merge branch '3.0.x'
Closes gh-35457
2 years ago
Andy Wilkinson aabb164892 Merge branch '2.7.x' into 3.0.x
Closes gh-35456
2 years ago
Andy Wilkinson d66563d544 Polish "Improve formatting of Kotlin permitAll example"
See gh-35454
2 years ago
Junsu Park 11a1de1e64 Improve formatting of Kotlin permitAll example
See gh-35454
2 years ago
Phillip Webb ae90add7c7 Polish 2 years ago
Sébastien Deleuze becff01db1 Improve Kotlin Testcontainers samples
Make those code samples more idiomatic.

See gh-35446
2 years ago
Scott Frederick 271cbb76c1 Improve documentation for including Docker Compose support in a build
Closes gh-35384
2 years ago
Johnny Lim ff9fd1abeb Polish
See gh-35185
2 years ago
Yanming Zhou 1cddb2a55f Fix typo
See gh-35369
2 years ago
Moritz Halbritter 1504e3043d Document devtools when using testcontainers at dev time
See gh-35200
2 years ago
Moritz Halbritter afa929cd6b Polish documentation 2 years ago
Moritz Halbritter 4d14d0e437 Merge branch '3.0.x'
Closes gh-35321
2 years ago
Moritz Halbritter 8a14f6d017 Clarify conditional support when using AOT
Closes gh-35262
2 years ago
Moritz Halbritter c4deae3906 Document that Spring Boot by default calls 'docker compose stop' 2 years ago
Andy Wilkinson 4f9616c2f9 Change DockerComposeProperties shut down default to stop
Closes gh-35239
2 years ago
Moritz Halbritter 243b337954 Remove copyright from the anchor-rewrite.properties 2 years ago
Moritz Halbritter 46fedfc4ef Move JAR unpacking section and add AOT on JVM section
Closes gh-32905
2 years ago
Moritz Halbritter bdca30e85b Polish 2 years ago
Moritz Halbritter 71f4247340 Improve headings
See gh-32779
2 years ago
Moritz Halbritter 56b8e419be Update getting started with alternative gradle instructions
Closes gh-32779
2 years ago
Eddú Meléndez ad4f6ffeb7 Add service connection from Testcontainers Zipkin
See gh-35107
2 years ago
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
2 years ago