Commit Graph

3314 Commits

Author SHA1 Message Date
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
Phillip Webb 11dac5b5b7 Create dedicated spring-boot-testcontainers module
Create a dedicated testcontainers module containing the service
connectors code.

Closes gh-34757
2023-04-17 00:42:31 -07:00
Phillip Webb 053c968fb4 Polish 2023-04-14 17:44:15 -07:00
Phillip Webb 00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2023-04-14 17:39:48 -07:00
Stephane Nicoll c559bb2b69 Merge branch '3.0.x'
Closes gh-34941
2023-04-11 16:55:43 +02:00
Stephane Nicoll 86a8ed1d81 Merge branch '2.7.x' into 3.0.x
Closes gh-34940
2023-04-11 16:53:17 +02:00
Gerrit Meier 96919b4fcd Use current Neo4j version in testcontainers
See gh-34775
2023-04-11 16:49:27 +02: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
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
2023-03-03 09:46:37 +01:00
Moritz Halbritter 2becf70c2a Polish "Add RabbitTemplateCustomizer"
See gh-34050
2023-03-01 13:03:21 +01:00
Moritz Halbritter 54e9b2269e Merge branch '3.0.x'
Closes gh-34416
2023-03-01 12:43:58 +01:00
Damiano Albani ea70ff7efe Fix typo
See gh-34398
2023-03-01 12:43:19 +01:00
Moritz Halbritter e821085752 Merge branch '3.0.x'
Closes gh-34415
2023-03-01 12:41:24 +01:00
Moritz Halbritter e407515a0f Merge branch '2.7.x' into 3.0.x
Closes gh-34414
2023-03-01 12:41:13 +01:00
Jongwoo Han 8e166595c0 Fix typo in external-config.adoc
See gh-34386
2023-03-01 12:40:21 +01:00
Phillip Webb 157091a811 Merge branch '3.0.x' 2023-02-22 18:36:57 -08:00
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2023-02-22 18:36:16 -08:00
Phillip Webb a5902d7a00 Update copyright year of changed files 2023-02-22 18:35:17 -08:00
Andy Wilkinson f6e208c647 Merge branch '3.0.x'
See gh-34235
2023-02-22 21:29:28 +00:00
Andy Wilkinson 88de3cc089 Temporarily remove auto-config for Reactor context propagation
See gh-34201
2023-02-22 21:10:59 +00:00
Phillip Webb b07269a018 Merge branch '3.0.x' 2023-02-21 23:20:07 -08:00
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2023-02-21 23:17:57 -08:00
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
Brian Clozel ea6ed4b486 Merge branch '3.0.x'
Closes gh-34235
2023-02-20 10:26:11 +01:00
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
2023-02-20 10:22:57 +01:00
Andy Wilkinson f387dce5f1 Merge branch '3.0.x'
Closes gh-34204
2023-02-15 14:08:59 +00:00
Andy Wilkinson 9031b52d70 Merge branch '2.7.x' into 3.0.x
Closes gh-34203
2023-02-15 14:08:47 +00:00
Jerome Prinet cfd589c8ce Do not cache :spring-boot-project:spring-boot-docs:asciidoctor* tasks
See gh-34199
2023-02-15 14:06:53 +00:00
Andy Wilkinson b9aae4c808 Merge branch '3.0.x'
Closes gh-34193
2023-02-14 21:20:35 +00:00
Andy Wilkinson 3e618fe70b Merge branch '2.7.x' into 3.0.x
Closes gh-34192
2023-02-14 21:20:23 +00:00
Andy Wilkinson 710559297e Polish "Fix bean name by adding sample class with prefix"
See gh-34029
2023-02-14 21:19:41 +00:00
Raina Banerjee 0a3007133b Fix bean name by adding sample class with prefix
See gh-34029
2023-02-14 21:18:04 +00:00
Andy Wilkinson 02560ded8d Merge branch '3.0.x'
Closes gh-34191
2023-02-14 21:05:35 +00:00
Andy Wilkinson 864dfe32a5 Merge branch '2.7.x' into 3.0.x
Closes gh-34190
2023-02-14 21:05:19 +00:00
Andy Wilkinson fe944ca5cd Polish "Document addition config for throw-exception-if-no-handler-found"
See gh-31660
2023-02-14 21:04:56 +00:00
Michal Domagala 2cad4a7174 Document addition config for throw-exception-if-no-handler-found
See gh-31660
2023-02-14 21:03:15 +00:00
Scott Frederick 12537c7170 Merge branch '3.0.x'
Closes gh-34162
2023-02-09 15:47:57 -06:00
Scott Frederick cbac3c81d6 Merge branch '2.7.x' into 3.0.x
Closes gh-34161
2023-02-09 15:47:34 -06:00
Scott Frederick 33aef7fe27 Update CLI installation docs to download releases from Maven Central
Closes gh-33962
2023-02-09 15:45:15 -06:00
Moritz Halbritter 5fb8484f29 Merge branch '3.0.x'
Closes gh-34074
2023-02-06 11:59:43 +01:00
Johnny Lim 0bca966c19 Update "Customizing Sanitization" documentation
See gh-34051
2023-02-06 11:57:25 +01:00
Andy Wilkinson 2f2738e5ea Merge branch '3.0.x'
Closes gh-34042
2023-02-01 15:49:31 +00:00
Andy Wilkinson 0184548be1 Merge branch '2.7.x' into 3.0.x
Closes gh-34041
2023-02-01 15:47:13 +00:00
Andy Wilkinson 2bf780237a Polish "Add Redis application properties example"
See gh-33965
2023-02-01 15:44:42 +00:00
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
2023-02-01 15:44:41 +00:00
Yubao Liu 6ba5329a79 Allow different log level for FILE and CONSOLE appender
- java.util.logging isn't supported yet

See gh-32076
2023-01-31 14:31:51 +01:00
Moritz Halbritter 0a080736d8 Merge branch '2.7.x' into 3.0.x
Closes gh-34017
2023-01-31 10:50:30 +01:00
Johnny Lim 5eeb429e44 Polish
See gh-33966
2023-01-31 10:48:30 +01:00
Phillip Webb 058914f1cf Merge branch '2.7.x' into 3.0.x
Closes gh-33995
2023-01-26 17:38:02 -08:00
Phillip Webb c7a8151313 Restore "Use Jedis Instead of Lettuce" how-to documentation
Closes gh-33994
2023-01-26 17:37:01 -08:00
Andy Wilkinson ff630c4647 Correct link to Actuator's HTTP Exchange Recording support
Closes gh-33933
2023-01-23 12:03:28 +00:00
Phillip Webb a995741ed4 Merge branch '2.7.x'
Closes gh-33933
2023-01-21 11:37:25 -08:00
Phillip Webb b7ae9fbfdf Restore actuator section in documentation overview
Closes gh-33932
2023-01-21 11:35:54 -08:00
IDJack 400167532e Fix typo in testing-native-application.adoc
See gh-33896
2023-01-19 12:02:17 +01:00
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2023-01-18 16:31:53 -08:00
Phillip Webb 7c508fa324 Update copyright year of changed files 2023-01-18 15:37:58 -08:00
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2023-01-18 17:35:52 +01:00
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2023-01-18 16:56:42 +01:00
Moritz Halbritter 4735a0fb7e Merge branch '2.7.x'
Closes gh-33869
2023-01-18 10:24:13 +01:00
zhangyanyue 1eb394f958 Fix typo in kotlin getting started documentation
See gh-33867
2023-01-18 10:23:24 +01:00
Phillip Webb a889c539ab Merge branch '2.7.x' 2023-01-17 10:12:25 -08:00
Phillip Webb a0fe8241a7 Update copyright year of changed files 2023-01-17 10:07:03 -08:00
IDJack 1a37cd80db Fix typo in documentation
See gh-33732
2023-01-17 14:40:14 +01:00
Moritz Halbritter 21f360bae9 Merge branch '2.7.x'
Closes gh-33857
2023-01-17 14:38:17 +01:00
Johnny Lim 3983d49523 Update com.gorylenko.gradle-git-properties version to 2.4.1 in doc
See gh-33838
2023-01-17 14:37:34 +01:00
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.
2023-01-13 11:56:36 +01:00
Phillip Webb 2cdd071775 Update getting started documentation to use @SpringBootApplication
Closes gh-32795
2023-01-12 10:09:33 +01:00
qyqcswill 7afc42392a Fix docs with repeated words
See gh-33749
2023-01-11 13:47:22 +01:00
Moritz Halbritter 52760f6b78 Merge branch '2.7.x'
Closes gh-33756
2023-01-11 13:42:11 +01:00