Commit Graph

2642 Commits (5b44ad15f757d055a47b76d3a9637fecf005bc70)

Author SHA1 Message Date
Andy Wilkinson d9e525c326 Merge branch '2.4.x' into 2.5.x
Closes gh-27301
3 years ago
Andy Wilkinson 2354dd5ccb Include Jetty metrics in list of supported metrics
Closes gh-27299
3 years ago
Andy Wilkinson 4d76660f17 Polish "Remove default spring.mongodb.embedded.version"
See gh-27108
3 years ago
bono007 d16ecab24b Remove default spring.mongodb.embedded.version
See gh-27108
3 years ago
Madhura Bhave ce1dff86df Merge branch '2.5.x' into main
See gh-27140
3 years ago
Madhura Bhave c6acce569f Merge branch '2.4.x' into 2.5.x
See gh-27139
3 years ago
Madhura Bhave 877f618a69 Clarify that HATEOAS can be used with Webflux without starter
Closes gh-26897
3 years ago
Madhura Bhave 1dc8fa14c9 Merge branch '2.5.x' into main
Closes gh-27140
3 years ago
Madhura Bhave 503d50f39e Merge branch '2.4.x' into 2.5.x
Closes gh-27139
3 years ago
Madhura Bhave 6c4273b5c9 Document spring hateoas is spring mvc specific
Closes gh-26897
3 years ago
Madhura Bhave 32a1644cca Split spring boot features into multiple sections
See gh-27132
3 years ago
Stephane Nicoll 573ca50333 Merge branch '2.5.x'
Closes gh-27117
3 years ago
Nurlan Tembayev e57970393c Remove unnecessary unit for spring.datasource.tomcat.max-active
See gh-27103
3 years ago
Stephane Nicoll 53fe7b71f6 Merge branch '2.5.x'
Closes gh-27116
3 years ago
biergit 79638a8f63 Fix anchor rewrites containing a question mark
See gh-27107
3 years ago
Stephane Nicoll 0f20c236da Merge branch '2.5.x'
Closes gh-27112
3 years ago
Cèsar Ordiñana 0c38449851 Fix typo in section title
See gh-27102
3 years ago
Stephane Nicoll 7d8e7468bf Merge branch '2.5.x'
See gh-27065
3 years ago
Stephane Nicoll d079db1dce Polish
See gh-26978
3 years ago
Stephane Nicoll d4fa46f1b9 Polish startup endpoint description in reference doc
Closes gh-26978
3 years ago
Phillip Webb e85b0c7012 Merge branch '2.5.x' 3 years ago
Phillip Webb fd83158fa5 Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 5fc0e1ca81 Merge branch '2.5.x'
Closes gh-27057
3 years ago
Phillip Webb af37f59136 Merge branch '2.4.x' into 2.5.x
Closes gh-27056
3 years ago
Andy Wilkinson 4290193a65 Merge branch '2.5.x'
Closes gh-27025
3 years ago
Andy Wilkinson 051638631b Merge branch '2.4.x' into 2.5.x
Closes gh-27024
3 years ago
Andy Wilkinson ba9244b2d4 Polish "Update docs to use @SpringBootConfiguration not @Configuration"
See gh-26937
3 years ago
Yanming Zhou a5f077cf79 Update docs to use @SpringBootConfiguration not @Configuration
See gh-26937
3 years ago
Stephane Nicoll 63fe89f641 Merge branch '2.5.x'
Closes gh-26957
3 years ago
Yanming Zhou 12a6e4c231 Add missing space for asciidoc ordered list
See gh-26955
3 years ago
Phillip Webb ad8ce2aa05 Merge branch '2.5.x' 3 years ago
Phillip Webb 5c65b1bcde Fix asciidoctor anchor references
See gh-26939
3 years ago
Phillip Webb 7bd6611e4c Merge branch '2.5.x'
Closes gh-26940
3 years ago
Phillip Webb c3b873c11d Merge branch '2.4.x' into 2.5.x
Closes gh-26939
3 years ago
Phillip Webb b5c92d5174 Allow indirect standard profile-specific imports
Effectively revert commit d1b256a169 so that profile-specific imports
can again be used with or without a parent import.

Fixes gh-26858
3 years ago
Stephane Nicoll a1a86e75ac Merge branch '2.5.x'
Closes gh-26912
3 years ago
Stephane Nicoll 96029dbd8a Polish "Add Azure info to the cloud deployment docs"
See gh-26910
3 years ago
Andy Clement 8321faaf16 Add Azure info to the cloud deployment docs
See gh-26910
3 years ago
Stephane Nicoll 52fedb2bb4 Add support for InfluxDB 2.x
Closes gh-25891
3 years ago
Madhura Bhave aa873d3a22 Reorder documentation overview section
The documentation overview sections is supposed to provide a map
for the rest of the reference document. The getting help and upgrading
sections were moved to align with that.
3 years ago
Madhura Bhave 91ca9763e0 Reorder documentation overview section
The documentation overview sections is supposed to provide a map
for the rest of the reference document. The getting help and upgrading
sections were moved to align with that.
3 years ago
Andy Wilkinson bc715c64b1 Merge branch '2.5.x'
Closes gh-26892
3 years ago
Andy Wilkinson 5f26fd9ccb Merge branch '2.4.x' into 2.5.x
Closes gh-26891
3 years ago
Andy Wilkinson f6b7730dac Use Asciidoctor's revision line to provide document's version
Using the revision line means that the revision number is automatically
set. The revision number is then included by the HTML and PDF backends
in the standard location. In the HTML backend that's alongside the
list of authors. In the PDF backend that's on the title page.

Closes gh-26851
3 years ago
Stephane Nicoll a0cf1eed41 Add support for customizing the auto-configured ClientResources
Closes gh-26792
3 years ago
Stephane Nicoll f8555b9071 Add metrics for task execution and scheduling
Closes gh-23818
3 years ago
Stephane Nicoll 6505e03cb2 Polish "Add auto-configuration for Spring Data Envers"
See gh-22610
3 years ago
Stephane Nicoll d17c475504 Polish "Enable Redis connection pool if commons-pool2 is available"
See gh-26326
3 years ago
Stephane Nicoll 6b4efcce11 Polish "Apply RSocketConnectorConfigurer beans to RSocketRequester.Builder"
See gh-26341
3 years ago
Stephane Nicoll 69c2621a14 Polish "Add support for @Value annotation"
See gh-26337
3 years ago
bono007 e3f03dd50a Add auto-configuration for DiskSpaceMetrics
See gh-26001
3 years ago
Madhura Bhave 2e2d1fe8d3 Merge branch '2.4.x' into main 3 years ago
Madhura Bhave e3042b38f5 Merge branch '2.3.x' into 2.4.x 3 years ago
Madhura Bhave 63806d5bac Remove duplicate copyright notice from docs 3 years ago
Andy Wilkinson de410b7621 Merge branch '2.4.x'
Closes gh-26828
3 years ago
Andy Wilkinson a1c5fcca58 Move common Asciidoctor configuration into our conventions
Closes gh-26620
3 years ago
Phillip Webb f798f26596 Merge branch '2.4.x' 3 years ago
Andy Wilkinson c52143727a Reinstate mode for controlling DB initialization
Closes gh-26682
3 years ago
Phillip Webb abd926788f Merge branch '2.4.x'
Closes gh-26782
3 years ago
Phillip Webb 7396e1e743 Fix property ordering within '.' and '/config'
Allow groups to be used with standard locations so that order of
profile-specific files is consistent.

Prior to this commit, the default search locations considered for
application properties/yaml files was the following:

	optional:classpath:/
	optional:classpath:/config/
	optional:file:./
	optional:file:./config/
	optional:file:./config/*/

Each of these locations was independent which could cause confusion
if certain combinations were used. For example, if profile-specific
files were added to `classpath:/` and `classpath:/config/` then the
latter would always override the former regardless of the profile
ordering.

This commit updates `StandardConfigDataLocationResolver` so that a
group of locations can be specified for each item. This allows us to
define the following set of search locations which provide more logical
ordering for profile-specific files

	optional:classpath:/;optional:classpath:/config/
	optional:file:./;optional:file:./config/;optional:file:./config/*/

Closes gh-26593
3 years ago
Madhura Bhave 554cf9d7c7 Merge branch '2.4.x' into main
Closes gh-26741
4 years ago
Madhura Bhave 2ff3fe22e5 Merge branch '2.3.x' into 2.4.x
Closes gh-26740
4 years ago
Madhura Bhave d0e2925dcc Fix link to Spring Data JPA docs
Fixes gh-26736
4 years ago
Stephane Nicoll 1f95989e85 Merge branch '2.4.x'
Closes gh-26735
4 years ago
Stephane Nicoll 363c43e315 Merge branch '2.3.x' into 2.4.x
Closes gh-26734
4 years ago
Stephane Nicoll 3f23b9265d Clarify when a connection pool is created for Redis
Closes gh-26733
4 years ago
Madhura Bhave 54c3194164 Merge branch '2.4.x' into main
Closes gh-26701
4 years ago
Madhura Bhave 5314bda48d Merge branch '2.3.x' into 2.4.x
Closes gh-26700
4 years ago
Madhura Bhave f55e4c08f5 Add note about Kubernetes termination grace period
Closes gh-26469
4 years ago
Stephane Nicoll 454d72d9b2 Document spring.profiles.default in the reference guide
Closes gh-26592
4 years ago
Stephane Nicoll e5ee1eb86f Merge branch '2.4.x'
See gh-26654
4 years ago
Stephane Nicoll 130261f0df Merge branch '2.3.x' into 2.4.x
See gh-26653
4 years ago
Stephane Nicoll 3fbf5eeb5b Document spring.profiles.default in the reference guide
Closes gh-26592
4 years ago
Stephane Nicoll f3d4fdb9c4 Merge branch '2.4.x'
Closes gh-26655
4 years ago
Stephane Nicoll fe1e2319b2 Polish "Clarify Kotlin version requirements in documentation"
See gh-26421
4 years ago
Lovekesh Garg 944ba34556 Clarify Kotlin version requirements in documentation
See gh-26421
4 years ago
Oliver B. Fischer 11af8a816c Add link to Maven Git Commit Id Plugin
See gh-26635
4 years ago
Phillip Webb ab958d2394 Include io.spring.asciidoctor.backends group
Update `repositories` declaration to include the
'io.spring.asciidoctor.backends' group.

See gh-26293
4 years ago
Phillip Webb 8a3f835ffe Set Asciidoctor attribute-missing to warn
Closes gh-26590
4 years ago
weixsun d2bdcddb5f Fix outdated defaults for Info endpoint
See gh-26591
4 years ago
Phillip Webb 34b288e5fe Add prefix to appendix property anchor links
Refactor property appendix generator code so that the complete section
is generated and anchors follow the expected naming.

Closes gh-26375
4 years ago
Phillip Webb 86a5c90d20 Simplify anchor-rewrite.properties 4 years ago
Phillip Webb e08d4f1fe6 Move "Use Jedis Instead of Lettuce" How-to
See gh-26262
4 years ago
Phillip Webb 499a29c415 Move "Testcontainers" How-to
See gh-26262
4 years ago
Phillip Webb 72d50ed2f8 Move "Testing With Spring Security" How-to
See gh-26262
4 years ago
Phillip Webb 5f7e3d3952 Polish 4 years ago
Andy Wilkinson 88b383c6bb Polish "Update docs and internal dep mgmt following Spock 2.0's release"
See gh-26586
4 years ago
dreis2211 5a6c355397 Update docs and internal dep mgmt following Spock 2.0's release
See gh-26586
4 years ago
Andy Wilkinson 4bf5ff8a68 Merge branch '2.4.x'
Closes gh-26526
4 years ago
Andy Wilkinson 2ef7d136ac Merge branch '2.3.x' into 2.4.x
Closes gh-26525
4 years ago
Andy Wilkinson ca85555fde Polish "Document use of module replacements to swap dependencies"
See gh-25944
4 years ago
Caleb Cushing f5b536164c Document use of module replacements to swap dependencies
See gh-25944

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
4 years ago
Andy Wilkinson 05a64ecb2c Merge branch '2.4.x'
Closes gh-26522
4 years ago
Andy Wilkinson 2a2c68f8f2 Merge branch '2.3.x' into 2.4.x
Closes gh-26521
4 years ago
Andy Wilkinson be807bab12 Polish "Improve documentation of TestRestTemplate's fault tolerance"
See gh-26227
4 years ago
weixsun 8a2be288a3 Remove unnecessary throws declaration in tests
See gh-26441
4 years ago
Andy Wilkinson a623dab0aa Merge branch '2.4.x'
Closes gh-26474
4 years ago
Andy Wilkinson 3295b59563 Merge branch '2.3.x' into 2.4.x
Closes gh-26473
4 years ago
Andy Wilkinson 47626bebd1 Note that the heapdump endpoint requires a HotSpot JVM
Closes gh-26467
4 years ago
Andy Wilkinson f44c99df26 Merge branch '2.4.x'
Closes gh-26452
4 years ago
Andy Wilkinson fd3d619670 Recommend default Servlet when using Jersey as a Filter
Closes gh-25733
4 years ago
Phillip Webb 87d8aedd3c Use spring-pdf backend for PDF generation
Update `asciidoctorPdf` tasks to use the `spring-pdf` backend so that
chomped elements and @fold:on/@fold:off comments are hidden.

Closes gh-26373
4 years ago
Andy Wilkinson dc5f115c04 Document support for Gradle 6.9
Closes gh-26409
4 years ago
Phillip Webb d3207b107c Polish docs 4 years ago
Phillip Webb 65c00f373a Polish 4 years ago
Phillip Webb 711a0c19e6 Use consistent asciidoctor subs attribute
Closes gh-25101
4 years ago
Phillip Webb 979fa12ca9 Polish source type for Gradle snippets 4 years ago
Phillip Webb 57e54af6f5 Delete R2dbcDatabaseInitializationConfiguration
The `R2dbcDatabaseInitializationConfiguration` docs class is not needed
in 2.5.x.

Closes gh-26225
4 years ago
Phillip Webb d6d1d95741 Use American English spellings 4 years ago
Phillip Webb b5583a4620 Polish doc code samples
See gh-6313
4 years ago
Phillip Webb 9aad29da0c Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb b314d848dc Polish docs code
See gh-6313
4 years ago
Phillip Webb 09e85806d6 Align docs package structure with heading IDs
See gh-6313
4 years ago
dreis2211 ca3105920b Fix link to Webservices reference docs
See gh-26316
4 years ago
Phillip Webb 33c6c600a9 Split up adoc files
Closes gh-23254
4 years ago
Andy Wilkinson 5d8a64e186 Validate section IDs in the reference documentation
See gh-26307
4 years ago
Stephane Nicoll 242f2ba6bd Merge branch '2.4.x'
Closes gh-26299
4 years ago
Stephane Nicoll f8a4aefce0 Merge branch '2.3.x' into 2.4.x
Closes gh-26298
4 years ago
Stephane Nicoll 0c09841013 Document property names to enable reactive health indicators
Closes gh-26279
4 years ago
Phillip Webb 5dce5ee595 Align adoc filename with anchors
See gh-26296
4 years ago
Phillip Webb bd3f4d74be Rationalize reference documentation anchors
Closes gh-26296
4 years ago
Stephane Nicoll 80248dcc13 Merge branch '2.4.x'
Closes gh-26283
4 years ago
Stephane Nicoll 77a231d742 Merge branch '2.3.x' into 2.4.x
Closes gh-26282
4 years ago
Stephane Nicoll e7bf0a0bd6 Fix key to datasource health indicator in reference doc
Closes gh-26268
4 years ago
Andy Wilkinson 6953da2013 Merge branch '2.4.x'
Closes gh-26257
4 years ago
Andy Wilkinson a1138efc5f Merge branch '2.3.x' into 2.4.x
Closes gh-26256
4 years ago
Andy Wilkinson a470c1af3a Align documentation with main default branch name
Closes gh-26255
4 years ago
Andy Wilkinson 091907f762 Rename default branch to main
Closes gh-26248
4 years ago
Phillip Webb d42ad237f5 Merge branch '2.4.x'
Closes gh-26242
4 years ago
Phillip Webb 94a70d6837 Merge branch '2.3.x' into 2.4.x
Closes gh-26241
4 years ago
Phillip Webb f82b33698d Add missing asciidoctor heading anchors
Closes gh-26239
4 years ago
Phillip Webb 5e8f383947 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 32a87fcbda Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb f30d48e3b3 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 02cc778911 Extract code samples from docs
See gh-6313
4 years ago
Stephane Nicoll a7b0f90609 Merge branch '2.4.x'
Closes gh-26211
4 years ago
Stephane Nicoll e424c1c4b4 Merge branch '2.3.x' into 2.4.x
Closes gh-26210
4 years ago
Shimizu, Yuko 474e460d5e Align Maven version in system requirements with what is actually tested
See gh-26209
4 years ago
Stephane Nicoll e3f81f0243 Merge branch '2.4.x' 4 years ago
Stephane Nicoll db7460ddd5 Polish contribution based on Andy's review
See gh-26188
4 years ago
Stephane Nicoll 3ca6ed6246 Polish
Closes gh-26190
4 years ago
izeye 4be48d0d50 Polish
See gh-26188
4 years ago
Stephane Nicoll 6c68f3652c Merge branch '2.4.x'
Closes gh-26186
4 years ago
Stephane Nicoll 8edeb2c7a9 Merge branch '2.3.x' into 2.4.x
Closes gh-26185
4 years ago
Stephane Nicoll 856e0d0535 Document that MeterFilters are only applied to a managed registry
Closes gh-25610
4 years ago
Andy Wilkinson b9348c6d28 Merge branch '2.4.x'
Closes gh-26169
4 years ago
Andy Wilkinson bc1a462143 Merge branch '2.3.x' into 2.4.x
Closes gh-26168
4 years ago
Andy Wilkinson 82198a99e0 Polish nohttp configuration
Closes gh-26166
4 years ago
Stephane Nicoll 57d35aba12 Merge branch '2.4.x'
Closes gh-26160
4 years ago
Stephane Nicoll 6bbd36c77a Merge branch '2.3.x' into 2.4.x
Closes gh-26159
4 years ago
Stephane Nicoll 03b65f3260 Polish "Enhance multiple entity manager factories how-to"
See gh-14928
4 years ago
Niclas Fredriksson 0d9db46f68 Enhance multiple entity manager factories how-to
See gh-14928
4 years ago
Andy Wilkinson 5142fe9b8e Fix typo in Initialize a Database using basic SQL scripts
Closes gh-26137
4 years ago
izeye e27c85698d Polish
See gh-26135
4 years ago
dreis2211 beb7f7b02d Avoid some redirects in docs
See gh-26129
4 years ago
Stephane Nicoll e2252c7856 Merge branch '2.4.x'
Closes gh-26111
4 years ago
Stephane Nicoll 401ebc672b Merge branch '2.3.x' into 2.4.x
Closes gh-26110
4 years ago
Stephane Nicoll ab785d9417 Document limitations of using deferred JPA bootstrap
Closes gh-24027
4 years ago
Stephane Nicoll c5214b3c84 Merge branch '2.4.x'
Closes gh-26105
4 years ago
Stephane Nicoll 1855f96d07 Polish "Document spring.config.additional-location should be used early"
See gh-26085
4 years ago
Shannon Carey b0b1c04fc4 Document spring.config.additional-location should be used early
See gh-26085
4 years ago
Andy Wilkinson 2e25a256d5 Allow the auto-configured RabbitMQ ConnectionFactory to be customized
Closes gh-6719
4 years ago
Andy Wilkinson 04e441f468 Add a config prop for the embedded database connection
Previously, the embedded database connection that would be used
could only be controlled via the classpath. If multiple embedded
database dependencies were present, it wasn't possible to control
the one that the auto-configured would use. It also wasn't possible
to disable auto-configuration of an embedded database.

This commit introduces a new configuration property,
spring.datasource.embedded-database-connection. It can be set to
one of the values of the EmbeddedDatabaseConnection enum to control
the auto-configuration of an embedded database. Setting it to none
will disable the auto-configuration and ensure that an external
database is used instead.

Closes gh-23412
4 years ago
Andy Wilkinson 713c0fce7c Auto-configure H2C when HTTP/2 is enabled and SSL is disabled 4 years ago
Andy Wilkinson c4750fd0ff Support Gradle 7 and raise minimum supported version to 6.8
Closes gh-26026
4 years ago
Stephane Nicoll 8506a00071 Merge branch '2.4.x'
Closes gh-26025
4 years ago
Stephane Nicoll fd6ad5b889 Merge branch '2.3.x' into 2.4.x
Closes gh-26024
4 years ago
Stephane Nicoll 7286c33f53 Document default behaviour of DataJpaTest#showSql
Closes gh-25843
4 years ago
izeye 4987880afa Polish
See gh-25980
4 years ago
Andy Wilkinson 0a8da4fd7d Polish "Provide health for an AbstractRoutingDataSource's resolved targets"
See gh-25708
4 years ago
Phillip Webb f03f74ff0a Add Spring Data Repository metrics support
Add support for Spring Data Repository metrics by integrating with
Spring Data's new `RepositoryMethodInvocationListener` support.

Closes gh-22217
4 years ago
Phillip Webb 1893f935b4 Rework 'Supported Metrics' reference documentation
Rework the 'Supported Metrics' documentation to improve consistency
access subsections. Details about the `@Timer` annotation have been
pulled into a new section so that they can be referenced rather than
repeated.

See gh-22217
4 years ago
Phillip Webb efba7076ba Fix title case capitalization 4 years ago
dreis2211 21ece1ea30 Remove Gradle 5.6.x support from docs
See gh-25981
4 years ago
Stephane Nicoll 719d10b6e7 Merge branch '2.4.x'
Closes gh-25979
4 years ago
dreis2211 afd4b582ed Fix typos in docs
See gh-25947
4 years ago
Stephane Nicoll d50e581403 Start building against Micrometer 1.7.0-RC1 snapshots
See gh-25934
4 years ago
Phillip Webb 7a636e5c08 Update @Timed WebFlux documentation
Closes gh-23112
4 years ago
Phillip Webb 7056a95ffc Polish 'Support system-dependent path separators'
See gh-24490
4 years ago
Brian Clozel 0929048bb4 Link build tools docs version properties section
Closes gh-25935
4 years ago
Phillip Webb 4b05dbf4a2 Polish 4 years ago
Andy Wilkinson 73e1dd8728 Polish "Auto-configure Mongo metrics"
See gh-23990
4 years ago
bono007 81c18214d1 Auto-configure Mongo metrics
See gh-23990
4 years ago
Stephane Nicoll b11602aeaa Polish "Add Quartz actuator endpoint"
This commit reworks the initial proposal so that jobs and triggers are
treated as first class concepts.

`/actuator/quartz` now returns the group names for jobs and triggers.

`actuator/quartz/jobs` returns the job names, keyed by the available
group names, while `/actuator/quartz/triggers` does the same for
triggers.

`/actuator/jobs/{groupName}` provides an overview of a job group. It
provides a map of job names with the class name of the job.
implementation

`/actuator/triggers/{groupName}` provides an overview of a trigger
group. There are five supported trigger implementations: cron, simple,
daily time interval, calendar interval, and custom for any other
implementation. Given that each implementation has specific settings,
triggers are split in five objects.

`/actuator/jobs/{groupName}/{jobName}` provides the full details of a
particular job. This includes a sanitized data map and a list of
triggers ordered by next fire time.

`/actuator/triggers/{groupName}/{triggerName}` provides the full details
of a particular trigger. This includes the state, its type, and a
dedicate object containing implementation-specific settings.

See gh-10364
4 years ago
Stephane Nicoll d578e20b2d Merge branch '2.4.x'
Closes gh-25883
4 years ago
Tommy Ludwig 3746385f98 Polish HealthIndicators table in docs
`=======` was showing up in the header of the table, which should not
be there.

See gh-25882
4 years ago
Stephane Nicoll dd916f908f Merge branch '2.4.x'
Closes gh-25880
4 years ago
Brian Clozel 72a1eb6384 Allow to manually tag request metrics with exceptions
Prior to this commit, some exceptions handled at the controller or
handler function level would:

* not bubble up to the Spring Boot error handling support
* not be tagged as part of the request metrics

This situation is inconsistent because in general, exceptions handled at
the controller level can be considered as expected behavior.
Also, depending on how the exception is handled, the request metrics
might not be tagged with the exception.
This will be reconsidered in gh-23795.

This commit prepares a transition to the new situation. Developers can
now opt-in and set the handled exception as a request attribute. This
well-known attribute will be later read by the metrics support and used
for tagging the request metrics with the exception provided.

This mechanism is automatically used by the error handling support in
Spring Boot.

Closes gh-24028
4 years ago
Andy Wilkinson 9b65409e23 Generalize database initialization detection and include R2DBC
Closes gh-25818
4 years ago
Andy Wilkinson e49a88cb9b Auto-configure script-based R2DBC database initialization
See gh-24741
4 years ago
Andy Wilkinson 90b4ced7a6 Move DataSource init auto-config out of DataSourceAutoConfiguration
Previously, the auto-configuration for DataSource initialization and
the properties used to configure it were part of the general
DataSource auto-configuration and properties.

This commit moves the auto-configuration of DataSource initialization
out into a separate top-level auto-configuration class. Similarly,
the properties for configuring DataSource initialization have been
moved from `spring.datasource.*` into `spring.sql.init.*`.

The old initialization-related `spring.datasource.*` properties have
been deprecated but can still be used. When they are used, they new,
separate initialization auto-configuration will back off. In other
words, the initialization related `spring.datasource.*` properties
and the `spring.sql.init.*` properties cannot be used in combination.

Closes gh-25323
4 years ago
Andy Wilkinson 5dee68c925 Move script-based DataSource initializer into spring-boot
Closes gh-25487
Closes gh-25756
4 years ago
Andy Wilkinson fb670ee654 Drop support for Gradle 5.6.x
Closes gh-24225
4 years ago
Phillip Webb bb38ee38a6 Fix package tangle and polish prefix support
Polish the prefix support introduced in commit a8592f36d4 and fix a
package tangle between `boot.context.properties.source` and `boot.env`.

The `Prefix` interface has now been moved into a new default method on
`OriginLookup`.

See gh-3450
4 years ago
Tommy Ludwig 8eb73bcf01 Support sending metrics to InfluxDB v2
See gh-25721
4 years ago
Stephane Nicoll eb406867ea Polish "Upgrade to Micrometer 1.7.0-M1"
See gh-25707
4 years ago
Stephane Nicoll 4fcbfd3e84 Merge branch '2.4.x'
Closes gh-25645
4 years ago
Stephane Nicoll 6b9032b4d3 Document that Java 16 is supported
Closes gh-25527
4 years ago
Stephane Nicoll ed39075177 Merge branch '2.4.x'
Closes gh-25644
4 years ago
Stephane Nicoll 9aa1ce235f Document DataSource implementations supported by DataSourceBuilder
Closes gh-25333
4 years ago
Stephane Nicoll 9b0cdac97a Add support for external configuration for Cassandra
Closes gh-24065
4 years ago
Phillip Webb bea307b115 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 08c4d03649 Fix LocalCacheVerifier include tags
Fixes gh-25567
4 years ago
Phillip Webb 05cf7fbb04 Use new backend features for extracted samples
Update extracted samples to make use of code folding and chomping.

See gh-6313
4 years ago
Andy Wilkinson ed72bca6c8 Provide more pluggable way to indicate DataSource init dependencies
Closes gh-17619
Closes gh-25559
4 years ago
Andy Wilkinson 99b7d29c2c Merge branch '2.4.x' 4 years ago
Andy Wilkinson 9be36f3a72 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 6e5c510e0a Migrate to asciidoctor-spring-backends
Migrate to the snapshot version of asciidoctor-spring-backends.

See gh-25553
4 years ago
Phillip Webb 3bb9b2300e Polish asciidoc markup 4 years ago
Stephane Nicoll bb0f43cf07 Allow JMX endpoint ObjectNames to be customized
Closes gh-25317
4 years ago
Andy Wilkinson 006cb643ea Merge branch '2.4.x'
Closes gh-25514
4 years ago
Andy Wilkinson 2f95c1e2c8 Merge branch '2.3.x' into 2.4.x
Closes gh-25513
4 years ago
Andy Wilkinson 22b73f3020 Polish "Improve documentaion of Mockito test execution listeners"
See gh-25375
4 years ago
cdalexndr 72562e0fd4 Improve documentaion of Mockito test execution listeners
See gh-25375
4 years ago
Andy Wilkinson 2cffbc90cb Merge branch '2.4.x'
Closes gh-25511
4 years ago
Andy Wilkinson 836ad76df1 Merge branch '2.3.x' into 2.4.x
Closes gh-25510
4 years ago
Andy Wilkinson 92133d47d0 Polish "Make link to Actuator API docs more prominent"
See gh-25486
4 years ago
cdalexndr 5f4e1b747e Make link to Actuator API docs more prominent
See gh-25486
4 years ago
Madhura Bhave 37dcb90876 Merge branch '2.4.x'
Closes gh-25502
4 years ago
Madhura Bhave ae630e03ce Warn against using multi-document files with TestPropertySource
Closes gh-24945
4 years ago
Madhura Bhave e1904fb72f Merge branch '2.4.x'
Closes gh-25500
4 years ago
Madhura Bhave cfac223cff Document configtree support for Docker secrets
Closes gh-25095
4 years ago
Stephane Nicoll 9db78022bd Merge branch '2.4.x'
Closes gh-25464
4 years ago
Stephane Nicoll 63cca9b8c6 Polish "Document precedence between properties and yaml"
See gh-25300
4 years ago
Robert Smith 20ed8c2ec3 Document precedence between properties and yaml
See gh-25300
4 years ago
izeye c823f44e76 Polish
See gh-25451
4 years ago
Andy Wilkinson 9713bfc765 Enable the logging shutdown hook by default
This commit updates LoggingApplicationListener to register the logging
shutdown hook by default.

The hook is detrimental in a war deployment as it may pin parts of an
application in memory after it has been undeployed. For this reason,
the hook is still disabled by default in war deployments. This is
achieved by setting an attribute on the servlet context in
SpringBootServletInitializer that is then consumed via the Environment
by LoggingApplicationListener.

Closes gh-25046
4 years ago
Madhura Bhave a8592f36d4 Add prefix support for property source
We configure the `SystemEnvironmentPropertySource` as a `Prefixed` property
source. When adapting this to a `ConfigurationPropertySource, a
`PrefixedConfigurationPropertySource` will be created for it.
A `PrefixedConfigurationPropertySource` will resolve property
such as `foo.bar` to `my.foo.bar` for a prefix of `my`.

Closes gh-3450
4 years ago
Stephane Nicoll 9e3cfc5d7a Merge branch '2.4.x'
Closes gh-25432
4 years ago
John Blum cec4d45cf6 Fix grammatical error in documentation
See gh-25411
4 years ago
Andy Wilkinson f09630f73c Allow additional keys to be configured for value sanitization
Closes gh-25384
4 years ago
Andy Wilkinson 10ef991e1d Sanitize sensitive portion of the value of url and urls keys
Closes gh-25387
4 years ago
Stephane Nicoll d9dcfeba5c Polish "Add more customization options for InfluxDB"
See gh-25319
4 years ago
Stephane Nicoll 808e58265f Merge branch '2.4.x'
Closes gh-25372
4 years ago
Stephane Nicoll 9e6302ee6a Merge branch '2.3.x' into 2.4.x
Closes gh-25371
4 years ago
Tommy Ludwig bd2a890899 Polish HTTP client metrics documentation wording
See gh-25353
4 years ago
Phillip Webb a1dc107144 Update copyright year of changed files 4 years ago
Andy Wilkinson df5f59127a Support Jetty 10
Closes gh-24886
4 years ago
Madhura Bhave d69565cf3e Merge branch '2.4.x'
Closes gh-25346
4 years ago
Madhura Bhave 52a15647a9 Polish "Remove old documentation relating to yaml and profiles"
See gh-24620
4 years ago
Ramiro Aparicio 93f822e7b6 Remove old documentation relating to yaml and profiles
See gh-24620
4 years ago
Andy Wilkinson 2f83a6714b Rework DataSource initialization
Previously, DataSource initialization was triggered via a
BeanPostProcessor or a schema created event from JPA. This caused
numerous problems with circular dependencies, bean lifecycle, etc and
added significant complexity.

This commit reworks DataSource initialization to remove the use of a
BeanPostProcessor entirely. In its place, DataSource initialization is
now driven by an InitializingBean with dependency relationships
between beans ensuring that initialization has been performed before
the DataSource is used. This aligns with the approach that's worked
well with Flyway and Liquibase.

More changes are planned to further simplify DataSource initialization.
The changes in this commit are a foundation for those changes. Any new
public API in this commit is highly likely to change before the next
GA.

Fixes gh-13042
Fixes gh-23736
4 years ago
Stephane Nicoll 9bc4f8ede1 Polish "Group jdbc-related batch properties beneath spring.batch.jdbc"
See gh-25316
4 years ago
Stephane Nicoll b50fb824a3 Merge branch '2.4.x'
Closes gh-25298
4 years ago
Stephane Nicoll a9ff33f74f Merge branch '2.3.x' into 2.4.x
Closes gh-25297
4 years ago
Stephane Nicoll 569002e917 Polish "Document Kafka Streams metrics support"
See gh-25272
4 years ago
izeye dff4ca2293 Document Kafka Streams metrics support
See gh-25272
4 years ago
Stephane Nicoll 8c0c30e7a8 Polish "Add support to auto-configure javax.jms.ExceptionListener"
See gh-25278
4 years ago
Stephane Nicoll ca9b583c7d Merge branch '2.4.x'
Closes gh-25271
4 years ago
izeye f48893def5 Polish 4 years ago
Madhura Bhave c05cb21ab7 Add a property to disable the `/actuator` discovery page
Closes gh-24693
4 years ago
Stephane Nicoll dca643500a Polish "Make Scheduler consistent for Spring Integration"
See gh-25109
4 years ago
Artem Bilan c5491cfdd7 Make Scheduler consistent for Spring Integration
Currently Spring Integration creates its own `TaskScheduler` bean if one
does not exist in the context yet. When we add `@EnableScheduling`,
Spring Boot auto-configures one for us, but this one comes with slightly
different options than the default in Spring Integration.

This commit makes sure that Spring Integration reuses the
auto-configured TaskScheduler if possible, regardless of the user
opting-in for `@EnabledScheduling`.

See gh-25109
4 years ago
Andy Wilkinson 6521d39867 Merge branch '2.4.x'
Closes gh-25143
4 years ago
Andy Wilkinson caa9249987 Merge branch '2.3.x' into 2.4.x
Closes gh-25142
4 years ago
Andy Wilkinson 7898b6afb0 Remove duplicate publication from spring-boot-docs
Fixes gh-25132
4 years ago
Stephane Nicoll a9a8d3a167 Merge branch '2.4.x'
Closes gh-25137
4 years ago
izeye 63ee99bf75 Polish
See gh-25093
4 years ago
Stephane Nicoll ee59f644ed Merge branch '2.4.x'
Closes gh-25136
4 years ago
Stephane Nicoll b2818680fd Polish "Clarify usage of BufferingApplicationStartup"
See gh-25075
4 years ago
Oleg Sukhov 853dbc3de3 Clarify usage of BufferingApplicationStartup
See gh-25075
4 years ago
Phillip Webb 23ebf017c0 Extract code samples from docs
See gh-6313
4 years ago
Phillip Webb 0e326d6b0f Extract some code samples from docs
See gh-6313
4 years ago
Phillip Webb e0392c4558 Add additional dependencies for example code
Add additional dependencies useful for the example code.

See gh-6313
4 years ago
Phillip Webb 9f6f2d36df Polish documented application logged output
Update the documented application output based on the latest version.
4 years ago
Phillip Webb b2a51e4504 Polish asciidoctor formatting 4 years ago
Phillip Webb ae1be76cce Add pending-extract attribute to source
Add `pending-extract=true` to source blocks to help us identify
those that need to be extracted to a real source file.

See gh-6313
4 years ago
Phillip Webb 073f8c4b23 Polish spring-boot-docs
See gh-25089
4 years ago
Phillip Webb 2a85427324 Refine spring-boot-docs package restructure
Refine the package restructure started in 91ccc23462 to help provide
a solid foundation for code snippets. This commit renames many of the
classes so that they no longer end in `Example`. It also removes some
of the inner types that were previously used. Many tag comments have
also been moved to ensure that `import` statements are available in
the docs.

Closes gh-25089
4 years ago
Phillip Webb 91ccc23462 Restructure spring-boot-docs packages
Restructure the packages in `spring-boot-docs` so that they mirror
the documentation sections. There are now three main packages:
`springbootfeatures`, `productionreadyfeatures` and `howto`. Each
of the main packages has a subpackage named after the section headings.

Example code now uses consistent `// tag::` names and imports are
applied using `[tag=*]` whenever possible.

Test snippets have been moved to `src/main/java` so that only a single
import attribute needs to be defined.

Closes gh-25089
4 years ago
Andy Wilkinson db781a0d84 Merge branch '2.4.x'
See gh-25077
4 years ago
Andy Wilkinson 788a42d694 Merge branch '2.3.x' into 2.4.x
See gh-25076
4 years ago
Andy Wilkinson 67479b6380 Add junit-platform-launcher dependency by convention
Closes gh-25074
4 years ago
Phillip Webb d8b6960997 Merge branch '2.4.x'
Closes gh-25077
4 years ago
Phillip Webb 257608a3a3 Merge branch '2.3.x' into 2.4.x
Closes gh-25076
4 years ago
Phillip Webb 939b5dfc26 Add junit-platform-launcher dependency
Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.

Closes gh-25074
4 years ago
Madhura Bhave c73e3cc2dc Update documentation for layered wars
Closes gh-22821
Closes gh-22195
4 years ago
Phillip Webb 0104ee677e Merge branch '2.4.x'
Closes gh-25067
4 years ago
Phillip Webb 57f1f17320 Merge branch '2.3.x' into 2.4.x
Closes gh-25066
4 years ago
Phillip Webb 187258aa6a Fix classpath.idx format documentation
Since 2.3.8 and 2.4.2 the format includes the directory.

Closes gh-24856
4 years ago
Phillip Webb d6eb1eb5ae Merge branch '2.4.x'
Closes gh-25065
4 years ago
Phillip Webb 9ac5151932 Merge branch '2.3.x' into 2.4.x
Closes gh-25064
4 years ago
Phillip Webb 19c5864d2c Clarify square bracket map binding notation
Update reference docs to make it clearer when the square bracket map
binding notation should be used.

Closes gh-23390
4 years ago
Phillip Webb 99d400f302 Merge branch '2.4.x'
Closes gh-25062
4 years ago
Phillip Webb d7c44e4503 Merge branch '2.3.x' into 2.4.x
Closes gh-25061
4 years ago
Phillip Webb 549d4f7fbe Document that Spring MVC has own ConversionService
Update documentation to make it clearer that Spring MVC does not use the
`ApplicationConversionService` unless configured explicitly.

Closes gh-22718
4 years ago
Andy Wilkinson 82b90d5749 Merge branch '2.4.x'
Closes gh-25052
4 years ago
Andy Wilkinson a3058200cb Merge branch '2.3.x' into 2.4.x
Closes gh-25050
4 years ago
dreis2211 4940694db2 Fix duplicate anchor id
See gh-25048
4 years ago
Phillip Webb f6097e7da4 Merge branch '2.4.x'
Closes gh-25045
4 years ago
Phillip Webb 2d056525d8 Merge branch '2.3.x' into 2.4.x
Closes gh-25044
4 years ago
Phillip Webb c03d8773e7 Improve logging.register-shutdown-hook docs
Update the "Logging" reference documentation with a section about
shutting down the logging system.

Closes gh-24507
4 years ago
Phillip Webb 479180fdf9 Merge branch '2.4.x'
Closes gh-25041
4 years ago
Phillip Webb c86ee4c851 Merge branch '2.3.x' into 2.4.x
Closes gh-25040
4 years ago
Phillip Webb 5b2d1f19a0 Polish 'Add note about exploded jars and banner properties'
See gh-24982
4 years ago
Robert Smith 33c038199d Add note about exploded jars and banner properties
Add a note to the "Customizing the Banner" explaining that you need
to be using the `JarLauncher` to use the `application.*` properties.

See gh-24982
4 years ago
Phillip Webb 802da9dc87 Merge branch '2.4.x'
Closes gh-25039
4 years ago
Phillip Webb 53f1aab833 Merge branch '2.3.x' into 2.4.x
Closes gh-25038
4 years ago
Phillip Webb 60bb33f231 Polish 'Add a tip about actuator endpoints'
See gh-24336
4 years ago
Wesley Ugang 6ced1d7f4e Add a tip about actuator endpoints
Update the "Externalized Configuration" section with a tip that about
the actuator `env` and `configprops` endpoints.

See gh-24336
4 years ago
Hatef Palizgar 53c1e79810 Change info endpoint to be secure and unexposed by default
See gh-24715
4 years ago
dreis2211 d4eccb7715 Upgrade to Groovy 3.0.7
See gh-24946
4 years ago
Stephane Nicoll 012a199773 Remove Spring Data Solr support
In preparation to the upgrade to Spring Data 2021.0, this commit removes
auto-configuration for Spring Data Solr.

Closes gh-24939
4 years ago
Stephane Nicoll 85729d2a8a Merge branch '2.3.x' into 2.4.x
Closes gh-24943
4 years ago
Stephane Nicoll 10b4cb8cb5 Deprecate Spring Data Solr support
Closes gh-24942
4 years ago
Stephane Nicoll 600be08225 Merge branch '2.4.x'
Closes gh-24855
4 years ago
Stephane Nicoll 7ec7569939 Merge branch '2.3.x' into 2.4.x
Closes gh-24854
4 years ago
Stephane Nicoll b3ab77a5c3 Move Spring Boot version to main index in reference guide
Closes gh-24848
4 years ago
Stephane Nicoll 1a2a3d6598 Merge branch '2.4.x' 4 years ago
Stephane Nicoll e8ae18ae11 Polish
See gh-24837
4 years ago
Stephane Nicoll a18f01addf Remove bitronix support
See gh-24806
4 years ago
Brian Clozel 4dd60684c9 Merge branch '2.4.x'
Closes gh-24844
4 years ago
Brian Clozel 6f51831001 Fix docs on probe state during graceful shutdown
This commit improves the "Application lifefycle and Probes states"
section and underlines the difference between `AvailabilityState` and
the availability of Probes over HTTP.

Closes gh-24843
4 years ago
Stephane Nicoll 0897af0dfa Add customizer for jOOQ's configuration
This commit adds a customizer hook point for jOOQ's configuration. When
such a bean is present, it is invoked with the auto-configuration
`Configuration`. This effectively supersedes checking for a number of
jOOQ `*Provider`beans. The existing beans are still honoured, in a
deprecated fashion.

Closes gh-24732
4 years ago
Stephane Nicoll 1d30a4716e Merge branch '2.4.x'
Closes gh-24708
4 years ago
Stephane Nicoll b8a1869569 Merge branch '2.3.x' into 2.4.x
Closes gh-24707
4 years ago
Stephane Nicoll 826d79be3e Clarify behaviour of WebServerFactory in reference guide
Closes gh-24705
4 years ago
Phillip Webb 42e649debe Merge branch '2.4.x'
Closes gh-24682
4 years ago
Phillip Webb 04616a01cf Merge branch '2.3.x' into 2.4.x
Closes gh-24681
4 years ago
Phillip Webb ef09982b39 Merge branch '2.2.x' into 2.3.x
Closes gh-24680
4 years ago
Phillip Webb 25033ee5e7 Migrate away from pivotal-legacy/homebrew-tap
Update reference documentation to the new spring-io/homebrew-tap repo.

Closes gh-24659
4 years ago
Stephane Nicoll 2547a9e255 Merge branch '2.4.x'
See gh-24655
4 years ago
Stephane Nicoll c014bb9880 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 67d1f355d7 Fix Nullable reference
See gh-24647
4 years ago
Stephane Nicoll b3278f459e Merge branch '2.4.x'
See gh-24655
4 years ago
Stephane Nicoll 4e6f15a466 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 2bd78355dc Reference javax.annotation.Nonnull support in reference guide
See gh-24647
4 years ago
Andy Wilkinson 77652961cd Merge branch '2.4.x'
Closes gh-24650
4 years ago
Andy Wilkinson 89f29c933f Merge branch '2.3.x' into 2.4.x
Closes gh-24649
4 years ago
dreis2211 fe3217d2c4 Exclude starters from Javadoc aggregation
See gh-24648
4 years ago
Stephane Nicoll 63444ae957 Merge branch '2.4.x'
Closes gh-24627
4 years ago
Stephane Nicoll 052565ef2b Merge branch '2.3.x' into 2.4.x
Closes gh-24626
4 years ago
dreis2211 261b7a5b18 Update copyrights to 2021
See gh-24625
4 years ago
Stephane Nicoll 1a2577a07e Fix sample formatting 4 years ago
Stephane Nicoll 1fd17cf641 Add support for Elasticsearch sniffer
Closes gh-24174
4 years ago
Stephane Nicoll 1e8d5c37ed Merge branch '2.4.x'
Closes gh-24607
4 years ago
izeye 5e3f618f9d Polish
See gh-24604
4 years ago
Stephane Nicoll e3d7ab0e3b Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll d0a1c49873 Polish
See gh-24604
4 years ago
Madhura Bhave b29ac37db6 Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24596
4 years ago
Madhura Bhave d36c950e33 Merge branch '2.4.x'
Closes gh-24595
4 years ago
Madhura Bhave a0afec120d Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24313
4 years ago
Madhura Bhave 467f853641 Merge branch '2.4.x'
Closes gh-24593
4 years ago
Madhura Bhave a714ba44ea Update documentation containing examples of WebSecurityConfigurerAdapter
Closes gh-24551
4 years ago
Stephane Nicoll 1f71927a9f Merge branch '2.3.x' into 2.4.x
Closes gh-24587
4 years ago
Stephane Nicoll 9e5a6c5228 Harmonize references to ActiveMQ Artemis
Closes gh-24586
4 years ago
Justin Bertram 99b43cb690 Allow to configure ActiveMQ Artemis with a broker url
See gh-24302
4 years ago
Madhura Bhave 13a06e4eca Merge branch '2.4.x' 4 years ago
Madhura Bhave af67e6fa54 Merge branch '2.3.x' into 2.4.x 4 years ago
Madhura Bhave b82f5a408a Add a note about disabling git info
See gh-24205
4 years ago