Commit Graph

3363 Commits (2011c95c75ed66b305c9814d9529b986007ccdf5)

Author SHA1 Message Date
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
2 years ago
Phillip Webb 91e6e4e391 Update documentation to note the spring-boot-testcontainers module
See gh-34757
2 years ago
Phillip Webb 1a0b9bdcd0 Move Testcontainers documentation from howto to features
Closes gh-35018
2 years ago
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
2 years ago
Phillip Webb 11dac5b5b7 Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service
connectors code.

Closes gh-34757
2 years ago
Phillip Webb 053c968fb4 Polish 2 years ago
Phillip Webb 00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2 years ago
Stephane Nicoll c559bb2b69 Merge branch '3.0.x'
Closes gh-34941
2 years ago
Stephane Nicoll 86a8ed1d81 Merge branch '2.7.x' into 3.0.x
Closes gh-34940
2 years ago
Gerrit Meier 96919b4fcd Use current Neo4j version in testcontainers
See gh-34775
2 years ago
João Guilherme de Souza Lima b418ab8623 Clarify servlet container compatibility
See gh-34697
2 years ago
Stephane Nicoll a031bf4d58 Merge branch '3.0.x'
Closes gh-34867
2 years ago
Stephane Nicoll 579364c2ec Polish "Auto-configure observation for Spring-Batch"
See gh-34305
2 years ago
Isabek Tashiev e186d441ed Document requirement for Maven 3.6.3 and later
See gh-34759
2 years ago
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>
2 years ago
Andy Wilkinson 35a7669e0e Merge branch '3.0.x'
Closes gh-34727
2 years ago
Andy Wilkinson 26376ffcb1 Merge branch '2.7.x' into 3.0.x
Closes gh-34726
2 years ago
Andy Wilkinson 1fc3c34fa2 Document support for Java 20
Closes gh-34642
2 years ago
Andy Wilkinson f06536f642 Polish Authorization Server auto-configuration 2 years ago
Steve Riesenberg 25d77ee70b Add Spring Authorization Server support
See gh-34003
2 years ago
Scott Frederick a27bbbdfff Merge branch '3.0.x'
Closes gh-34707
2 years ago
swapy a450d8582d Fix typo in Spring Batch auto-configuration documentation
See gh-34646
2 years ago
Scott Frederick 80403b2ea8 Merge branch '3.0.x'
Closes gh-34706
2 years ago
Scott Frederick a8016b553e Merge branch '2.7.x' into 3.0.x
Closes gh-34705
2 years ago
Scott Frederick 1c05ad2852 Polish "Clarify conventions for custom error pages in WebFlux"
See gh-34534
2 years ago
Dave Syer f285364f22 Clarify conventions for custom error pages in WebFlux
See gh-34534
2 years ago
Scott Frederick 3d65be0e1c Merge branch '3.0.x'
Closes gh-34660
2 years ago
Scott Frederick 86a1cfff6f Merge branch '2.7.x' into 3.0.x
Closes gh-34659
2 years ago
Scott Frederick 6dc0f90e00 Polish "Disable embedded web auto-config when not using embedded web server"
See gh-34332
2 years ago
Guirong Hu b2facecb12 Disable embedded web auto-config when not using embedded web server
See gh-34332
2 years ago
Andy Wilkinson d51a042cb2 Merge branch '3.0.x'
Closes gh-34603
2 years ago
Andy Wilkinson 7f807dccb7 Merge branch '2.7.x' into 3.0.x
Closes gh-34602
2 years ago
Andy Wilkinson da156224aa Polish "Update two references to old APIs in the docs"
See gh-34567
2 years ago
1993heqiang e447c49f3b Update two references to old APIs in the docs
See gh-34567
2 years ago
Andy Wilkinson 671d8a876f Merge branch '3.0.x'
Closes gh-34463
2 years ago
Andy Wilkinson 6a95f44f67 Merge branch '2.7.x' into 3.0.x
Closes gh-34462
2 years ago
Andy Wilkinson 68a1dd3a76 Document support for Gradle 8
Closes gh-34458
2 years ago
Moritz Halbritter ee08614bf9 Merge branch '3.0.x'
Closes gh-34456
2 years ago
Mahmoud Ben Hassine 04bbbb4e4a Update Batch documentation
This commit updates the documentation about how
to configure Spring Batch v5 with Spring Boot v3.

See gh-34437
2 years ago
Moritz Halbritter 2becf70c2a Polish "Add RabbitTemplateCustomizer"
See gh-34050
2 years ago
Moritz Halbritter 54e9b2269e Merge branch '3.0.x'
Closes gh-34416
2 years ago
Damiano Albani ea70ff7efe Fix typo
See gh-34398
2 years ago
Moritz Halbritter e821085752 Merge branch '3.0.x'
Closes gh-34415
2 years ago
Moritz Halbritter e407515a0f Merge branch '2.7.x' into 3.0.x
Closes gh-34414
2 years ago
Jongwoo Han 8e166595c0 Fix typo in external-config.adoc
See gh-34386
2 years ago
Phillip Webb 157091a811 Merge branch '3.0.x' 2 years ago
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb a5902d7a00 Update copyright year of changed files 2 years ago
Andy Wilkinson f6e208c647 Merge branch '3.0.x'
See gh-34235
2 years ago
Andy Wilkinson 88de3cc089 Temporarily remove auto-config for Reactor context propagation
See gh-34201
2 years ago
Phillip Webb b07269a018 Merge branch '3.0.x' 2 years ago
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2 years ago
Brian Clozel ea6ed4b486 Merge branch '3.0.x'
Closes gh-34235
2 years ago
Brian Clozel 4da42c09a6 Configure automatic context propagation for Reactor
This commit adds a new configuration property,
`spring.reactor.context-propagation` that configures the context
propagation mode for Reactor operators. By default the value is set to
"AUTO" for reinstating automatically context values as ThreadLocals
within Reactor operators. The "LIMITED" mode restricts this feature ot
the "tap" and "handle" operators but has a slightly lower footprint.

Closes gh-34201
2 years ago
Andy Wilkinson f387dce5f1 Merge branch '3.0.x'
Closes gh-34204
2 years ago
Andy Wilkinson 9031b52d70 Merge branch '2.7.x' into 3.0.x
Closes gh-34203
2 years ago
Jerome Prinet cfd589c8ce Do not cache :spring-boot-project:spring-boot-docs:asciidoctor* tasks
See gh-34199
2 years ago
Andy Wilkinson b9aae4c808 Merge branch '3.0.x'
Closes gh-34193
2 years ago
Andy Wilkinson 3e618fe70b Merge branch '2.7.x' into 3.0.x
Closes gh-34192
2 years ago
Andy Wilkinson 710559297e Polish "Fix bean name by adding sample class with prefix"
See gh-34029
2 years ago
Raina Banerjee 0a3007133b Fix bean name by adding sample class with prefix
See gh-34029
2 years ago
Andy Wilkinson 02560ded8d Merge branch '3.0.x'
Closes gh-34191
2 years ago
Andy Wilkinson 864dfe32a5 Merge branch '2.7.x' into 3.0.x
Closes gh-34190
2 years ago
Andy Wilkinson fe944ca5cd Polish "Document addition config for throw-exception-if-no-handler-found"
See gh-31660
2 years ago
Michal Domagala 2cad4a7174 Document addition config for throw-exception-if-no-handler-found
See gh-31660
2 years ago
Scott Frederick 12537c7170 Merge branch '3.0.x'
Closes gh-34162
2 years ago
Scott Frederick cbac3c81d6 Merge branch '2.7.x' into 3.0.x
Closes gh-34161
2 years ago
Scott Frederick 33aef7fe27 Update CLI installation docs to download releases from Maven Central
Closes gh-33962
2 years ago
Moritz Halbritter 5fb8484f29 Merge branch '3.0.x'
Closes gh-34074
2 years ago
Johnny Lim 0bca966c19 Update "Customizing Sanitization" documentation
See gh-34051
2 years ago
Andy Wilkinson 2f2738e5ea Merge branch '3.0.x'
Closes gh-34042
2 years ago
Andy Wilkinson 0184548be1 Merge branch '2.7.x' into 3.0.x
Closes gh-34041
2 years ago
Andy Wilkinson 2bf780237a Polish "Add Redis application properties example"
See gh-33965
2 years ago
Marcel Wollschläger b6f900dd98 Add Redis application properties example
For the `Connect to Redis` section in the documentation also mention how
to configure the Redis connection via application properties similar
to the other connectors (Mongodb, Elasticsearch, Neo4j, ...).

See gh-33965
2 years ago
Yubao Liu 6ba5329a79 Allow different log level for FILE and CONSOLE appender
- java.util.logging isn't supported yet

See gh-32076
2 years ago
Moritz Halbritter 0a080736d8 Merge branch '2.7.x' into 3.0.x
Closes gh-34017
2 years ago
Johnny Lim 5eeb429e44 Polish
See gh-33966
2 years ago
Phillip Webb 058914f1cf Merge branch '2.7.x' into 3.0.x
Closes gh-33995
2 years ago
Phillip Webb c7a8151313 Restore "Use Jedis Instead of Lettuce" how-to documentation
Closes gh-33994
2 years ago
Andy Wilkinson ff630c4647 Correct link to Actuator's HTTP Exchange Recording support
Closes gh-33933
2 years ago
Phillip Webb a995741ed4 Merge branch '2.7.x'
Closes gh-33933
2 years ago
Phillip Webb b7ae9fbfdf Restore actuator section in documentation overview
Closes gh-33932
2 years ago
IDJack 400167532e Fix typo in testing-native-application.adoc
See gh-33896
2 years ago
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2 years ago
Phillip Webb 7c508fa324 Update copyright year of changed files 2 years ago
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2 years ago
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2 years ago
Moritz Halbritter 4735a0fb7e Merge branch '2.7.x'
Closes gh-33869
2 years ago
zhangyanyue 1eb394f958 Fix typo in kotlin getting started documentation
See gh-33867
2 years ago
Phillip Webb a889c539ab Merge branch '2.7.x' 2 years ago
Phillip Webb a0fe8241a7 Update copyright year of changed files 2 years ago
IDJack 1a37cd80db Fix typo in documentation
See gh-33732
2 years ago
Moritz Halbritter 21f360bae9 Merge branch '2.7.x'
Closes gh-33857
2 years ago
Johnny Lim 3983d49523 Update com.gorylenko.gradle-git-properties version to 2.4.1 in doc
See gh-33838
2 years ago
Brian Clozel febca4aa5e Refer to external docs for observability support
This commit removes the `KeyValues` listed in the Spring Boot reference
documentation, since now support is implemented in Spring projects
directly and documentation is maintained there.

This change adds links to the relevant sections in the Spring Framework
and Spring for GraphQL reference docs.
2 years ago
Phillip Webb 2cdd071775 Update getting started documentation to use @SpringBootApplication
Closes gh-32795
2 years ago
qyqcswill 7afc42392a Fix docs with repeated words
See gh-33749
2 years ago
Moritz Halbritter 52760f6b78 Merge branch '2.7.x'
Closes gh-33756
2 years ago
Moritz Halbritter 17d4fb1e60 Fix HTTP/2 documentation
Closes gh-33734
2 years ago
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2 years ago
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2 years ago
Moritz Halbritter 5a70422d1d Add reference to Spring Authorization Server project 2 years ago
Moritz Halbritter 56b51d01a7 Clarify that AOT uses code generation 2 years ago
Moritz Halbritter 3c45a805f5 Polish documentation 2 years ago
Moritz Halbritter 648db6d1ea Remove reference to spring-cli run command from documentation 2 years ago
Moritz Halbritter 9e414fa263 Update minimum required maven version to 3.5 in documentation 2 years ago
Moritz Halbritter c0728e1288 Polish documentation 2 years ago
Moritz Halbritter 5a97c1493e Update Java 11 to Java 17 in documentation 2 years ago
Moritz Halbritter 7922ac63bc Polish documentation 2 years ago
Moritz Halbritter 1e70822adb Fix javax with jakarta references in documentation 2 years ago
Sanan f291695bda Remove run example from documentation
See gh-33519
2 years ago
rfigueroa 2b3a24be18 Update dockerfile samples to use Java 17
See gh-33629
2 years ago
Moritz Halbritter 6a6ecad325 Merge branch '2.7.x'
Closes gh-33728
2 years ago
Joseph Lane 54754d2c7a Fix typo in External Configuration documentation
See gh-33630
2 years ago
Moritz Halbritter f11de0c4cf Merge branch '2.7.x'
Closes gh-33726
2 years ago
Bart aa8a531731 Fix a type in the ExitCodeGenerator documentation
See gh-33658
2 years ago
Moritz Halbritter b641073777 Merge branch '2.7.x'
Closes gh-33725
2 years ago
Christoph Dreis 1b4ef5db0f Update copyrights to 2023
See gh-33682
2 years ago
Phillip Webb 0254619782 Merge branch '2.7.x' 2 years ago
Phillip Webb e4772cf3b7 Update copyright year of changed files 2 years ago
Brian Clozel 28f9f20d39 Declare order for ServerHttpObservationFilter WebFilter
This commit declares an `@Order` for the `ServerHttpObservationFilter`
bean declaration in the Observation WebFlux auto-configuration.

This allows developers to consistently order other `WebFilter` instances
relatively to this one. Here, `@Order(Ordered.HIGHEST_PRECEDENCE + 1)`
has been chosen to align with the order of its MVC counterpart.

Fixes gh-33444
2 years ago
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2 years ago
Scott Frederick 87fd27c329 Merge branch '2.7.x' 2 years ago
Scott Frederick 3f33fa3f45 Polish documentation 2 years ago
Daniel Oh f1edd17a42 Fix a typo in docs
See gh-33453
2 years ago
Johnny Lim 78b43279a7 Polish
See gh-33455
2 years ago
Johnny Lim 90589fd6d4 Polish
See gh-33384
2 years ago
Moritz Halbritter 351084ea06 Document that native-maven-plugin is required for native images
Closes gh-33422
2 years ago
Moritz Halbritter 8626bdc05b Merge branch '2.7.x' 2 years ago
Moritz Halbritter e755f5107e Fix formatting 2 years ago
Moritz Halbritter 41f6d54020 Merge branch '2.7.x'
Closes gh-33410
2 years ago
Moritz Halbritter 20d51a128b Clarify that shutdown endpoint only works in jar packaging
Closes gh-17398
2 years ago
Brian Clozel d48ab37505 Reinstate GraphQL testing documentation
Closes gh-33407
2 years ago
Andy Wilkinson 92415c996a Fix formatting of NEVER's description
Closes gh-33398
2 years ago
Moritz Halbritter 012e13527a Fix typo in documentation 2 years ago
Moritz Halbritter 39aaab082b Polish "Document observation for R2DBC"
See gh-33335
2 years ago
Tadaya Tsuyukubo 9ddad34f42 Document observation for R2DBC
Adds a link to the R2DBC observation repo in documentation.

See gh-33335
2 years ago
Moritz Halbritter 26db0c7120 Merge branch '2.7.x' 2 years ago
Moritz Halbritter 2170941cf6 Update Kotlin example for Tomcat connector customization
See gh-33331
2 years ago
Moritz Halbritter 9af2a5712c Merge branch '2.6.x' into 2.7.x
Closes gh-33331
2 years ago
Moritz Halbritter b00f4f926a Create a HTTP connector in the custom tomcat connector example
Closes gh-28707
2 years ago
Moritz Halbritter d9aea476b4 Merge branch '2.7.x'
Closes gh-33327
2 years ago
Moritz Halbritter 1da3a9d636 Merge branch '2.6.x' into 2.7.x
Closes gh-33326
2 years ago
Moritz Halbritter ae8ec86486 Clarify startup probe in actuator documentation
Closes gh-28432
2 years ago
Brian Clozel 07766c436c Apply user-provided ObservationConventions in auto-configurations
Prior to this commit, we would advise developers, as migration path from
Spring Boot 2.0-x metrics, to create `GlobalObservationConvention` beans
for the observations they want to customize (observation name or key
values).

`GlobalObservationConvention` are currently applied **in addition** to
the chosen convention in some cases, so this does not work well with
this migration path.

Instead, instrumentations always provide a default convention but also a
way to configure a custom convention for their observations. Spring Boot
should inject custom convention beans in the relevant
auto-configurations.

Fixes gh-33285
2 years ago
Moritz Halbritter 369424853b Update links to GraalVM page on wiki 2 years ago
Andy Wilkinson cb14089d24 Align reference docs with @Timed changes
Closes gh-33282
2 years ago
Andy Wilkinson 4100561b3d Align docs with tags provider and contributor changes
Closes gh-33281
2 years ago
Andy Wilkinson 1f7da3e4eb Merge branch '2.7.x'
Closes gh-33266
2 years ago