Commit Graph

2516 Commits

Author SHA1 Message Date
Phillip Webb 84ddeea1a4 Merge branch '3.1.x'
Closes gh-38425
2023-11-20 20:35:40 -08:00
Phillip Webb 092428e752 Merge branch '3.0.x' into 3.1.x
Closes gh-38424
2023-11-20 20:35:31 -08:00
Jonatan Ivanov d5c22b9f5a Update access log pattern to align with Tomcat 10
As of Tomcat 10 "%D" changed to mean microseconds instead of
milliseconds.

See gh-38403
2023-11-20 20:34:48 -08:00
Moritz Halbritter d6f67b02f7 Clarify which tracing components are disabled when using tracing in tests
See gh-33975
2023-11-15 09:13:15 +01:00
Moritz Halbritter 328261337e Merge branch '3.1.x'
Closes gh-38362
2023-11-15 09:07:09 +01:00
Moritz Halbritter 9c1c18c2b9 Document that tracing is disabled in tests in the "Tracing" section
Closes gh-33975
2023-11-15 09:06:39 +01:00
Moritz Halbritter ed7cf1043e Merge branch '3.1.x'
Closes gh-38353
2023-11-14 16:29:59 +01:00
Moritz Halbritter 83da5a5bd8 Document how to remove base path from Cloud Foundry actuator endpoints
Closes gh-24991
2023-11-14 16:29:28 +01:00
Sébastien Deleuze e88bab69f6 Document Liberica JDK with CRaC
See gh-38350
2023-11-14 13:25:30 +01:00
Phillip Webb 1a487d5cad Merge branch '3.1.x' 2023-11-13 09:27:56 -08:00
Phillip Webb 211e8c004a Merge branch '3.0.x' into 3.1.x 2023-11-13 09:27:45 -08:00
Phillip Webb 2cabcbc8fa Polish adoc formatting 2023-11-13 09:27:15 -08:00
Moritz Halbritter 4d21760fd6 Merge branch '3.1.x'
Closes gh-38341
2023-11-13 12:08:57 +01:00
Moritz Halbritter 4a6762a356 Merge branch '3.0.x' into 3.1.x
Closes gh-38340
2023-11-13 12:08:48 +01:00
Moritz Halbritter ba998302bd Polish "Add a Restarting a stopped or failed Job section to the batch howto"
See gh-38326
2023-11-13 12:08:06 +01:00
Lars Uffmann 00ce9aab00 Add a Restarting a stopped or failed Job section to the batch howto
See gh-38326
2023-11-13 12:06:01 +01:00
Moritz Halbritter 18ad246219 Merge branch '3.1.x' 2023-11-13 11:44:13 +01:00
Moritz Halbritter 2776047438 Reinstate accidentally removed sentence
See gh-35629
2023-11-13 11:44:05 +01:00
Moritz Halbritter 580d569ed0 Merge branch '3.1.x'
Closes gh-38337
2023-11-13 11:40:51 +01:00
Moritz Halbritter 9334840f18 Reverse the tip for importing testcontainers declarations
They now use `@ServiceConnection` by default.

Closes gh-35629
2023-11-13 11:40:30 +01:00
Moritz Halbritter 260a0b65c9 Merge branch '3.1.x'
Closes gh-38336
2023-11-13 11:25:00 +01:00
Moritz Halbritter 5a3e588da4 Create a separate section for testcontainers at development time
Closes gh-35856
2023-11-13 11:16:59 +01:00
Moritz Halbritter fc25d190b8 Merge branch '3.1.x'
Closes gh-38335
2023-11-13 10:36:46 +01:00
Moritz Halbritter e5326e18fc Document when and why to use the name attribute of ServiceConnection
Closes gh-36071
2023-11-13 10:36:30 +01:00
Moritz Halbritter c8461eae0b Merge branch '3.1.x'
Closes gh-38334
2023-11-13 09:08:04 +01:00
Moritz Halbritter 27da93525e Merge branch '3.0.x' into 3.1.x
Closes gh-38333
2023-11-13 09:07:54 +01:00
Moritz Halbritter 1022e1bdd2 Merge branch '2.7.x' into 3.0.x
Closes gh-38332
2023-11-13 09:07:43 +01:00
Christoph Dreis af0df78bd0 Fix link to Elasticsearch health indicator
See gh-38330
2023-11-13 09:04:06 +01:00
Moritz Halbritter 7e79d1f3c7 Merge branch '3.1.x'
Closes gh-38289
2023-11-10 11:25:38 +01:00
Moritz Halbritter eaaf977331 Merge branch '3.0.x' into 3.1.x
Closes gh-38288
2023-11-10 11:19:27 +01:00
Moritz Halbritter 40063ee1f9 Update Spring Security links 2023-11-10 11:01:23 +01:00
Moritz Halbritter d29f7a88b4 Update Spring Framework links
Closes gh-36241
2023-11-10 10:47:54 +01:00
Moritz Halbritter 8ac2e3e38f Fix broken link to Spring Data Envers
As of version 3.0, this project has been merged into Spring Data JPA.
2023-11-10 08:53:09 +01:00
Phillip Webb 897ba513fe Merge branch '3.1.x'
Closes gh-38272
2023-11-08 12:54:46 -08:00
Phillip Webb 445d0a22db Merge branch '3.0.x' into 3.1.x
Closes gh-38271
2023-11-08 12:54:38 -08:00
Phillip Webb 45e9804495 Merge branch '2.7.x' into 3.0.x
Closes gh-38270
2023-11-08 12:54:28 -08:00
Phillip Webb 61dbf45628 Fix package declaration of sample in reference docs
Update the "Developing Your First Spring Boot Application" sample so
that the package is not removed.

Closes gh-34513
2023-11-08 12:53:23 -08:00
Moritz Halbritter dbe882aced Merge branch '3.1.x'
Closes gh-38231
2023-11-06 12:11:25 +01:00
Moritz Halbritter f381a9c69d Merge branch '3.0.x' into 3.1.x
Closes gh-38230
2023-11-06 12:11:17 +01:00
Moritz Halbritter 0d5a658932 Merge branch '2.7.x' into 3.0.x
Closes gh-38229
2023-11-06 12:11:07 +01:00
Moritz Halbritter 6c5cb57afd Document how to populate test data using Flyway and Liquibase
Closes gh-26796
2023-11-06 12:07:49 +01:00
Phillip Webb 4bc63b579a Merge branch '3.1.x'
Closes gh-38215
2023-11-05 13:37:02 -08:00
Phillip Webb f6910bae16 Document that PEM content can be used directly in application.yaml
Closes gh-38210
2023-11-05 13:36:38 -08:00
Phillip Webb 9ba46f538b Polish 2023-11-02 14:24:05 -07:00
Phillip Webb 77218a644e Merge branch '3.1.x' 2023-11-02 14:16:37 -07:00
Phillip Webb afa4d274c2 Merge branch '3.0.x' into 3.1.x 2023-11-02 14:14:19 -07:00
Phillip Webb 8d53caa1c6 Merge branch '2.7.x' into 3.0.x 2023-11-02 14:13:47 -07:00
Phillip Webb e891a3e24c Polish adoc formatting 2023-11-02 14:12:56 -07:00
Andy Wilkinson 5de0f82f64 Merge branch '3.1.x'
Closes gh-38149
2023-10-31 11:33:58 +00:00
Andy Wilkinson cbcde9107b Merge branch '3.0.x' into 3.1.x
Closes gh-38148
2023-10-31 11:33:05 +00:00
Andy Wilkinson cb18d87ac9 Merge branch '2.7.x' into 3.0.x
Closes gh-38147
2023-10-31 11:30:09 +00:00
Andy Wilkinson 747291c0b7 Clarify docs on when application.* banner properties will work
Closes gh-33489
2023-10-31 11:28:17 +00:00
Moritz Halbritter bdc5c05a83 Merge branch '3.1.x'
Closes gh-38145
2023-10-31 11:21:56 +01:00
Moritz Halbritter 87d6d518c4 Explain what happens if docker compose is already running
Closes gh-36483
2023-10-31 11:21:48 +01:00
Andy Wilkinson aa16c2aa5b Merge branch '3.1.x'
Closes gh-38117
2023-10-30 12:07:37 +00:00
Andy Wilkinson f6b6f7aa5a Merge branch '3.0.x' into 3.1.x
Closes gh-38116
2023-10-30 12:07:26 +00:00
Andy Wilkinson 9aae29b60b Merge branch '2.7.x' into 3.0.x
Closes gh-38115
2023-10-30 12:07:09 +00:00
Andy Wilkinson c999d987a9 Improve systemd configuration documentation
Closes gh-28453
2023-10-30 12:06:04 +00:00
Andy Wilkinson 97c2311dee Merge branch '3.1.x'
Closes gh-38114
2023-10-30 11:14:01 +00:00
Andy Wilkinson 3be8475089 Merge branch '3.0.x' into 3.1.x
Closes gh-38113
2023-10-30 11:13:43 +00:00
Andy Wilkinson aaa26c90a8 Merge branch '2.7.x' into 3.0.x
Closes gh-38112
2023-10-30 11:13:25 +00:00
Andy Wilkinson f78dcac56f Clarify that @AutoConfigureWebTestClient uses mock infrastructure
Closes gh-29890
2023-10-30 11:13:03 +00:00
Moritz Halbritter 4ac654717a Merge branch '3.1.x'
Closes gh-38108
2023-10-30 09:21:55 +01:00
Moritz Halbritter b5dab09142 Merge branch '3.0.x' into 3.1.x
Closes gh-38107
2023-10-30 09:21:47 +01:00
Moritz Halbritter 57ddb20cc9 Clarify that Spring AOT imposes further restrictions
Closes gh-35032
2023-10-30 09:14:57 +01:00
Andy Wilkinson 399281716b Merge branch '3.1.x'
Closes gh-38097
2023-10-27 18:34:24 +01:00
Andy Wilkinson b37164c4fd Merge branch '3.0.x' into 3.1.x
Closes gh-38096
2023-10-27 18:34:10 +01:00
Andy Wilkinson bf195798ce Merge branch '2.7.x' into 3.0.x
Closes gh-38095
2023-10-27 18:24:33 +01:00
Andy Wilkinson d9e71f7a67 Add documentation section on AOP
Closes gh-32642
2023-10-27 17:50:24 +01:00
Andy Wilkinson 4e0dd34bbb Merge branch '3.1.x'
Closes gh-38090
2023-10-27 17:01:27 +01:00
Andy Wilkinson 9703ab717d Merge branch '3.0.x' into 3.1.x
Closes gh-38089
2023-10-27 17:01:10 +01:00
Andy Wilkinson dc31ee1184 Merge branch '2.7.x' into 3.0.x
Closes gh-38088
2023-10-27 17:00:52 +01:00
Andy Wilkinson e1203b7e28 Document that WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default
Closes gh-38083
2023-10-27 17:00:26 +01:00
Moritz Halbritter e3a36b7db5 Merge branch '3.1.x'
Closes gh-38082
2023-10-27 14:39:31 +02:00
Moritz Halbritter 02fae03e83 Merge branch '3.0.x' into 3.1.x
Closes gh-38081
2023-10-27 14:39:22 +02:00
Moritz Halbritter 07f7435b6a Document native image limitation of ApplicationContextRunner
Closes gh-34007
2023-10-27 14:39:10 +02:00
Moritz Halbritter 0e63326beb Merge branch '3.1.x'
Closes gh-38080
2023-10-27 14:21:26 +02:00
Moritz Halbritter 140ba4039d Merge branch '3.0.x' into 3.1.x
Closes gh-38079
2023-10-27 14:20:07 +02:00
Moritz Halbritter 43a3fbf449 Move "Sanitize Sensitive Values" in docs
Closes gh-35917
2023-10-27 14:16:48 +02:00
Moritz Halbritter a0a56cb38b Merge branch '3.0.x' into 3.1.x
Closes gh-38076
2023-10-27 13:28:33 +02:00
Moritz Halbritter 8a27326ba6 Add warning when downgrading to Servlet 5.0 to docs
Closes gh-33044
2023-10-27 13:28:10 +02:00
Moritz Halbritter 10b392f38b Merge branch '3.1.x'
Closes gh-38075
2023-10-27 13:26:23 +02:00
Moritz Halbritter 1d767fc7b7 Merge branch '3.0.x' into 3.1.x
Closes gh-38074
2023-10-27 13:25:41 +02:00
Moritz Halbritter b4721c9d62 Update "Use Another Web Server" documentation
Closes gh-37238
2023-10-27 13:22:46 +02:00
Moritz Halbritter 7a767b90fe Merge branch '3.1.x'
Closes gh-38072
2023-10-27 10:18:46 +02:00
Moritz Halbritter 86a1fb0949 Merge branch '3.0.x' into 3.1.x
Closes gh-38071
2023-10-27 10:18:31 +02:00
Moritz Halbritter 87742e8ee1 Merge branch '2.7.x' into 3.0.x
Closes gh-38070
2023-10-27 10:18:20 +02:00
Moritz Halbritter 3872ec868b Mention ForwardedHeaderTransformer in the documentation
Closes gh-37282
2023-10-27 10:17:29 +02:00
Andy Wilkinson 670adaa651 Merge branch '3.1.x'
Closes gh-38054
2023-10-26 08:45:15 +01:00
Andy Wilkinson 045a624bc7 Merge branch '3.0.x' into 3.1.x
Closes gh-38053
2023-10-26 08:44:30 +01:00
Andy Wilkinson ce1f8d49de Merge branch '2.7.x' into 3.0.x
Closes gh-38052
2023-10-26 08:44:16 +01:00
Andy Wilkinson 1498faaf7f Document auto-configuration packages and how to add to them
Closes gh-27549
2023-10-26 08:43:57 +01:00
Andy Wilkinson d157000536 Merge branch '3.1.x'
Closes gh-38041
2023-10-25 15:23:04 +01:00
Andy Wilkinson bbe7415eb5 Merge branch '3.0.x' into 3.1.x
Closes gh-38040
2023-10-25 15:22:54 +01:00
Andy Wilkinson bded915f9b Merge branch '2.7.x' into 3.0.x
Closes gh-38039
2023-10-25 15:22:44 +01:00
Andy Wilkinson aaaafc6ede Add a note about TestConfiguration, Import, and ordering
Closes gh-30513
2023-10-25 15:19:04 +01:00
Andy Wilkinson edd94b9f8c Merge branch '3.1.x'
Closes gh-38038
2023-10-25 15:08:05 +01:00
Andy Wilkinson 56d9de673b Merge branch '3.0.x' into 3.1.x
Closes gh-38037
2023-10-25 15:07:53 +01:00
Andy Wilkinson e4a7fd037d Merge branch '2.7.x' into 3.0.x
Closes gh-38036
2023-10-25 15:07:39 +01:00
Andy Wilkinson dc645f09b7 Add a brief mention of ConfigurationPropertyCaching
Closes gh-34172
2023-10-25 15:05:25 +01:00
Andy Wilkinson e2444f196f Merge branch '3.1.x'
Closes gh-38035
2023-10-25 14:41:24 +01:00
Andy Wilkinson b934e2edb5 Merge branch '3.0.x' into 3.1.x
Closes gh-38034
2023-10-25 14:41:12 +01:00
Andy Wilkinson 5bd9b1725a Merge branch '2.7.x' into 3.0.x
Closes gh-38033
2023-10-25 14:41:00 +01:00
Andy Wilkinson ea39a33337 Document server.servlet.encoding.* configuration properties
Closes gh-32472
2023-10-25 14:40:29 +01:00
Andy Wilkinson fb1912149e Merge branch '3.1.x'
Closes gh-38028
2023-10-25 12:24:55 +01:00
Andy Wilkinson 581dfbfa33 Merge branch '3.0.x' into 3.1.x
Closes gh-38027
2023-10-25 12:24:42 +01:00
Andy Wilkinson 5b80dd87d3 Merge branch '2.7.x' into 3.0.x
Closes gh-38026
2023-10-25 12:18:41 +01:00
Andy Wilkinson 9a23e13894 Add some documentation for customizing the reactive web server
Closes gh-31917
2023-10-25 12:17:45 +01:00
Andy Wilkinson 6bcd1cf937 Merge branch '3.1.x'
Closes gh-38025
2023-10-25 11:10:35 +01:00
Andy Wilkinson f8f60d1aae Merge branch '3.0.x' into 3.1.x
Closes gh-38024
2023-10-25 11:10:22 +01:00
Andy Wilkinson 5db85a818e Merge branch '2.7.x' into 3.0.x
Closes gh-38023
2023-10-25 11:09:56 +01:00
Andy Wilkinson a20f81b995 Mention that classpath.idx is typically generated by build plugins
Closes gh-37125
2023-10-25 11:09:17 +01:00
Andy Wilkinson edca4901dc Merge branch '3.1.x'
Closes gh-38022
2023-10-25 11:03:36 +01:00
Andy Wilkinson 56d31d47f1 Merge branch '3.0.x' into 3.1.x
Closes gh-38021
2023-10-25 11:03:24 +01:00
Andy Wilkinson e742321dbb Merge branch '2.7.x' into 3.0.x
Closes gh-38020
2023-10-25 11:02:26 +01:00
Andy Wilkinson fcdc638336 Mention what to do when use-hal-as-default-json-media-type is false
Closes gh-26814
2023-10-25 11:01:28 +01:00
Andy Wilkinson 4f7e4712dd Merge branch '3.1.x'
Closes gh-38019
2023-10-25 10:45:07 +01:00
Andy Wilkinson 4faabcfcdd Merge branch '3.0.x' into 3.1.x
Closes gh-38018
2023-10-25 10:44:38 +01:00
Andy Wilkinson b33ee84146 Merge branch '2.7.x' into 3.0.x
Closes gh-38017
2023-10-25 10:44:03 +01:00
Andy Wilkinson 8778884f5d Clarify role of WebMvcRegistrations and WebMvcConfigurer
Closes gh-31232
2023-10-25 10:42:25 +01:00
Moritz Halbritter 4c3de96d74 Fix links to Antora based JavaDoc and reference documentation
This introduces two different attributes for, e.g. the Spring Framework
version: the "normal" one, e.g. 6.1.0-SNAPSHOT, and the Antora one,
e.g. 6.1.

Spring Framework's reference documentation is still broken when using
SNAPSHOT versions, see spring-framework/gh-31480.

See gh-38000
2023-10-24 10:31:26 +02:00
Chris Bono ddd093f4e2 Fix links in Spring Pulsar section of ref guide
Spring for Apache Pulsar recently moved to Antora docs which in turn
modified the base url slightly. This commmit adjusts for the move.

See gh-37986
2023-10-23 11:06:54 +02:00
Chris Bono 1571097048 Fix links in Spring Kafka section of ref guide
Spring for Apache Kafka recently moved to Antora docs which in turn
modified the base url slightly. This commmit adjusts for the move.

See gh-37987
2023-10-23 11:03:05 +02:00
Moritz Halbritter 68d8fa14bf Polish "Add JVM Checkpoint Restore documentation"
See gh-37975
2023-10-23 11:01:25 +02:00
Sébastien Deleuze e988bf4212 Add JVM Checkpoint Restore documentation
See gh-37975
2023-10-23 11:01:20 +02:00
Moritz Halbritter d82e98ef42 Merge branch '3.1.x'
Closes gh-37960
2023-10-19 10:05:43 +02:00
Moritz Halbritter 64cf3b0712 Document how to share services with Docker Compose
Closes gh-37886
2023-10-19 10:05:14 +02:00
Moritz Halbritter 55dc2963ef Rename Testcontainers bean startup property
Old name: spring.testcontainers.startup
New name: spring.testcontainers.beans.startup

Closes gh-37073
2023-10-19 09:22:27 +02:00
Phillip Webb fe752dedef Polish adoc formatting 2023-10-16 15:50:58 -07:00
Andy Wilkinson d796087dfa Polish "Add properties for configuring EnumFeature and JsonNodeFeature"
See gh-37885
2023-10-16 15:39:25 +01:00
Andy Wilkinson 19fd88b25b Implement SSL hot reload for Netty and Tomcat
Closes gh-37808
2023-10-16 14:08:26 +01:00
Phillip Webb 4c3a0f09d7 Support parallel initialization of Testcontainers
Add support for a `spring.testcontainers.startup` property that can
be set to "sequential" or "parallel" to change how containers are
started.

Closes gh-37073
2023-10-14 23:58:25 -07:00
Moritz Halbritter fcf77ed65d Add property to stop the JVM from exiting
spring.main.keep-alive=true will spawn a non-daemon thread which stops
if the context is closed

Closes gh-37736
2023-10-12 17:02:47 +02:00
Andy Wilkinson bdaf7a7603 Merge branch '3.1.x'
Closes gh-37830
2023-10-11 15:06:09 +01:00
Andy Wilkinson 411586347c Merge branch '3.0.x' into 3.1.x
Closes gh-37829
2023-10-11 15:04:21 +01:00
Andy Wilkinson 781ac2ece2 Merge branch '2.7.x' into 3.0.x
Closes gh-37828
2023-10-11 15:02:36 +01:00
Johnny Lim 303015ea2d Polish
See gh-37745
2023-10-11 14:57:38 +01:00
Simon Verhoeven d0cadd9c4a Add reference to the new RestClient class in documentation
See gh-37726
2023-10-05 11:22:44 +02:00
Moritz Halbritter 51d549964a Merge branch '3.1.x'
Closes gh-37692
2023-10-04 10:49:32 +02:00
Moritz Halbritter a416f93eec Merge branch '3.0.x' into 3.1.x
Closes gh-37691
2023-10-04 10:49:24 +02:00
Moritz Halbritter b742bced31 Merge branch '2.7.x' into 3.0.x
Closes gh-37690
2023-10-04 10:49:10 +02:00
Moritz Halbritter 63fccf43dc Polish "Remove link to LiveReload website due to timeout"
See gh-37643
2023-10-04 10:46:40 +02:00
Jonny Coddington 88bbab374d Remove link to LiveReload website due to timeout
See gh-37643
2023-10-04 10:44:14 +02:00
Moritz Halbritter 5b129ceb09 Switch reactor context propagation from auto to limited
- Polish
- Fix @since tags
- Add a test case
- Update context-propagation version

Closes gh-34201
2023-10-04 09:37:45 +02:00
Moritz Halbritter 30f29dead8 Revert "Temporarily remove auto-config for Reactor context propagation"
This reverts commit 88de3cc089.

See gh-34201
2023-10-04 09:12:27 +02:00
Phillip Webb 7ad4a9817d Rewrite nested jar support code and remove Java 8 support
Rewrite nested jar code to better align with the implementations
provided in Java 17. This update makes two fundamental changes to
the previous implementation:

- Resource cleanup is now handled using the `java.lang.ref.Cleaner`

- Jar URLs now use the form `jar:nested:/my.jar/!nested.jar!/entry`

Unlike the previous `jar🫙/my,jar!/nested.jar!/entry` URL format,
the new format is compatible with Java's default Jar URL handler.
Specifically, it now only uses a single `jar:` prefix and it no longer
includes multiple `!/` separators.

In addition to the changes above, many of the ancillary classes have
also been refactored and updated to create cleaner APIs.

Closes gh-37668
2023-10-03 17:27:57 -07:00
Phillip Webb c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
2023-10-03 14:53:04 -07:00
Phillip Webb 3d6859e80f Use the term "uber jar" in reference documentation and javadoc
Update reference documentation and javadoc to use the term "uber jar"
rather than "fat jar".

Closes gh-37653
2023-10-02 23:01:34 -07:00
Phillip Webb 932355adbf Polish adoc formatting 2023-10-02 21:18:26 -07:00
Scott Frederick ff99de49c4 Configure a RestClient.Builder with RestClientTest
This commit adds support for configuring a `RestClient.Builder` and
`MockRestServiceServer` support for the `RestClient` when using
`@RestClientTest` sliced tests.

Closes gh-37033
2023-09-29 15:07:38 -05:00
Andy Wilkinson 3e9a1cc1f8 Add Awaitility to spring-boot-starter-test
Closes gh-37195
2023-09-29 11:50:05 +01:00
Andy Wilkinson bebca55a8f Add testAndDevelopmentOnly configuration
Closes gh-35436
2023-09-28 13:24:34 +01:00
Moritz Halbritter 40d4c177cd Merge branch '3.1.x'
Closes gh-37616
2023-09-28 08:54:22 +02:00
Moritz Halbritter a1947d6deb Merge branch '3.0.x' into 3.1.x
Closes gh-37615
2023-09-28 08:53:12 +02:00
Moritz Halbritter d266806368 Merge branch '2.7.x' into 3.0.x
Closes gh-37614
2023-09-28 08:51:12 +02:00
Moritz Halbritter 8a5979ee8c Clarify ActiveMQ usage in JMS docs
The Apache ActiveMQ project has adopted the label "Classic" for the 5.x
broker in order to more easily compare and contrast it with the broker
code-named Artemis.

See gh-37606
2023-09-28 08:46:47 +02:00
Phillip Webb 052757c2d8 Polish 2023-09-27 20:58:09 -07:00
Andy Wilkinson ecc670772a Make user details service auto-configs back off more readily
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.

This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.

Closes gh-35338
2023-09-26 16:47:19 +01:00
Moritz Halbritter 1d60e42a73 Merge branch '3.1.x'
Closes gh-37572
2023-09-25 12:02:34 +02:00
Sushant Kumar Singh 088d9ccc32 Remove mockito-inline from documentation
See gh-37561
2023-09-25 11:58:53 +02:00
Moritz Halbritter 1f137af90f Merge branch '3.1.x'
Closes gh-37533
2023-09-22 09:26:27 +02:00
Moritz Halbritter b5cc6f9f92 Merge branch '3.0.x' into 3.1.x
Closes gh-37532
2023-09-22 09:26:17 +02:00
Moritz Halbritter 17092e124d Merge branch '2.7.x' into 3.0.x
Closes gh-37531
2023-09-22 09:26:08 +02:00
Moritz Halbritter 6be8ce948a Document support for Java 21
Closes gh-37371
2023-09-22 09:22:14 +02:00
Moritz Halbritter 77f0828f7f Merge branch '3.1.x'
Closes gh-37444
2023-09-18 10:22:13 +02:00
Moritz Halbritter 5d120faac2 Merge branch '3.0.x' into 3.1.x
Closes gh-37443
2023-09-18 10:22:01 +02:00
Moritz Halbritter 5a0bc0a112 Merge branch '2.7.x' into 3.0.x
Closes gh-37442
2023-09-18 10:21:44 +02:00
Moritz Halbritter ff2fc95daf Document that PKCS8 PEM files should be used whenever possible
Closes gh-37170
2023-09-18 10:18:06 +02:00
Brian Clozel 0fc97e9315 Auto-configure ObservationRegistry on JmsTemplate
Spring Boot auto-configures both a `JmsTemplate` and a
`JmsMessagingTemplate`. As of Spring Framework 6.2, JMS has
observability support when publishing messages.

This commit creates a bean post-processor that configures an
`ObservationRegistry` on the template, if the registry is present.

Closes gh-37388
2023-09-15 16:28:06 +02:00
Brian Clozel d6daf87074 Update Antora reference documentation links
This commit updates the base URLs for reference documentations when the
relevant Spring project is now being published with Antora.

This commit updates the following projects:

* Spring Framework
* Spring Integration
* Spring for GraphQL
* Spring Security, including Authorization Server
* Spring Batch
* Spring Data JPA

Closes gh-37428
2023-09-15 15:55:52 +02:00
Johnny Lim 8f4ccb0535 Polish
See gh-37393
2023-09-15 11:44:06 +01:00
Andy Wilkinson e3d884803e Add Docker Compose support for Neo4j
Closes gh-37379
2023-09-14 13:25:38 +01:00
Chris Bono b81d78f324 Add SSL section to Pulsar docs
- Add link to Spring Pulsar TLS docs
- Update usage of 'Spring Pulsar' to 'Spring for Apache Pulsar'

See gh-37375
2023-09-14 11:31:57 +02:00
Moritz Halbritter c387c87fda Polish "Add service connection from OpenTelemetry Collector"
See gh-35082
2023-09-14 10:50:36 +02:00
Eddú Meléndez 6997277f75 Add service connection from OpenTelemetry Collector
See gh-35082
2023-09-14 09:44:20 +02:00
Johnny Lim c2b78830ff Polish
See gh-37340
2023-09-13 10:26:54 +02:00
Brian Clozel c8d036eaa8 Remove ServerHttpObservationFilter from WebFlux
This commit removes the auto-configuration of the
`ServerHttpObservationFilter` bean for WebFlux applications as it's been
deprecated by Spring Framework.

The Observability instrumentation is now handled at the
`WebHttpHandlerBuilder` in Framework directly and doesn't need any
auto-configuration from Spring Boot.

Closes gh-37344
2023-09-12 10:59:25 +02:00
Brian Clozel 0d902c1323 Document Welcome Page support ordering
This commit documents the relative ordering of `HandlerMapping` support
in Spring MVC and WebFlux applications.
As of Spring Framework 6.1.0, the Welcome Page support acts as a
fallback in case no index route has been defined by the application as a
`RouterFunction` or within an annotated `@Controller`.

Closes gh-34846
2023-09-11 15:04:43 +02:00
Andy Wilkinson ed5d16de84 Upgrade to Jetty 12
Closes gh-36073
2023-09-07 13:59:15 +01:00
Chris Bono 089fef0392 Add Pulsar ConnectionDetails support
Add `ConnectionDetails` support for Apache Pulsar and provide adapters
for Docker Compose and Testcontainers.

See gh-37197
2023-09-06 12:12:25 -07:00
Chris Bono 6e7b845bdf Add support for Apache Pulsar
Add support for Apache Pulsar using the Spring for Apache Pulsar
project.

See gh-34763

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2023-09-05 17:01:51 -07:00
Moritz Halbritter cf2828fdb8 Add link to Spring Modulith to documentation
Closes gh-37106
2023-08-31 13:22:52 +02:00
Phillip Webb 3a99066eeb Merge branch '3.1.x' 2023-08-24 10:33:15 -07:00
Phillip Webb 81a03cf240 Merge branch '2.7.x' into 3.1.x 2023-08-24 10:32:37 -07:00
Phillip Webb fbea788e0a Merge branch '2.7.x' into 3.0.x 2023-08-24 10:32:27 -07:00
Phillip Webb 727e22abac Restore Redis to NoSQL stores supported by Spring Data documentation
See gh-29694
2023-08-24 10:31:01 -07:00
Scott Frederick c55e8b9b9a Merge branch '3.1.x'
Closes gh-37072
2023-08-22 12:11:08 -05:00
Scott Frederick 23de8a1177 Merge branch '3.0.x' into 3.1.x
Closes gh-37071
2023-08-22 12:10:46 -05:00
jongwooo 37855a597c Fix links to Oracle API javadoc in the documentation
See gh-37070
2023-08-22 11:59:21 -05:00
Scott Frederick eb45aab712 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
2023-08-14 13:29:42 -05:00
Stephane Nicoll 89bb8e87c2 Merge branch '3.1.x'
Closes gh-36963
2023-08-14 12:04:23 +02:00
Stephane Nicoll 8ce6002206 Merge branch '3.0.x' into 3.1.x
Closes gh-36962
2023-08-14 12:04:11 +02:00
Stephane Nicoll 82b0666813 Merge branch '2.7.x' into 3.0.x
Closes gh-36961
2023-08-14 12:04:01 +02:00
Stephane Nicoll 0e6abd1377 Provide more information about using spring.cache.type=none
Closes gh-33694
2023-08-14 12:03:40 +02:00
Phillip Webb 407fa780c8 Polish 2023-08-13 20:44:44 -07:00
Andy Wilkinson 6c3c8398d0 Upgrade to Elasticsearch Client 8.9.0
Closes gh-36886
2023-08-09 20:45:31 +01:00
Andy Wilkinson 94d6ccd7a5 Merge branch '3.1.x'
Closes gh-36863
2023-08-09 12:51:25 +01:00
Andy Wilkinson 8bd2e1a717 Merge branch '3.0.x' into 3.1.x
Closes gh-36862
2023-08-09 12:51:11 +01:00
Andy Wilkinson 29beb3ed24 Merge branch '2.7.x' into 3.0.x
Closes gh-36861
2023-08-09 12:50:59 +01:00
Andy Wilkinson d277631331 Document `@EntityScan` and `@Enable…Repositories` for tuning scanning
Closes gh-36282
2023-08-09 12:47:30 +01:00
Moritz Halbritter 5b00d5f89b Auto-configure SimpleAsyncTaskScheduler when virtual threads are enabled
This auto-configures a new SimpleAsyncTaskSchedulerBuilder bean in the
context. This bean is configured to use virtual threads, if enabled.

SimpleAsyncTaskSchedulerCustomizers can be used to customize the built
SimpleAsyncTaskScheduler.

If virtual threads are enabled, the application task scheduler is
configured to be a SimpleAsyncTaskScheduler.

Adds a new configuration property spring.task.scheduling.simple
.concurrency-limit

Closes gh-36609
2023-08-09 13:43:08 +02:00
Andy Wilkinson 4f9fcfc2de Merge branch '3.1.x'
Closes gh-36854
2023-08-09 10:46:11 +01:00
Andy Wilkinson c59eca02ba Merge branch '3.0.x' into 3.1.x
Closes gh-36853
2023-08-09 10:45:48 +01:00
Andy Wilkinson 4ec1a05b9c Merge branch '2.7.x' into 3.0.x
Closes gh-36852
2023-08-09 10:45:32 +01:00
Andy Wilkinson 45b62b1452 Clarify transfer of logging props from Environment to System props
Closes gh-32160
2023-08-09 10:42:22 +01:00
Stephane Nicoll cee5c9142c Merge branch '3.1.x'
Closes gh-36851
2023-08-09 11:40:52 +02:00
Stephane Nicoll 22fde44e3b Merge branch '3.0.x' into 3.1.x
Closes gh-36850
2023-08-09 11:40:41 +02:00
Stephane Nicoll 2d8dbbd1f3 Review Google Cloud section of the reference guide
Closes gh-33730
2023-08-09 11:38:14 +02:00
Stephane Nicoll 38dbc644ae Add auto-configuration for JdbcClient
Closes gh-36579
2023-08-09 11:18:25 +02:00
Andy Wilkinson 647b20bb30 Merge branch '3.1.x'
Closes gh-36814
2023-08-08 17:10:59 +01:00
Andy Wilkinson 786673f936 Merge branch '3.0.x' into 3.1.x
Closes gh-36813
2023-08-08 17:09:02 +01:00
Andy Wilkinson b4378e4415 Merge branch '2.7.x' into 3.0.x
Closes gh-36812
2023-08-08 17:08:47 +01:00
Andy Wilkinson 05244d7a5c Clarify which NoSQL stores are supported by Spring Data
Closes gh-29694
2023-08-08 17:06:19 +01:00
Andy Wilkinson 6e3cbac7df Merge branch '3.1.x'
Closes gh-36811
2023-08-08 16:50:54 +01:00
Andy Wilkinson 331e90ccbe Merge branch '3.0.x' into 3.1.x
Closes gh-36810
2023-08-08 16:50:14 +01:00
Andy Wilkinson 24ba267516 Merge branch '2.7.x' into 3.0.x
Closes gh-36809
2023-08-08 16:50:00 +01:00
Andy Wilkinson 0ab7129dab Clarify treatment of nested directories for configtree with wildcards
Closes gh-28203
2023-08-08 16:49:21 +01:00
Andy Wilkinson a1f30a2316 Merge branch '3.1.x'
Closes gh-36798
2023-08-08 12:57:26 +01:00
Andy Wilkinson 8c8aa19691 Merge branch '3.0.x' into 3.1.x
Closes gh-36797
2023-08-08 12:57:12 +01:00
Andy Wilkinson 355012d40b Merge branch '2.7.x' into 3.0.x
Closes gh-36796
2023-08-08 12:57:00 +01:00
Andy Wilkinson b978950cb2 Clarify the effect of `@EnableWebMvc`
Closes gh-36506
2023-08-08 12:56:24 +01:00
Andy Wilkinson d658a8cd47 Merge branch '3.1.x'
Closes gh-36794
2023-08-08 12:52:40 +01:00
Andy Wilkinson 930824a566 Merge branch '3.0.x' into 3.1.x
Closes gh-36793
2023-08-08 12:52:26 +01:00
Andy Wilkinson 4b8a848ecf Merge branch '2.7.x' into 3.0.x
Closes gh-36792
2023-08-08 12:52:14 +01:00
Andy Wilkinson 8dec443e3b Document default for MVC and WebFlux date and time formatting
Closes gh-30041
2023-08-08 12:51:29 +01:00
Andy Wilkinson 00264cb9c8 Merge branch '3.1.x'
Closes gh-36790
2023-08-08 12:01:35 +01:00
Andy Wilkinson f0343df9c5 Merge branch '3.0.x' into 3.1.x
Closes gh-36789
2023-08-08 12:01:25 +01:00
Andy Wilkinson 406e934325 Merge branch '2.7.x' into 3.0.x
Closes gh-36788
2023-08-08 12:01:10 +01:00
Andy Wilkinson e7203e31c8 Correct documentation of default path matching strategy
Closes gh-32557
2023-08-08 11:48:04 +01:00
Andy Wilkinson e286213110 Merge branch '3.1.x'
Closes gh-36784
2023-08-08 11:01:39 +01:00
Andy Wilkinson f2fce3a008 Merge branch '3.0.x' into 3.1.x
Closes gh-36783
2023-08-08 11:01:11 +01:00
Andy Wilkinson a91f1f0387 Merge branch '2.7.x' into 3.0.x
Closes gh-36782
2023-08-08 10:59:29 +01:00
Andy Wilkinson db0ab9f580 Improve documentation for configuration of schema and data scripts
Closes gh-36176
2023-08-08 10:58:28 +01:00
Andy Wilkinson b1d26fe961 Revert "Upgrade default CNB builders to Paketo Jammy"
This reverts commit 6506208d29. The
upgrade to the Jammy builder was causing
failsWhenBuildImageIsInvokedOnMultiModuleProjectWithBuildImageGoal to
hang on CI.

See gh-36689
2023-08-07 12:10:27 +01:00
Stephane Nicoll 870df5ab08 Merge branch '2.7.x' into 3.0.x
Closes gh-36761
2023-08-04 16:23:51 +02:00
Stephane Nicoll 5ed5820f92 Clarify expected jar size in getting started doc
Closes gh-34514
2023-08-04 16:23:31 +02:00
Stephane Nicoll c8334e90f8 Merge branch '3.1.x'
Closes gh-36757
2023-08-04 15:27:04 +02:00
Stephane Nicoll f7c8e48dc4 Merge branch '3.0.x' into 3.1.x
Closes gh-36756
2023-08-04 15:26:54 +02:00
Stephane Nicoll 89cb599d0d Merge branch '2.7.x' into 3.0.x
Closes gh-36755
2023-08-04 15:26:41 +02:00
Stephane Nicoll d101004d5f Document @DataR2dbcTest support
Closes gh-35014
2023-08-04 15:25:16 +02:00
Scott Frederick 6506208d29 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
2023-08-02 19:06:16 -05:00
Scott Frederick 63a8edfa15 Merge branch '3.1.x'
Closes gh-36691
2023-08-02 17:51:52 -05:00
Scott Frederick ecd2b0178f Merge branch '3.0.x' into 3.1.x
Closes gh-36690
2023-08-02 17:50:56 -05:00
Scott Frederick e25c267585 Update Paketo builder references in documentation
Closes gh-36688
2023-08-02 17:49:32 -05:00
Scott Frederick 2e50d11d86 Add since attribute to @DeprecatedConfigurationProperty annotation
Closes gh-36482
2023-08-01 16:13:22 -05:00
Stephane Nicoll 191ac10009 Deprecate support for OkHttp
Closes gh-36632
2023-08-01 16:45:13 +02:00
Moritz Halbritter 51008a7d39 Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
Closes gh-36651
2023-08-01 10:32:58 +02:00
Moritz Halbritter de4b2d679f Add documentation for SimpleAsyncTaskExecutorBuilder
See gh-35711
2023-07-31 14:17:17 +02:00
Moritz Halbritter 32c91af440 Add ThreadPoolTaskExecutorBuilder and deprecate TaskExecutorBuilder
Closes gh-36637
2023-07-31 11:51:17 +02:00
Andy Wilkinson 5c845c7ddc Merge branch '3.1.x'
Closes gh-36647
2023-07-31 10:05:05 +01:00
Andy Wilkinson 5f72e441d0 Polish "Add note about enabling docker compose support in tests"
See gh-36636
2023-07-31 09:47:24 +01:00
Matteo Bianchi 0e43e81e73 Add note about enabling docker compose support in tests
See gh-36636
2023-07-31 09:39:05 +01:00
Yanming Zhou f6eaedea35 Reinstate use of configprop macro
See gh-36604
2023-07-28 11:03:06 +01:00
Moritz Halbritter b0615dd311 Split OpenTelemetry auto-configuration
The OpenTelemetry bean is now configured in the
OpenTelemetryAutoConfiguration. This method also applies
SdkLoggerProvider and SdkMeterProvider.

Additionally, the OpenTelemetry Resource is now a bean. Resource
attributes can now be configured through properties

The resourceAttributes in OtlpProperties have been deprecated in favor
of the new one in OpenTelemetryProperties.

Closes gh-36544
Closes gh-36545
2023-07-27 08:53:09 +02:00
Johnny Lim 96c9915f12 Polish
See gh-36565
2023-07-26 10:00:56 +02:00
Moritz Halbritter 5cc2d3b764 Merge branch '3.1.x'
Closes gh-36582
2023-07-26 09:53:40 +02:00
Moritz Halbritter 3edb3797a0 Merge branch '3.0.x' into 3.1.x
Closes gh-36581
2023-07-26 09:52:55 +02:00
Moritz Halbritter 1a8ffd54fc Merge branch '2.7.x' into 3.0.x
Closes gh-36580
2023-07-26 09:52:40 +02:00
Mahatma_Fatal_Error 98f76698c8 Fix server.forward-headers-strategy documentation
See gh-36564
2023-07-26 09:50:33 +02:00
Moritz Halbritter 6050fff078 Auto-configure observability for R2DBC
The new ConnectionFactoryDecorator can be used to decorate the
ConnectionFactory built by the ConnectionFactoryBuilder.

The new R2dbcObservationAutoConfiguration configures a
ConnectionFactoryDecorator to attach a ObservationProxyExecutionListener
to ConnectionFactories. This enables Micrometer Observations for R2DBC
queries.

Closes gh-33768
2023-07-25 17:01:55 +02:00
Christoph Dreis 343c9c6f7e Remove references to Atomikos and Bitronix
See gh-35562
2023-07-21 16:23:14 +01:00
Andy Wilkinson 3affb3342e Deprecate auto-configuration for InfluxDB
Closes gh-35190
2023-07-20 13:31:10 +01:00
Stephane Nicoll 311fa6272d Polish "Add service connection for Testcontainers ActiveMQ"
This also adds support for Docker Compose.

See gh-35080
2023-07-20 13:03:41 +02:00
Eddú Meléndez 63121dd08a Add service connection for Testcontainers ActiveMQ
See gh-35080
2023-07-20 13:03:41 +02:00
Andy Wilkinson 283dc37db3 Make AnnotatedControllerConfigurer use applicationTaskExecutor
Closes gh-36388
2023-07-18 15:35:31 +01:00
Andy Wilkinson d205d10519 Configure WebFlux's blocking execution to use applicationTaskExecutor
Closes gh-36331
2023-07-18 11:18:25 +01:00
Stephane Nicoll 60df7e3bce Polish contribution
See gh-36251
2023-07-17 13:37:30 +02:00
Andy Wilkinson f33874e98e Allow auto-configured applicationTaskExecutor to use virtual threads
With this commit, when virtual threads are enabled, the auto-configured
applicationTaskExecutor changes from a ThreadPoolTaskExecutor to a
SimpleAsyncTaskExecutor with virtual threads enabled.

As before, any TaskDecorator bean is applied to the auto-configured
executor and the spring.task.execution.thread-name-prefix property is
applied. Other spring.task.execution.* properties are ignored as they
are specific to a pool-based executor.

Closes gh-35710
2023-07-17 10:01:16 +01:00
Andy Wilkinson b66eea8d2a Merge branch '3.1.x'
Closes gh-36356
2023-07-12 08:34:08 +01:00
Andy Wilkinson d5ca66d47c Merge branch '3.0.x' into 3.1.x
Closes gh-36355
2023-07-12 08:33:43 +01:00
Andy Wilkinson 2a5a5d19b7 Update Servlet container system requirements
Closes gh-36354
2023-07-12 08:33:10 +01:00
Phillip Webb cfdc173e34 Add RestClient SSL support
Add `RestClientSsl` support class to help apply an `SslBundle` to a
`RestClient.Builder`.

See gh-36213
2023-07-05 21:22:52 +01:00
Phillip Webb 7c1b168ed6 Overhaul reference documentation for RestClient
Reorder "Calling REST services" documentation and add a new section
covering `RestClient`.

See gh-36213
2023-07-05 21:22:49 +01:00
Andy Wilkinson 62eb3d3051 Merge branch '3.1.x'
Closes gh-36234
2023-07-05 09:12:59 +01:00
Andy Wilkinson 0bfc3c3872 Merge branch '3.0.x' into 3.1.x
Closes gh-36233
2023-07-05 09:12:47 +01:00
Yanming Zhou 9439494923 Polish formatting in "Running Spring Batch Jobs on Startup"
See gh-36225
2023-07-05 09:12:07 +01:00
Andy Wilkinson c3e2c9d684 Polish "Support Jetty in ClientHttpRequestFactories"
See gh-36116
2023-07-04 17:49:07 +01:00
Phillip Webb 41cdfb891f Merge branch '3.1.x'
Closes gh-36220
2023-07-04 15:18:42 +01:00
Phillip Webb 2e11349c93 Merge branch '3.0.x' into 3.1.x
Closes gh-36219
2023-07-04 15:18:32 +01:00
Phillip Webb 9884abb379 Merge branch '2.7.x' into 3.0.x
Closes gh-36218
2023-07-04 15:18:15 +01:00
Phillip Webb fc31e14e72 Polish 'Improve Kubernetes probe customization documentation'
See gh-34978
2023-07-04 15:17:20 +01:00
Ivo Smid 028ff3a7be Improve Kubernetes probe customization documentation
See gh-34978
2023-07-04 15:17:20 +01:00
Andy Wilkinson eb58ade3a2 Merge branch '3.1.x'
Closes gh-36216
2023-07-04 15:13:51 +01:00
Andy Wilkinson 215763bded Merge branch '3.0.x' into 3.1.x
Closes gh-36215
2023-07-04 15:13:35 +01:00
Andy Wilkinson b764b5beee Merge branch '2.7.x' into 3.0.x
Closes gh-36214
2023-07-04 15:13:19 +01:00
Andy Wilkinson 1f75ba557e Document HTTP client auto-detection for RestTemplate and WebClient
Closes gh-34136
2023-07-04 15:09:40 +01:00
Phillip Webb 8c3f847bfe Merge branch '3.1.x' 2023-06-30 14:54:52 +01:00
Phillip Webb 7c63870305 Merge branch '3.0.x' into 3.1.x 2023-06-30 14:54:36 +01:00
Phillip Webb a14ddd6900 Polish adoc formatting 2023-06-30 14:54:21 +01:00
Andy Wilkinson 57ed2016b6 Merge branch '3.1.x'
Closes gh-36143
2023-06-30 14:07:08 +01:00
Andy Wilkinson 164bd7924e Merge branch '3.0.x' into 3.1.x
Closes gh-36142
2023-06-30 14:06:52 +01:00
Andy Wilkinson 3d1ca62a6f Merge branch '2.7.x' into 3.0.x
Closes gh-36141
2023-06-30 14:06:39 +01:00
Andy Wilkinson 362182efd8 Polish "Polish Kafka Properties Docs"
See gh-36032
2023-06-30 14:06:13 +01:00
Gary Russell 025063e708 Polish Kafka Properties Docs
There are 4 client types but there were a couple of places where not
all client types were mentioned (such as 'applies to producers,
consumers and admins').

See gh-36032
2023-06-30 14:01:26 +01:00
Andy Wilkinson 60553415d0 Merge branch '3.1.x'
Closes gh-36140
2023-06-30 13:00:50 +01:00
Andy Wilkinson d7da2d9eb2 Merge branch '3.0.x' into 3.1.x
Closes gh-36139
2023-06-30 13:00:37 +01:00
Andy Wilkinson 66aa55b65d Merge branch '2.7.x' into 3.0.x
Closes gh-36138
2023-06-30 13:00:25 +01:00
JuHyeong Ahn dbdb4d4e8d Fix typo in Using R2DBC
See gh-36019
2023-06-30 12:59:49 +01:00
Moritz Halbritter b655523ef9 Merge branch '3.1.x'
Closes gh-36132
2023-06-30 10:44:48 +02:00
Moritz Halbritter 3d15b02441 Merge branch '3.0.x' into 3.1.x
Closes gh-36131
2023-06-30 10:44:34 +02:00
Moritz Halbritter 606063589f Document trace propagation with RestTemplate and WebClient
Closes gh-34053
2023-06-30 10:44:14 +02:00
Moritz Halbritter cff26d9843 Merge branch '3.1.x'
Closes gh-36113
2023-06-29 11:42:12 +02:00
Moritz Halbritter 20321b5685 Merge branch '3.0.x' into 3.1.x
Closes gh-36112
2023-06-29 11:39:20 +02:00
Moritz Halbritter 2b398827de Add "baggage" section to tracing docs
Closes gh-34977
2023-06-29 11:30:58 +02:00
Scott Frederick 67725d4781 Merge branch '3.1.x'
Closes gh-36052
2023-06-23 15:26:53 -06:00
James Stansell ea41a22284 Fix typo in docker compose service connections note
See gh-36016
2023-06-23 15:25:30 -06:00
Jonatan Ivanov 228b8eb8e4
Polish log correlation docs
Docs related to gh-33280 (log correlation) and
gh-35593 (application name in each log line) need some polishing:
- Fix project names
- Show how to avoid having the application name duplicated in logs
- Call out that a trailing space is needed in the correlation pattern

Closes gh-36035
See gh-33280
See gh-35593
2023-06-22 14:51:02 -07:00
Phillip Webb 493777d3c9 Include the application name on each log line when it is available
Update Logback and Log4J2 so that they include the application name on
each log line. If `spring.application.name` had not been set, or if
`logging.include-application-name` is `false` then the name is not
logged.

Closes gh-35593
2023-06-22 00:40:51 -07:00
Jonatan Ivanov c1b295fd71 Log correlation IDs when Micrometer tracing is being used
Add support for logging correlation IDs with Logback or Log4J2 whenever
Micrometer tracing is being used.

The `LoggingSystemProperties` class now accepts a defualt value resolver
which will be used whenever a value isn't in the environment. The
`AbstractLoggingSystem` provides a resolver that supports the
`logging.pattern.correlation` property and will return a value whenever
`LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` is set.

Using `LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` allows us to
provide a consistent width for the correlation ID, even when it's
missing from the MDC.

The exact correlation pattern returned will depend on the `LoggingSytem`
implementation. Currently Logback and Log4J2 are supported and both
make use of a custom converter which delegates to a new
`CorrelationIdFormatter` class.

Closes gh-33280
2023-06-22 00:28:45 -07:00
Phillip Webb 3a796aedea Merge branch '3.1.x' 2023-06-22 00:28:01 -07:00
Phillip Webb 31f218c4e0 Merge branch '3.0.x' into 3.1.x 2023-06-22 00:27:51 -07:00
Phillip Webb 9db3c5a2f7 Polish 2023-06-22 00:24:39 -07:00
Andy Wilkinson 68aec97ee7 Merge branch '3.1.x' 2023-06-21 12:44:06 +01:00
Andy Wilkinson 5b69580d5d Merge branch '3.0.x' into 3.1.x
Closes gh-36004
2023-06-21 12:43:48 +01:00
Andy Wilkinson f584d6dbd9 Replace `@EnableBatchProcessing` in slice test examples
Using `@EnableBatchProcessing` is no longer necessary to enable
Batch's auto-configuration so it's no longer a good example when
discussing sliced tests and user configuration.

This commit replaces `@EnableBatchProcessing` with an alternative
annotation, `@EnableMongoAuditing` and updates the accompanying
text.

Closes gh-33435
2023-06-21 12:41:28 +01:00
Jonatan Ivanov 85934c3919
Merge branch '3.1.x'
Closes gh-35930
2023-06-16 13:03:08 -07:00
Johnny Lim 06157837e5
Polish
See gh-35872
2023-06-16 12:39:03 -07:00
Andy Wilkinson 740815da03 Merge branch '3.1.x' 2023-06-15 14:38:43 +01:00
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
2023-06-15 14:38:31 +01:00
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
2023-06-15 14:38:13 +01:00
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
2023-06-15 14:36:38 +01:00
Moritz Halbritter c73315b4a3 Add property to prevent observations starting with a prefix
For example, setting management.observations.enable.denied.prefix=false
will prevent all observations starting with 'denied.prefix'

Closes gh-34802
2023-06-13 14:04:33 +02:00
Moritz Halbritter 491e12ab5e Add property to disable Spring Security observations
Setting 'management.observations.spring-security.enabled' installs an
ObservationPredicate, which prevents all observations starting with
'spring.security.' to be created.

Closes gh-34802
2023-06-13 11:18:05 +02:00
Moritz Halbritter 6eede829d2 Merge branch '3.1.x' 2023-06-13 10:21:06 +02:00
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
2023-06-13 10:18:16 +02:00
Moritz Halbritter 5b06224af5 Add property for common key/values on observations
- Deprecates 'management.metrics.tags.*'

Closes gh-33241
2023-06-13 09:56:42 +02:00
Moritz Halbritter 2e37c0da18 Merge branch '3.0.x'
Closes gh-35769
2023-06-07 09:32:14 +02:00
Moritz Halbritter a9b4e9327c Merge branch '2.7.x' into 3.0.x
Closes gh-35768
2023-06-07 09:32:07 +02:00
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
2023-06-07 09:29:23 +02:00
Moritz Halbritter 0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
2023-06-07 09:08:54 +02:00
Steve Riesenberg ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
2023-06-07 09:07:14 +02:00
Yanming Zhou e8659da59b Fix error in SSL bundle documentation
See gh-35665
2023-05-30 17:15:50 -05:00
Moritz Halbritter eb9077df86 Document how to customize the JDBC parameters when using Docker Compose
Closes gh-35636
2023-05-26 13:28:40 +02:00
Andy Wilkinson 6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2023-05-25 14:20:17 +01:00
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2023-05-25 14:19:58 +01:00
Andy Wilkinson f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2023-05-25 14:11:44 +01:00
Bikash Adhikari 13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2023-05-25 14:11:27 +01:00
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2023-05-22 16:24:56 +02:00
Phillip Webb 060581d078 Remove pluggable docker compose ReadinessCheck
Remove pluggable `ReadinessCheck` interface and only use the
`TcpConnectServiceReadinessCheck` implementation for now. We
may re-introduce pluggable checks in a future version.

See gh-35544
2023-05-17 16:26:59 -07:00
Phillip Webb ae90add7c7 Polish 2023-05-16 14:04:48 -07:00
Scott Frederick 271cbb76c1 Improve documentation for including Docker Compose support in a build
Closes gh-35384
2023-05-10 13:42:36 -05:00
Johnny Lim ff9fd1abeb Polish
See gh-35185
2023-05-10 08:31:36 +02:00
Moritz Halbritter 1504e3043d Document devtools when using testcontainers at dev time
See gh-35200
2023-05-09 08:31:24 +02:00
Moritz Halbritter afa929cd6b Polish documentation 2023-05-05 13:38:27 +02:00
Moritz Halbritter 4d14d0e437 Merge branch '3.0.x'
Closes gh-35321
2023-05-05 11:31:54 +02:00
Moritz Halbritter 8a14f6d017 Clarify conditional support when using AOT
Closes gh-35262
2023-05-05 11:31:17 +02:00
Moritz Halbritter c4deae3906 Document that Spring Boot by default calls 'docker compose stop' 2023-05-05 10:21:09 +02:00
Andy Wilkinson 4f9616c2f9 Change DockerComposeProperties shut down default to stop
Closes gh-35239
2023-05-04 21:09:16 +01:00
Moritz Halbritter 243b337954 Remove copyright from the anchor-rewrite.properties 2023-05-03 16:11:53 +02:00
Moritz Halbritter 46fedfc4ef Move JAR unpacking section and add AOT on JVM section
Closes gh-32905
2023-05-03 16:01:19 +02:00
Moritz Halbritter bdca30e85b Polish 2023-05-03 14:33:07 +02:00
Moritz Halbritter 71f4247340 Improve headings
See gh-32779
2023-05-03 14:31:43 +02:00
Moritz Halbritter 56b8e419be Update getting started with alternative gradle instructions
Closes gh-32779
2023-05-03 14:29:02 +02:00
Eddú Meléndez ad4f6ffeb7 Add service connection from Testcontainers Zipkin
See gh-35107
2023-05-03 13:09:49 +02:00
Phillip Webb 8427e813af Support import of idomatic testcontainer declaration classes
Add an `@ImportTestcontainers` annotation which can be used to import
idomatic testcontainer declaration classes.

Closes gh-35245
2023-05-03 00:28:36 -07:00
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
2023-05-03 00:27:13 -07:00
Scott Frederick d913472919 Add Kotlin samples and polish SSL bundle documentation
Closes gh-35105
2023-04-28 14:31:01 -05:00
Andy Wilkinson d7da77bda8 Remove support for service connections to InfluxDB
Closes gh-35189
2023-04-28 09:49:39 +01:00
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
2023-04-27 15:24:55 -05:00
Andy Wilkinson 8bbe894665 Add Docker Compose service connection support for Oracle using JDBC
Closes gh-35145
2023-04-27 11:07:53 +01:00
Andy Wilkinson 1e785e81f8 Add Docker Compose support for Oracle Database using R2DBC
Closes gh-35143
2023-04-27 10:33:25 +01:00
Andy Wilkinson b5178afa21 Add Docker Compose support for MS SQL Server using JDBC
Closes gh-35146
2023-04-27 09:31:24 +01:00
Scott Frederick 43b42eca49 Add Docker Compose service connection support for Cassandra
Closes gh-35136
2023-04-25 16:06:34 -05:00
Andy Wilkinson dee5217cf0 Add Docker Compose support for MS SQL Server using R2DBC
Closes gh-35144
2023-04-24 16:47:58 -07:00
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
2023-04-24 16:40:07 -07:00
Stephane Nicoll 363dc9368d Merge branch '3.0.x'
Closes gh-35130
2023-04-24 13:46:17 +02:00
Stephane Nicoll 7f0402f869 Merge branch '2.7.x' into 3.0.x
Closes gh-35129
2023-04-24 13:46:04 +02:00
Ivan Dimitrov f4db73ead9 Harmonize references to application.yaml files in reference docs
See gh-34628
2023-04-24 13:42:05 +02:00
Lukasz Jernas d38a68ebcd Fix typo in testing docs
See gh-35128
2023-04-24 13:26:19 +02:00
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
2023-04-21 23:18:54 -07:00
Phillip Webb e19aa81813 Polish formatting 2023-04-21 23:18:44 -07:00
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
2023-04-21 20:39:18 -07:00
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
2023-04-21 01:13:10 -07:00
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
2023-04-21 01:13:09 -07:00
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
2023-04-21 01:13:09 -07:00
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
2023-04-21 01:13:09 -07:00
Scott Frederick a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
2023-04-21 01:13:05 -07:00
Andy Wilkinson c55d398f95 Validate health group includes and excludes
Closes gh-34360
2023-04-19 19:51:57 +01:00
Andy Wilkinson f2e5eab09c Polish does for reporting traces using OTLP
See gh-34508
2023-04-19 15:42:21 +01:00
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
2023-04-19 14:44:56 +01:00
Stephane Nicoll a323bd90a8 Polish "Reintroduce support for ActiveMQ"
See gh-35048
2023-04-19 13:08:14 +02:00
Martin BENDA 3e9908a797 Reintroduce support for ActiveMQ
See gh-35048
2023-04-19 11:00:40 +02:00
Andy Wilkinson 0da209db08 Polish "Add support for Oracle R2DBC Service Connection"
See gh-34852
2023-04-18 13:47:46 +01:00
Andy Wilkinson 98d077c74c Polish "Add service connection from Testcontainers Redpanda"
See gh-34780
2023-04-18 12:49:25 +01:00
Andy Wilkinson ce1c3e52d7 Merge branch '3.0.x'
Closes gh-35040
2023-04-17 19:47:38 +01:00
Andy Wilkinson d30f0575f0 Polish "Improve documentation of tracing deps and config props"
See gh-34991
2023-04-17 19:47:16 +01:00
Robert K dfe60cb2d3 Improve documentation of tracing deps and config props
See gh-34991
2023-04-17 19:47:16 +01:00
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
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
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
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 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
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
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
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
Moritz Halbritter 17d4fb1e60 Fix HTTP/2 documentation
Closes gh-33734
2023-01-10 16:01:13 +01:00
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2023-01-09 19:01:57 -08:00
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2023-01-09 18:09:20 -08:00
Moritz Halbritter 5a70422d1d Add reference to Spring Authorization Server project 2023-01-09 15:26:40 +01:00
Moritz Halbritter 56b51d01a7 Clarify that AOT uses code generation 2023-01-09 15:26:20 +01:00
Moritz Halbritter 3c45a805f5 Polish documentation 2023-01-09 15:25:51 +01:00
Moritz Halbritter 648db6d1ea Remove reference to spring-cli run command from documentation 2023-01-09 15:25:27 +01:00
Moritz Halbritter 9e414fa263 Update minimum required maven version to 3.5 in documentation 2023-01-09 15:24:53 +01:00
Moritz Halbritter c0728e1288 Polish documentation 2023-01-09 15:24:26 +01:00
Moritz Halbritter 5a97c1493e Update Java 11 to Java 17 in documentation 2023-01-09 15:24:16 +01:00
Moritz Halbritter 7922ac63bc Polish documentation 2023-01-09 15:23:27 +01:00
Moritz Halbritter 1e70822adb Fix javax with jakarta references in documentation 2023-01-09 12:46:02 +01:00
Sanan f291695bda Remove run example from documentation
See gh-33519
2023-01-09 12:20:46 +01:00
rfigueroa 2b3a24be18 Update dockerfile samples to use Java 17
See gh-33629
2023-01-09 12:17:44 +01:00
Moritz Halbritter 6a6ecad325 Merge branch '2.7.x'
Closes gh-33728
2023-01-09 12:13:36 +01:00
Joseph Lane 54754d2c7a Fix typo in External Configuration documentation
See gh-33630
2023-01-09 12:12:50 +01:00
Moritz Halbritter f11de0c4cf Merge branch '2.7.x'
Closes gh-33726
2023-01-09 10:39:14 +01:00
Bart aa8a531731 Fix a type in the ExitCodeGenerator documentation
See gh-33658
2023-01-09 10:38:32 +01:00
Moritz Halbritter b641073777 Merge branch '2.7.x'
Closes gh-33725
2023-01-09 10:35:50 +01:00
Christoph Dreis 1b4ef5db0f Update copyrights to 2023
See gh-33682
2023-01-09 10:35:07 +01:00
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
2022-12-19 18:24:36 +01:00
Scott Frederick 87fd27c329 Merge branch '2.7.x' 2022-12-06 14:01:13 -06:00
Scott Frederick 3f33fa3f45 Polish documentation 2022-12-06 14:00:53 -06:00
Daniel Oh f1edd17a42 Fix a typo in docs
See gh-33453
2022-12-05 11:16:37 +01:00
Johnny Lim 78b43279a7 Polish
See gh-33455
2022-12-05 11:14:38 +01:00
Johnny Lim 90589fd6d4 Polish
See gh-33384
2022-12-01 11:32:39 +01:00
Moritz Halbritter 351084ea06 Document that native-maven-plugin is required for native images
Closes gh-33422
2022-11-30 15:03:10 +01:00
Moritz Halbritter 8626bdc05b Merge branch '2.7.x' 2022-11-29 16:27:45 +01:00
Moritz Halbritter e755f5107e Fix formatting 2022-11-29 16:27:26 +01:00
Moritz Halbritter 41f6d54020 Merge branch '2.7.x'
Closes gh-33410
2022-11-29 16:22:57 +01:00
Moritz Halbritter 20d51a128b Clarify that shutdown endpoint only works in jar packaging
Closes gh-17398
2022-11-29 16:21:24 +01:00
Brian Clozel d48ab37505 Reinstate GraphQL testing documentation
Closes gh-33407
2022-11-29 14:15:36 +01:00
Andy Wilkinson 92415c996a Fix formatting of NEVER's description
Closes gh-33398
2022-11-28 14:17:03 +00:00
Moritz Halbritter 012e13527a Fix typo in documentation 2022-11-28 13:39:24 +01:00
Moritz Halbritter 39aaab082b Polish "Document observation for R2DBC"
See gh-33335
2022-11-24 09:19:36 +01:00
Tadaya Tsuyukubo 9ddad34f42 Document observation for R2DBC
Adds a link to the R2DBC observation repo in documentation.

See gh-33335
2022-11-24 09:17:32 +01:00
Moritz Halbritter d9aea476b4 Merge branch '2.7.x'
Closes gh-33327
2022-11-23 14:23:24 +01:00
Moritz Halbritter 1da3a9d636 Merge branch '2.6.x' into 2.7.x
Closes gh-33326
2022-11-23 14:23:08 +01:00
Moritz Halbritter ae8ec86486 Clarify startup probe in actuator documentation
Closes gh-28432
2022-11-23 14:21:51 +01:00
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
2022-11-22 20:44:05 +01:00
Moritz Halbritter 369424853b Update links to GraalVM page on wiki 2022-11-22 14:39:57 +01:00
Andy Wilkinson cb14089d24 Align reference docs with @Timed changes
Closes gh-33282
2022-11-21 14:14:28 +00:00
Andy Wilkinson 4100561b3d Align docs with tags provider and contributor changes
Closes gh-33281
2022-11-21 13:58:27 +00:00
Andy Wilkinson 1f7da3e4eb Merge branch '2.7.x'
Closes gh-33266
2022-11-18 16:29:25 +00:00
Andy Wilkinson 77cb05e804 Merge branch '2.6.x' into 2.7.x
Closes gh-33265
2022-11-18 16:29:11 +00:00
Andy Wilkinson ec467402b3 Link to Micrometer's documentation on @Timed
Closes gh-33264
2022-11-18 16:28:28 +00:00
Moritz Halbritter e9429b4652 Merge branch '2.7.x'
Closes gh-33260
2022-11-18 14:54:38 +01:00
Moritz Halbritter 2cee6a88e3 Merge branch '2.6.x' into 2.7.x
Closes gh-33259
2022-11-18 14:54:18 +01:00
Moritz Halbritter acb5491b79 Fix section links to not include .html suffix
Closes gh-33206
2022-11-18 14:53:44 +01:00
Moritz Halbritter edb0ee219d Merge branch '2.7.x'
Closes gh-33258
2022-11-18 14:39:19 +01:00
Moritz Halbritter b72b70f0ba Merge branch '2.6.x' into 2.7.x
Closes gh-33257
2022-11-18 14:35:39 +01:00
Moritz Halbritter d05e792157 Clarify spring.cache.type=hazelcast in the documentation
Closes gh-33245
2022-11-18 14:30:49 +01:00
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2022-11-18 12:52:07 +00:00
Moritz Halbritter 517ec654ed Document @NestedConstructorBinding in all cases
This covers Kotlin data classes, constructor injection and records.

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

Closes gh-33021
2022-11-05 18:50:33 -07:00
Moritz Halbritter 5d1ff17a0a Add Micrometer Observability documentation
Closes gh-32833
Closes gh-32912
2022-10-31 09:47:16 +01:00
Phillip Webb 9856286a2d Refine actuator httpexhanges naming
See gh-32885
2022-10-28 12:50:59 -07:00
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>
2022-10-27 16:34:42 -07:00
Andy Wilkinson 67e4ac4f1e Remove stale reference to MetricsWebFilter from the docs
Closes gh-32909
2022-10-27 16:56:34 +01:00
Moritz Halbritter 40e2d0b8cd Remove mention of the Infinispan Spring Boot starter
The starter is not yet Spring Boot 3 compatible.

Closes gh-32896
2022-10-27 16:48:34 +02:00
Phillip Webb a59b6cb1f3 Polish 2022-10-25 21:56:53 -07:00
Moritz Halbritter 605dd3d4bd Polish docs 2022-10-24 11:01:30 +02:00
Moritz Halbritter ff6d9aa881 Polish "Add micrometer tracing documentation" 2022-10-21 14:51:19 +02:00
Moritz Halbritter e999513838 Add micrometer tracing documentation
Closes gh-30658
2022-10-21 10:04:40 +02:00
Scott Frederick 072ce5c151 Fix versions in documentation links
Fixes gh-32772
2022-10-20 14:59:14 -05:00
Scott Frederick bdedae21c0 Polish native image documentation
See gh-32582
2022-10-20 11:45:10 -05:00
Stephane Nicoll 010891a3c6 Merge branch '2.7.x'
Closes gh-32821
2022-10-20 16:43:25 +02:00
Stephane Nicoll 7bd9754ce1 Merge branch '2.6.x' into 2.7.x
Closes gh-32820
2022-10-20 16:43:14 +02:00
James Seung Hyun Son 5e0a67ac66 Fix typos in logging.adoc
See gh-32812
2022-10-20 16:41:24 +02:00
Moritz Halbritter 1635f61368 Update GraalVM requirement to 22.3
See gh-32813
2022-10-20 10:36:42 +02:00
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>
2022-10-19 23:46:21 -07:00
Phillip Webb 0219b222c2 Merge branch '2.7.x' 2022-10-19 22:03:18 -07:00
Phillip Webb d3750c4991 Merge branch '2.6.x' into 2.7.x 2022-10-19 22:01:13 -07:00
Phillip Webb c416c17fe8 Polish documentation title case 2022-10-19 21:53:21 -07:00
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2022-10-19 11:46:27 -07:00
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
2022-10-19 19:33:31 +02:00
Phillip Webb 43a44006c9 Update getting started documentation to use @SpringBootApplication
Closes gh-32780
2022-10-18 20:45:23 -07:00
Phillip Webb 8dadf86f93 Merge branch '2.7.x'
Closes gh-32778
2022-10-18 17:15:03 -07:00
Phillip Webb fcaac2b343 Merge branch '2.6.x' into 2.7.x
Closes gh-32777
2022-10-18 17:14:48 -07:00
Guirong Hu 33e379c4a2 Use exclamation character for the document separator prefix
See gh-32521
2022-10-18 17:07:51 -07:00
Phillip Webb cb48674536 Switch Java versions used in documentation
See gh-32746
2022-10-18 13:28:29 -07:00
Phillip Webb 7d03a201c0 Switch Java version displayed in documentation
Closes gh-32746
2022-10-18 11:48:12 -07:00
Phillip Webb 76ef540716 Merge branch '2.7.x' 2022-10-15 14:19:18 -07:00
Phillip Webb 0f4a978731 Merge branch '2.6.x' into 2.7.x 2022-10-15 14:19:06 -07:00
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2022-10-15 14:18:49 -07:00
Phillip Webb 029aab6b58 Document Log4j2 extensions
See gh-32578
2022-10-14 10:14:43 -07:00
Emil ea654b42fa Fix typo "Elastixsearch"
See gh-32656
2022-10-12 12:35:23 +01:00
Johnny Lim 73fd760137 Polish HTTP client observability changes
See gh-32484
See gh-32518

Closes gh-32636
2022-10-07 19:05:14 +02:00
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
2022-10-07 17:23:12 +02:00
Andy Wilkinson 4f86f685c5 Reinstate support for Infinispan
Closes gh-32556
2022-10-04 11:32:56 +01:00
Andy Wilkinson 51df7813a5 Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548
Closes gh-32549
2022-09-30 14:39:05 +01:00
Brian Clozel 7f7ecdc7ac Fix documentation build
See gh-32518
2022-09-30 12:18:41 +02:00
Brian Clozel b325edbc55 Polish
See gh-32484
2022-09-27 22:45:46 +02:00
Scott Frederick f9c341c75a Revert "Generate the AutoConfiguration.imports file from annotations"
This reverts commit da4de7d67d.
2022-09-21 14:50:15 -05:00
Brian Clozel 56dcae8a3c Merge branch '2.7.x'
Closes gh-32471
2022-09-21 21:11:29 +02:00
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
2022-09-21 21:09:22 +02:00
Andy Wilkinson f731279fef Merge branch '2.7.x'
Closes gh-32403
2022-09-16 11:39:25 +01:00
Andy Wilkinson 7827e8166e Merge branch '2.6.x' into 2.7.x
Closes gh-32402
2022-09-16 11:38:07 +01:00
Andy Wilkinson ab26050fe7 Document support for Java 19
Closes gh-32259
2022-09-16 11:37:14 +01:00
Phillip Webb 7f5785182d Switch @SpringBootTest to UseMainMethod.NEVER by default
See gh-22405
2022-09-15 12:37:26 -07:00
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
2022-09-15 10:48:58 -07:00
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
2022-09-14 22:37:37 -07:00
Stephane Nicoll ebef52b207 Merge branch '2.7.x'
Closes gh-32292
2022-09-10 09:13:53 +02:00
Stephane Nicoll 04a668fd07 Merge branch '2.6.x' into 2.7.x
Closes gh-32291
2022-09-10 09:13:40 +02:00
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
2022-09-10 09:09:43 +02:00
Andy Wilkinson 0555dda63d Remove rarely used commands from the CLI
Closes gh-32263
2022-09-08 21:23:33 +01:00
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
2022-09-07 11:46:19 +02:00
Stephane Nicoll ec63a981d0 Merge branch '2.7.x'
Closes gh-32248
2022-09-07 09:33:29 +02:00
Stephane Nicoll 2fb257ad22 Merge branch '2.6.x' into 2.7.x
Closes gh-32247
2022-09-07 09:33:17 +02:00
Stephane Nicoll 19c69ff743 Polish "Add support for detecting .yml Hazelcast config files"
See gh-32142
2022-09-07 09:32:53 +02:00
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
2022-09-02 15:10:22 -05:00
Scott Frederick 01c68a3dc8 Merge branch '2.7.x'
Closes gh-32217
2022-09-01 15:36:12 -05:00
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
2022-09-01 15:35:59 -05:00
Andy Wilkinson ee701e5c7d Merge branch '2.7.x'
Closes gh-32199
2022-08-31 14:42:05 +01:00
Andy Wilkinson a253d8d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32198
2022-08-31 14:41:47 +01:00
Andy Wilkinson 7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2022-08-31 14:36:07 +01:00
Andy Wilkinson 4c01810ca2 Merge branch '2.7.x'
Closes gh-32197
2022-08-31 11:37:20 +01:00
Andy Wilkinson 13edfba1f5 Fix Kotlin example for empty @DefaultValue constructor binding
Closes gh-32177
2022-08-31 11:35:58 +01:00
Madhura Bhave 47effdcade Support role-based sanitization for actuator endpoints
Closes gh-32156
2022-08-24 16:03:58 -07:00
Phillip Webb 6db88e12c8 Polish 'Allow multiple hosts to be set in MongoProperties'
See gh-32125
2022-08-23 20:23:11 -07:00
Madhura Bhave cea6492c4a Align default JMX and WEB endpoint exposures
Closes gh-32005
2022-08-16 14:29:08 -07:00
Stephane Nicoll 1efad88c8c Merge branch '2.7.x'
Closes gh-32027
2022-08-09 09:53:22 +02:00
Stephane Nicoll 6e64f49593 Merge branch '2.6.x' into 2.7.x
Closes gh-32026
2022-08-09 09:53:13 +02:00
Stephane Nicoll 12c1da275b Polish contribution
See gh-32004
2022-08-09 09:52:11 +02:00
Ionascu Stefan Ciprian c441bafe27 Document the DefaultServlet is no longer being enabled by default
See gh-32004
2022-08-09 09:41:53 +02:00
Andy Wilkinson ba93e6c0ed Restore support for Jersey
Closes gh-28637
2022-08-08 15:45:20 +01:00
Madhura Bhave 0991bd3983 Harmonize data configuration
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.

Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.

Closes gh-11574
2022-08-05 13:32:25 -07:00
Andy Wilkinson 05877dc927 Merge branch '2.7.x'
Closes gh-31988
2022-08-04 14:17:39 +01:00
Andy Wilkinson a69cf002f0 Merge branch '2.6.x' into 2.7.x
Closes gh-31987
2022-08-04 14:16:16 +01:00
Andy Wilkinson 6efa77f3f5 Generate console output examples at build time
Closes gh-28208
2022-08-04 14:15:25 +01:00
Andy Wilkinson 74283c3549 Merge branch '2.7.x'
Closes gh-31977
2022-08-03 19:42:46 +01:00
Andy Wilkinson f6ce25f9c5 Merge branch '2.6.x' into 2.7.x
Closes gh-31976
2022-08-03 19:42:34 +01:00
Andy Wilkinson c500d8e784 Note need to record req start time to use %D with Undertow access log
Closes gh-31103
2022-08-03 19:42:19 +01:00
Andy Wilkinson ae86707bca Merge branch '2.7.x'
Closes gh-31975
2022-08-03 19:34:32 +01:00
Andy Wilkinson 3e6b4e68ad Merge branch '2.6.x' into 2.7.x
Closes gh-31974
2022-08-03 19:34:15 +01:00
Andy Wilkinson 591cd0feb3 Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
2022-08-03 19:33:34 +01:00
Andy Wilkinson 0857cae943 Merge branch '2.7.x'
Closes gh-31952
2022-08-01 21:10:36 +01:00
Andy Wilkinson 0dde4278db Merge branch '2.6.x' into 2.7.x
Closes gh-31951
2022-08-01 21:09:37 +01:00
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2022-08-01 21:07:36 +01:00
Brian Clozel 184945ab1e Fix graphql imports in reference docs generation
See gh-31809
2022-08-01 15:27:36 +02:00
Brian Clozel 38f1bc9793 Reinstate Spring for GraphQL auto-configuration
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.

Closes gh-31809
2022-08-01 14:33:25 +02:00
Phillip Webb ab469e8b6a Merge branch '2.7.x'
Closes gh-31944
2022-08-01 12:35:42 +01:00
Phillip Webb 06b537e2a0 Merge branch '2.6.x' into 2.7.x
Closes gh-31943
2022-08-01 12:35:23 +01:00
vilmos 00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2022-08-01 12:34:00 +01:00
Stephane Nicoll 0e9f8a5994 Merge branch '2.7.x'
Closes gh-31922
2022-07-29 14:47:20 +02:00
Stephane Nicoll 4806881716 Merge branch '2.6.x' into 2.7.x
Closes gh-31921
2022-07-29 14:35:15 +02:00
Stephane Nicoll 3a5b40645a Restore support for C3P0
Closes gh-31920
2022-07-29 14:07:59 +02:00
Phillip Webb 49a8e81dc3 Merge branch '2.7.x'
Closes gh-31902
2022-07-28 10:44:57 +01:00
Phillip Webb 5c52882f76 Merge branch '2.6.x' into 2.7.x
Closes gh-31901
2022-07-28 10:44:42 +01:00
Phillip Webb 9a2ad6d42d Remove references to ConfigFileApplicationListener
Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
2022-07-28 10:43:48 +01:00
Phillip Webb 7377d85096 Merge branch '2.7.x'
Closes gh-31866
2022-07-26 12:18:14 +01:00
Andy Wilkinson 85c41d6698 Merge branch '2.7.x'
Closes gh-31847
2022-07-22 14:48:29 +01:00
Andy Wilkinson ac3f552dde Merge branch '2.6.x' into 2.7.x
Closes gh-31846
2022-07-22 14:47:45 +01:00
Madhura Bhave 4057dd198b Change preference of session store implementations
The order has been determined based on usage statistics.

Closes gh-27756
2022-07-20 15:36:52 -07:00
Andy Wilkinson 2814175505 Polish "Add auto-configuration for JdkClientHttpConnector"
See gh-31709
2022-07-20 12:18:50 +01:00
Andy Wilkinson 5c057a2730 Auto-configure the new Elasticsearch clients
This commit introduces auto-configuration for the new Elasticsearch
clients that are based upon their new Java client. The new Java
client builds on top of their existing low-level REST client,
replacing the high-level REST client which has been deprecated.
As part of introducing support for the new Elasticsearch client,
the auto-configuration for the templates (both imperative and
reactive) provided by Spring Data has also been updated to use the
new templates that build upon the new Java client.

As part of these changes, support for the high-level REST client and
the old Spring Data Elasticsearch templates has been removed. One
significant change is that the new reactive template is no longer
based on WebClient. As a result, the WebClient-specific configuration
property has been removed.

Closes gh-30647
Closes gh-28597
Closes gh-31755
2022-07-19 15:26:42 +01:00
Andy Wilkinson 7bd9873cd9 Raise the minimum supported version of Gradle to 7.5
Closes gh-31215
2022-07-14 15:56:32 +01:00
Jonas 6afd041bb2 Fix typo
See gh-31518
2022-07-13 16:18:53 +02:00
Stephane Nicoll 9cace34a19 Merge branch '2.7.x'
Closes gh-31705
2022-07-13 13:50:36 +02:00
Stephane Nicoll b8647551cb Merge branch '2.6.x' into 2.7.x
Closes gh-31704
2022-07-13 13:50:17 +02:00
Johnny Lim b17cb9b92b Polish gh-31231
See gh-31540
2022-07-13 13:49:13 +02:00
Andy Wilkinson 9b113272d1 Reinstate support for Hibernate Metrics
Closes gh-31675
2022-07-12 09:36:54 +01:00
Oliver Drotbohm b10c57551c Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes:

- Dependency management for modules that do not exist in Hibernate
  6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
  not using the starter or using modules that are not in the starter
  will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
  as Hibernate no longer supports switching back to the old ID
  generator mappings.

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>

Closes gh-31674
2022-07-12 09:36:34 +01:00
Adrian Bob 29beee61b5 Remove remaining Jolokia references from the documentation
See gh-31549
2022-06-30 09:52:57 +02:00
Andy Wilkinson a28ca4594b Merge branch '2.7.x'
Closes gh-31529
2022-06-24 18:01:31 +01:00
Andy Wilkinson 7abc7df7b8 Allow PEM certificates to be used without a key store password
Closes gh-31253
2022-06-24 18:01:20 +01:00
Madhura Bhave 7cb53b3c45 Remove session store type in favor of defined order
Closes gh-27756
2022-06-22 15:22:48 -07:00
Moritz Halbritter e438338d98 Merge branch '2.7.x' 2022-06-21 14:01:47 +02:00
Moritz Halbritter ae75d4386c Merge branch '2.6.x' into 2.7.x 2022-06-21 14:01:18 +02:00
Moritz Halbritter b56b95d429 Add Apache HttpClient WebClient support to documentation 2022-06-21 14:00:55 +02:00
Madhura Bhave 55d6a87fef Remove support for multiple batch jobs
Closes gh-25373
2022-06-15 09:34:10 -07:00
Andy Wilkinson fabe0637cd Raise the minimum supported version of Kotlin to 1.7
Closes gh-31391
2022-06-15 10:53:26 +01:00
Phillip Webb 85dcbf6100 Merge branch '2.7.x'
Closes gh-31385
2022-06-14 09:38:36 -07:00
Phillip Webb e0947459b6 Merge branch '2.6.x' into 2.7.x
Closes gh-31384
2022-06-14 09:38:05 -07:00
Phillip Webb 9f8a262e6b Log a warning when a health indicator takes too long to run
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.

Fixes gh-31231
2022-06-14 09:32:07 -07:00
Andy Wilkinson 6894f561ce Merge branch '2.7.x'
Closes gh-31382
2022-06-14 11:55:54 +01:00
Andy Wilkinson ab67136664 Merge branch '2.6.x' into 2.7.x
Closes gh-31381
2022-06-14 11:55:17 +01:00
Andy Wilkinson 2094722e5d Remove duplicate content from "The Spring WebFlux Framework"
Closes gh-31378
2022-06-14 11:52:06 +01:00
Phillip Webb 6dea2f0e8d Merge branch '2.7.x'
Closes gh-31370
2022-06-13 18:20:32 -07:00
Phillip Webb 0be5078a73 Merge branch '2.6.x' into 2.7.x
Closes gh-31369
2022-06-13 18:20:07 -07:00
Phillip Webb b3a46fc50e Document that placeholders should us the canonical property name form
Closes gh-31309
2022-06-13 18:19:47 -07:00
Phillip Webb 378e56f1d3 Add Order annotation to GraphQL RouterFunction beans
Update GraphQL auto-configuration so that `RouterFunction` beans have
and `@Order` of 0.

Fixes gh-31314
2022-06-13 16:44:20 -07:00
Stephane Nicoll cc4965ee8a Merge branch '2.7.x'
Closes gh-31367
2022-06-13 16:04:07 +02:00
Stephane Nicoll 961b979d6e Merge branch '2.6.x' into 2.7.x
Closes gh-31366
2022-06-13 16:04:00 +02:00
Anthony Vanelverdinghe 1fffdbae2a Fix typos in the reference documentation
See gh-31328
2022-06-13 16:02:48 +02:00
Stephane Nicoll 59f6661166 Merge branch '2.7.x'
Closes gh-31361
2022-06-13 14:54:09 +02:00
Stephane Nicoll 56913a08b8 Merge branch '2.6.x' into 2.7.x
Closes gh-31360
2022-06-13 14:54:00 +02:00
Anthony Vanelverdinghe b1ccb600f3 Remove reference to outdated location
See gh-31276
2022-06-13 14:52:38 +02:00
Stephane Nicoll 41d327df51 Merge branch '2.7.x'
Closes gh-31359
2022-06-13 14:50:41 +02:00
Stephane Nicoll 06d7e67e79 Merge branch '2.6.x' into 2.7.x
Closes gh-31358
2022-06-13 14:50:35 +02:00
Stern, Ittay (is9613) e05363f9b0 Restore Custom Favicon section in the reference guide
The section about favicon was mistakenly removed in 5fceb9d and this
commit reinstates it.

See gh-31224
2022-06-13 14:50:18 +02:00
Stephane Nicoll ed7ff31d01 Merge branch '2.7.x'
Closes gh-31357
2022-06-13 14:46:04 +02:00
Stephane Nicoll 4b0fe63bdf Merge branch '2.6.x' into 2.7.x
Closes gh-31356
2022-06-13 14:45:54 +02:00
Stephane Nicoll d896d995d1 Polish contribution
See gh-31190
2022-06-13 14:39:58 +02:00
tudormarc e313aa5f6c Document that Lombok must be configured before our annotation processor
See gh-31190
2022-06-13 14:33:21 +02:00
Stephane Nicoll 365d96daf6 Merge branch '2.7.x'
Closes gh-31355
2022-06-13 14:29:40 +02:00
Stephane Nicoll 72dd51ae0b Merge branch '2.6.x' into 2.7.x
Closes gh-31354
2022-06-13 14:29:18 +02:00
Henning Poettker 9fdd471adf Use Lambda-based API in Spring Security examples
See gh-31143
2022-06-13 13:15:56 +02:00
Phillip Webb ff4e6f7639 Merge branch '2.7.x'
Closes gh-31339
2022-06-10 12:38:48 -07:00
Phillip Webb 0f7fa84214 Polish 'Update Dynatrace documentation for Micrometer 1.9.0'
See gh-31132
2022-06-10 12:36:45 -07:00
Georg Pirklbauer 6df9f50642 Update Dynatrace documentation for Micrometer 1.9.0
Update the actuator documentation for Dynatrace to reflect the
updates and improvements that were made in Micrometer 1.9.0.

See gh-31132
2022-06-10 12:34:05 -07:00
Moritz Halbritter 486b3073ce Add tracing in integration tests paragraph to the documentation
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter b250d8a1e4 Add @AutoConfigureObservability annotation
This annotation is read by ObservabilityContextCustomizerFactory, which
then sets test properties depending on the annotation attributes.

@AutoConfigureMetrics is deprecated, to support backwards compatability
it's now meta-annotated with @AutoConfigureObservability

See gh-31308
2022-06-10 14:25:12 +02:00
Stephane Nicoll a27427b977 Merge branch '2.7.x'
Closes gh-31207
2022-05-30 14:57:57 +02:00
Stephane Nicoll 95dad34482 Merge branch '2.6.x' into 2.7.x
Closes gh-31206
2022-05-30 14:57:45 +02:00
Matei Cernăianu eb8b9e17c5 Fix "spring.factories" typos in database initialization documentation
See gh-31203
2022-05-30 14:55:15 +02:00
Andy Wilkinson 90752e559a Polish "Auto-configure JvmCompilationMetrics"
See gh-31151
2022-05-27 10:18:31 +01:00
Andy Wilkinson 96c2d08fc4 Remove support for Solr as it is not compatible with Jetty 11
Closes gh-31054
2022-05-18 11:33:55 +01:00
Madhura Bhave c730ab7d0c Merge branch '2.7.x' into main 2022-05-17 14:29:36 -07:00
Scott Frederick 7d459a13c2 Add properties for SAML relying party single logout
Closes gh-30128

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
2022-05-17 14:07:48 -07:00
Andy Wilkinson a496cb9298 Merge branch '2.7.x' 2022-05-12 12:52:46 +01:00