Commit Graph

3548 Commits (root-patch-2)

Author SHA1 Message Date
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
2 years ago
Phillip Webb a890323758 Merge branch '3.0.x' 2 years ago
Scott Frederick d913472919 Add Kotlin samples and polish SSL bundle documentation
Closes gh-35105
2 years ago
Andy Wilkinson d7da77bda8 Remove support for service connections to InfluxDB
Closes gh-35189
2 years ago
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
2 years ago
Andy Wilkinson 8bbe894665 Add Docker Compose service connection support for Oracle using JDBC
Closes gh-35145
2 years ago
Andy Wilkinson 1e785e81f8 Add Docker Compose support for Oracle Database using R2DBC
Closes gh-35143
2 years ago
Andy Wilkinson b5178afa21 Add Docker Compose support for MS SQL Server using JDBC
Closes gh-35146
2 years ago
Scott Frederick 43b42eca49 Add Docker Compose service connection support for Cassandra
Closes gh-35136
2 years ago
Andy Wilkinson dee5217cf0 Add Docker Compose support for MS SQL Server using R2DBC
Closes gh-35144
2 years ago
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
2 years ago
Stephane Nicoll 363dc9368d Merge branch '3.0.x'
Closes gh-35130
2 years ago
Stephane Nicoll 7f0402f869 Merge branch '2.7.x' into 3.0.x
Closes gh-35129
2 years ago
Ivan Dimitrov f4db73ead9 Harmonize references to application.yaml files in reference docs
See gh-34628
2 years ago
Lukasz Jernas d38a68ebcd Fix typo in testing docs
See gh-35128
2 years ago
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
2 years ago
Phillip Webb e19aa81813 Polish formatting 2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Scott Frederick a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
2 years ago
Andy Wilkinson c55d398f95 Validate health group includes and excludes
Closes gh-34360
2 years ago
Andy Wilkinson f2e5eab09c Polish does for reporting traces using OTLP
See gh-34508
2 years ago
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
2 years ago
Stephane Nicoll a323bd90a8 Polish "Reintroduce support for ActiveMQ"
See gh-35048
2 years ago
Martin BENDA 3e9908a797 Reintroduce support for ActiveMQ
See gh-35048
2 years ago
Andy Wilkinson 0da209db08 Polish "Add support for Oracle R2DBC Service Connection"
See gh-34852
2 years ago
Andy Wilkinson 98d077c74c Polish "Add service connection from Testcontainers Redpanda"
See gh-34780
2 years ago
Andy Wilkinson ce1c3e52d7 Merge branch '3.0.x'
Closes gh-35040
2 years ago
Andy Wilkinson d30f0575f0 Polish "Improve documentation of tracing deps and config props"
See gh-34991
2 years ago
Robert K dfe60cb2d3 Improve documentation of tracing deps and config props
See gh-34991
2 years ago
Eddú Meléndez aea5b77d1e Add missing containers configuration reference to code snippet
See gh-35031
2 years ago
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>
2 years ago
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
Andy Wilkinson 77cb05e804 Merge branch '2.6.x' into 2.7.x
Closes gh-33265
2 years ago
Andy Wilkinson ec467402b3 Link to Micrometer's documentation on @Timed
Closes gh-33264
2 years ago
Moritz Halbritter e9429b4652 Merge branch '2.7.x'
Closes gh-33260
2 years ago
Moritz Halbritter 2cee6a88e3 Merge branch '2.6.x' into 2.7.x
Closes gh-33259
2 years ago
Moritz Halbritter acb5491b79 Fix section links to not include .html suffix
Closes gh-33206
2 years ago
Moritz Halbritter edb0ee219d Merge branch '2.7.x'
Closes gh-33258
2 years ago
Moritz Halbritter b72b70f0ba Merge branch '2.6.x' into 2.7.x
Closes gh-33257
2 years ago
Moritz Halbritter d05e792157 Clarify spring.cache.type=hazelcast in the documentation
Closes gh-33245
2 years ago
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2 years ago
Moritz Halbritter 517ec654ed Document @NestedConstructorBinding in all cases
This covers Kotlin data classes, constructor injection and records.

Closes gh-33235
2 years ago
Moritz Halbritter 5a88468c09 Refine example to show @NestedConfigurationProperty usage
Closes gh-33239
2 years ago
Moritz Halbritter 5c10ae2f0b Revert "Remove unneeded NestedConfigurationProperty"
This reverts commit 8048e2d6c2.
2 years ago
Moritz Halbritter 8048e2d6c2 Remove unneeded NestedConfigurationProperty
Closes gh-33239
2 years ago
Moritz Halbritter b7de4020cb Mention @RegisterReflectionForBinding in the docs
Closes gh-32903
2 years ago
Andy Wilkinson 421f2fac67 Fail fast when constructor bound and not compiled with -parameters
Closes gh-33182
2 years ago
Johnny Lim 6027508cf7 Polish
See gh-33108
2 years ago
dreis2211 3b496766da Fix broken links in docs
See gh-33209
2 years ago
Stephane Nicoll 731797ed84 Merge branch '2.7.x'
Closes gh-33214
2 years ago
Stephane Nicoll 2fa1cc74ab Merge branch '2.6.x' into 2.7.x
Closes gh-33213
2 years ago
Stephane Nicoll 4d6f956b24 Fix summary of "Core Features" section
Closes gh-33207
2 years ago
Sébastien Deleuze 88cf2bbae9 Remove outdated native image documentation
See gh-33109
2 years ago
Phillip Webb 954ed3e15e Merge branch '2.7.x'
Closes gh-33102
2 years ago
Phillip Webb 9193e527cc Merge branch '2.6.x' into 2.7.x
Closes gh-33101
2 years ago
67 e55e23482a Fix kafka streams start description typo in documentation
See gh-33098
2 years ago
Scott Frederick a53141f8a4 Fix JMX exposure default in config metadata and docs
Fixes gh-33072
2 years ago
Johnny Lim ea4f22684d Polish Log4j2 changes
See gh-32742
2 years ago
Andy Wilkinson 1481676b54 Merge branch '2.7.x'
Closes gh-33069
2 years ago
Andy Wilkinson bb141ffc09 Merge branch '2.6.x' into 2.7.x
Closes gh-33068
2 years ago
EricGao888 569e752159 Fix a minor bug in an example in oauth2 doc
See gh-32931
2 years ago
Andy Wilkinson 6d1fca10a3 Polish "Remove Sleuth references in favor of Micrometer Tracing"
See gh-32994
2 years ago
Toshiaki Maki bf4c367d7e Remove Sleuth references in favor of Micrometer Tracing
See gh-32994
2 years ago
Andy Wilkinson 5a299dd501 Correct coordinates of Artemis' server artifact
Closes gh-33065
2 years ago
Andy Wilkinson df2445a6be Update docs now that GraalVM 22.3 is fully available
Closes gh-32813
2 years ago
Phillip Webb 2c193e7736 Remove legacy cookie processor documentation
Remove legacy processor documentation since support will be removed
in Tomcat 10.1.

Closes gh-33021
2 years ago
Moritz Halbritter 5d1ff17a0a Add Micrometer Observability documentation
Closes gh-32833
Closes gh-32912
2 years ago
Phillip Webb 9856286a2d Refine actuator httpexhanges naming
See gh-32885
2 years ago
Phillip Webb 3e50836b1a Rename httptrace endpoint and related classes to httpexchanges
Rename `/actuator/httptrace` to `/actuator/httpexchanges` to better
describe its purpose and to remove confusion with distribute tracing.

This change also takes the opportunity to improve the code by making
the `HttpExchange` class (previously `HttpTrace`) fully immutable.

Closes gh-32885

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
2 years ago
Andy Wilkinson 67e4ac4f1e Remove stale reference to MetricsWebFilter from the docs
Closes gh-32909
2 years ago
Moritz Halbritter 40e2d0b8cd Remove mention of the Infinispan Spring Boot starter
The starter is not yet Spring Boot 3 compatible.

Closes gh-32896
2 years ago
Phillip Webb a59b6cb1f3 Polish 2 years ago
Phillip Webb 4be3218cb6 Merge branch '2.7.x' 2 years ago
Moritz Halbritter 605dd3d4bd Polish docs 2 years ago
Moritz Halbritter ff6d9aa881 Polish "Add micrometer tracing documentation" 2 years ago
Moritz Halbritter e999513838 Add micrometer tracing documentation
Closes gh-30658
2 years ago
Scott Frederick 072ce5c151 Fix versions in documentation links
Fixes gh-32772
2 years ago
Scott Frederick bdedae21c0 Polish native image documentation
See gh-32582
2 years ago
Stephane Nicoll 010891a3c6 Merge branch '2.7.x'
Closes gh-32821
2 years ago
Stephane Nicoll 7bd9754ce1 Merge branch '2.6.x' into 2.7.x
Closes gh-32820
2 years ago
James Seung Hyun Son 5e0a67ac66 Fix typos in logging.adoc
See gh-32812
2 years ago
Stephane Nicoll 74a8eb7160 Merge branch '2.7.x'
Closes gh-32819
2 years ago
Stephane Nicoll 13691f27bd Merge branch '2.6.x' into 2.7.x
Closes gh-32818
2 years ago
Stephane Nicoll 4d7cb7144e Upgrade copyright year of changed files
See gh-32644
2 years ago
Ada-Claire c5a1944267 Harmonize ConfigurationProperties code samples
Rename the SomeProperties class so that it is consistent with other
examples given within the Type-safe Configuration Properties. This
ensures that readers can intuitively draw the conclusion that the
MyProperties class is annotated with ConfigurationProperties.

See gh-32644
2 years ago
Moritz Halbritter 1635f61368 Update GraalVM requirement to 22.3
See gh-32813
2 years ago
Phillip Webb 73a34b6c0a Fix checkstyle issues
See gh-32582
2 years ago
Phillip Webb fb736e8427 Add native image reference documentation
Update reference documentation with a new "native image" section.

This commit includes some work derived from the "Spring Native"
project documentation written by Andy Clement, Sébastien Deleuze,
Filip Hanik, Dave Syer, Esteban Ginez, Jay Bryant, Brian Clozel,
Stéphane Nicoll, and Josh Long.

Closes gh-32582

Co-authored-by: Moritz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb 0219b222c2 Merge branch '2.7.x' 2 years ago
Phillip Webb d3750c4991 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb c416c17fe8 Polish documentation title case 2 years ago
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2 years ago
Brian Clozel b2fe807d47 Move MVC metrics to Observation auto-configuration
This commit moves the entire Metrics auto-configuration for Spring MVC
to the new `Observation` API and the instrumentation contributed in
Spring Framework.

Closes gh-32538
2 years ago
Phillip Webb 43a44006c9 Update getting started documentation to use @SpringBootApplication
Closes gh-32780
2 years ago
Phillip Webb 8dadf86f93 Merge branch '2.7.x'
Closes gh-32778
2 years ago
Phillip Webb fcaac2b343 Merge branch '2.6.x' into 2.7.x
Closes gh-32777
2 years ago
Guirong Hu 33e379c4a2 Use exclamation character for the document separator prefix
See gh-32521
2 years ago
Phillip Webb cb48674536 Switch Java versions used in documentation
See gh-32746
2 years ago
Phillip Webb 7d03a201c0 Switch Java version displayed in documentation
Closes gh-32746
2 years ago
Phillip Webb 76ef540716 Merge branch '2.7.x' 2 years ago
Phillip Webb 0f4a978731 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2 years ago
Phillip Webb 029aab6b58 Document Log4j2 extensions
See gh-32578
2 years ago
Emil ea654b42fa Fix typo "Elastixsearch"
See gh-32656
2 years ago
Johnny Lim 73fd760137 Polish HTTP client observability changes
See gh-32484
See gh-32518

Closes gh-32636
2 years ago
Brian Clozel 23a9818e0d Auto-configure ProblemDetails support
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.

Closes gh-32634
2 years ago
Brian Clozel d25fc73dae Upgrade to Neo4J Java Driver 5.0.0
Closes gh-32620
2 years ago
Andy Wilkinson 4f86f685c5 Reinstate support for Infinispan
Closes gh-32556
2 years ago
Andy Wilkinson 51df7813a5 Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548
Closes gh-32549
2 years ago
Brian Clozel 7f7ecdc7ac Fix documentation build
See gh-32518
2 years ago
Brian Clozel a0735eb3fb Migrate remaining usage of httpclient API
This commit migrates our remaining usage of the httpclient 4.x to use
instead httpclient5, now that the 4.x support has been removed in
`RestTemplate`.

Closes gh-32461
2 years ago
Brian Clozel 5fb2a50ad0 Adapt build dependencies to httpclient5
As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.

See gh-32461
2 years ago
Brian Clozel b325edbc55 Polish
See gh-32484
2 years ago
Stephane Nicoll fcafd2abdb Merge branch '2.7.x'
Closes gh-32516
2 years ago
Stephane Nicoll cb191dfec2 Merge branch '2.6.x' into 2.7.x
Closes gh-32515
2 years ago
heqiang 5db6cc1cba Remove redundant @ExtendWith(SpringExtension.class) for sample
See gh-32476
2 years ago
Andy Wilkinson 9d30de9966 Exclude all tools projects from the aggregated javadoc
Closes gh-31955
2 years ago
Andy Wilkinson f67db3d9ad Move spring-boot-cli into spring-boot-tools
Closes gh-32492
2 years ago
Vedran Pavic 230f2cda84 Migrate to AuthorizationFilter in Spring Security auto-config
This commit updates Servlet based Spring Security auto-configuration
to use AuthorizationFilter, which is intended to supersede
FilterSecurityInterceptor.

See gh-31255
2 years ago
Scott Frederick f9c341c75a Revert "Generate the AutoConfiguration.imports file from annotations"
This reverts commit da4de7d67d.
2 years ago
Brian Clozel 56dcae8a3c Merge branch '2.7.x'
Closes gh-32471
2 years ago
Brian Clozel 8f9323d66c Document "classpath:*" location for GraphQL Schemas
This commit mentions the `"classpath*:graphql/**` schema location in
case the application needs to find schemas across multiple classpath
roots, for example across multiple modules.

Closes gh-31772
2 years ago
Andy Wilkinson f731279fef Merge branch '2.7.x'
Closes gh-32403
2 years ago
Andy Wilkinson 7827e8166e Merge branch '2.6.x' into 2.7.x
Closes gh-32402
2 years ago
Andy Wilkinson ab26050fe7 Document support for Java 19
Closes gh-32259
2 years ago
Phillip Webb 7f5785182d Switch @SpringBootTest to UseMainMethod.NEVER by default
See gh-22405
2 years ago
Phillip Webb 48f3cd75d4 Refine SpringBootTest.useMainMethod support
Refine `SpringBootContextLoader` so that calls to the main method do
not exit early and the hook is only used when necessary.

See gh-22405
2 years ago
Phillip Webb 41e0bbf4bb Add SpringBootTest.useMainMethod support
Add a new `useMainMethod` attribute to `SpringBootTest` which can be
used to determine how the test should run. The three available options
are:

	- `ALWAYS`
	- `NEVER`
	- `WHEN_AVAILABLE`

The default is `WHEN_AVAILABLE` which will attempt to launch the test
using the `main` method if there is one.

The `SpringBootContextLoader` has been updated to use the new
`SpringApplicationHook` interface when the main method is being used.

Closes gh-22405
2 years ago
Stephane Nicoll ebef52b207 Merge branch '2.7.x'
Closes gh-32292
2 years ago
Stephane Nicoll 04a668fd07 Merge branch '2.6.x' into 2.7.x
Closes gh-32291
2 years ago
Oliver B. Fischer 6e4e76597a Make the path of the config directory better understandable
Currently, the documentation relates to the subdirectory for external
configurations as `/config`. Read as UNIX path, the leading slash
could be read as reference to the root directory `/`.

This commit updates the documentation to use 'config/' instead.

See gh-32224
2 years ago
Andy Wilkinson 0555dda63d Remove rarely used commands from the CLI
Closes gh-32263
2 years ago
Vedran Pavic 94f42d11e5 Add support for customizing WebJars resource handler path pattern
At present, both Spring MVC and Spring WebFlux auto-configurations
hardcode the path pattern for WebJars resource handlers to
"/webjars/**", which means users are unable to change the path.

This commit introduces "spring.mvc.webjars-path-pattern" and
"spring.webflux.webjars-path-pattern" configuration properties that
allow customization of WebJars resource handler path pattern.

See gh-31769
2 years ago
Stephane Nicoll ec63a981d0 Merge branch '2.7.x'
Closes gh-32248
2 years ago
Stephane Nicoll 2fb257ad22 Merge branch '2.6.x' into 2.7.x
Closes gh-32247
2 years ago
Stephane Nicoll 19c69ff743 Polish "Add support for detecting .yml Hazelcast config files"
See gh-32142
2 years ago
Scott Frederick da4de7d67d Generate the AutoConfiguration.imports file from annotations
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.

Closes gh-31228
2 years ago
Scott Frederick 01c68a3dc8 Merge branch '2.7.x'
Closes gh-32217
2 years ago
Scott Frederick 7763a5df7d Polish auto-configuration documentation
Remove references to outdated information, emphasize use of the
`@AutoConfiguration` annotation and attributes, and edit for clarity.

Closes gh-32174
2 years ago
Andy Wilkinson ee701e5c7d Merge branch '2.7.x'
Closes gh-32199
2 years ago
Andy Wilkinson a253d8d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32198
2 years ago
Andy Wilkinson 7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2 years ago
Andy Wilkinson 4c01810ca2 Merge branch '2.7.x'
Closes gh-32197
2 years ago
Andy Wilkinson 13edfba1f5 Fix Kotlin example for empty @DefaultValue constructor binding
Closes gh-32177
2 years ago
Madhura Bhave 47effdcade Support role-based sanitization for actuator endpoints
Closes gh-32156
2 years ago
Phillip Webb 6db88e12c8 Polish 'Allow multiple hosts to be set in MongoProperties'
See gh-32125
2 years ago
Madhura Bhave cea6492c4a Align default JMX and WEB endpoint exposures
Closes gh-32005
2 years ago