Commit Graph

2492 Commits (b56b95d4292793db27d11ededc3320f70126d662)

Author SHA1 Message Date
Moritz Halbritter 52d9ba58d8 Move appendix subsections under appendix section
This involved a small code change to the generated configuration
properties snippets. The section id has to start with
'appendix.', otherwise the section-id asciidoctor extension
complains. To ensure that the anchors that are derived from the
section IDs remain backwards compatible, the anchor-rewrite
properties have been updated.

See gh-29667
3 years ago
Phillip Webb b3a82c9de6 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 52f1799c20 Polish formatting 3 years ago
Phillip Webb 05c58a18df Merge branch '2.5.x' into 2.6.x
Closes gh-29657
3 years ago
Phillip Webb 12a33a2eaf Upgrade to spring-asciidoctor-backends 0.0.3
Closes gh-29656
3 years ago
Phillip Webb 50e0e28155 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 5975cdc5ed Polish formatting 3 years ago
Stephane Nicoll d130819fb4 Merge branch '2.5.x' into 2.6.x
Closes gh-29616
3 years ago
Stephane Nicoll 5fe6176966 Polish "Add a note on early init with @ConditionalOnExpression"
See gh-29276
3 years ago
Mihail Cornescu fce3cd1684 Add a note on early init with @ConditionalOnExpression
See gh-29276
3 years ago
Stephane Nicoll 787a2f3d9b Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll ab0b29cb53 Polish "Make classloader customization easier to discover"
See gh-29438
3 years ago
Andreas Ahlenstorf 96f48db2ab Make classloader customization easier to discover
See gh-29438
3 years ago
Stephane Nicoll e36a56f014 Merge branch '2.5.x' into 2.6.x
Closes gh-29539
3 years ago
Axel Fontaine 48817587e6 Rename Boxfuse to CloudCaptain
See gh-29523
3 years ago
Stephane Nicoll 267cd45235 Merge branch '2.5.x' into 2.6.x
Closes gh-29537
3 years ago
Janne Valkealahti d821f86b8e Upgrade reference of gradle-git-properties to 2.3.2
See gh-29535
3 years ago
Andy Wilkinson 52f612b3eb Merge branch '2.5.x' into 2.6.x
Closes gh-29480
3 years ago
Andy Wilkinson 9cb66d55d1 Refer to Maven Resolver rather than Aether
Closes gh-29255
3 years ago
Andy Wilkinson d29a5a2f43 Merge branch '2.5.x' into 2.6.x
Closes gh-29401
3 years ago
Andy Wilkinson e8cbec0836 Clarify documentation of RestTemplate customization
Closes gh-29394
3 years ago
Omkar Shetkar c19e192acd Fix duplicate "Logging" link
See gh-29380
3 years ago
Stephane Nicoll f54ea67ed6 Merge branch '2.5.x' into 2.6.x
Closes gh-29198
3 years ago
dreis2211 7a87d18b12 Update copyrights to 2022
See gh-29195
3 years ago
izeye 7fbb5749d1 Polish
See gh-29157
3 years ago
Madhura Bhave 84f1a6ca09 Merge branch '2.5.x' into 2.6.x
Closes gh-29138
3 years ago
Madhura Bhave 99e650bd27 Document devtools remote support not available with WebFlux
Closes gh-28955
3 years ago
Stephane Nicoll 53654a0160 Merge branch '2.5.x' into 2.6.x
Closes gh-29133
3 years ago
Pavel Anisimov b704ee0b30 Polish reference doc
See gh-29115
3 years ago
Stephane Nicoll bcaa59ce73 Merge branch '2.5.x' into 2.6.x
Closes gh-29098
3 years ago
Pavel Anisimov 415c58e21b Polish CacheManager customization section in reference doc
See gh-29094
3 years ago
Stephane Nicoll 5599e8d340 Polish "Add consistent quotes in YAML samples of reference doc"
See gh-28911
3 years ago
Viktor Ardelean 0b781d87b1 Add consistent quotes in YAML samples of reference doc
See gh-28911
3 years ago
izeye c7921468fc Polish
See gh-28836
3 years ago
Stephane Nicoll e4082ee5d9 Merge branch '2.5.x'
Closes gh-28834
3 years ago
fml2 1d786e49e9 Fix typos in the "External Application Properties" section
See gh-28830
3 years ago
Stephane Nicoll 9719930496 Merge branch '2.5.x'
Closes gh-28833
3 years ago
Xavier Bouclet dce979d51f Fix output of "spring --version" in reference documentation
See gh-28831
3 years ago
Andy Wilkinson 4a0fa62d2e Polish "Replace "you're""
See gh-28710
3 years ago
Jay Bryant e629e77b29 Replace "you're"
This commit replaces "you're" with some other structure, often
simplifying the sentence in the process.

Also checked for words that end with "'ll" and "n't" but did not find
any.

See gh-28710
3 years ago
Andy Wilkinson 29725ec68a Update links to Spring Security's reference docs
Closes gh-28618
3 years ago
Stephane Nicoll afa006986b Merge branch '2.5.x'
Closes gh-28713
3 years ago
Vedran Pavic c8dd0a584b Fix "Configure Two DataSources" example
With the present example, the `secondDataSource` bean factory method
will use `firstDataSourceProperties` due to it being annotated with
`@Primary`.

This commit adds the `@Qualifier` needed to ensure `secondDataSource`
bean factory method uses `secondDataSourceProperties`.

See gh-28712
3 years ago
Stephane Nicoll d88658d47a Remove dependencies on micrometer-jersey2
Closes gh-28706
3 years ago
Stephane Nicoll 44b644c770 Merge branch '2.5.x'
Closes gh-28693
3 years ago
Stephane Nicoll 9ed7674ab0 Polish "Fix yaml sample format"
See gh-28671
3 years ago
Weix Sun 7f1bd43c84 Fix yaml sample format
See gh-28671
3 years ago
Stephane Nicoll 6d4537b5ae Merge branch '2.5.x'
Closes gh-28692
3 years ago
Stephane Nicoll 6d79599d99 Polish "Fix yaml sample format in reference doc"
See gh-28670
3 years ago
Weix Sun 793a107d27 Fix yaml sample format in reference doc
See gh-28670
3 years ago
Leo Li 508841b444 Replace "e.g." by "for example"
See gh-28583
3 years ago
Jay Bryant 3422b1f38b Replace "refer to" with "see"
Update documentation to replace "refer to" with "see" and to drop
"please" when it is present.

See gh-28537
3 years ago
Jay Bryant 9f2c8f65ee Replace "check out" with more formal language
Update documentation to use more formal language rather than
"check out".

See gh-28503
3 years ago
Phillip Webb c7e61e448e Polish "Remove 'etc' in reference documentation"
See gh-28497
3 years ago
Jay Bryant 0d025b672e Remove 'etc' in reference documentation
Update the reference documentation to replace 'etc' with 'other'.

See gh-28497
3 years ago
Leo Li 73e9c355f1 Polish
See gh-28501
3 years ago
Stephane Nicoll 7ad60df844 Merge branch '2.5.x' 3 years ago
Stephane Nicoll 06e9991e6a Polish
See gh-28501
3 years ago
Andy Wilkinson 4a15a816ce Polish 'Replace "via" with words more suited to an international audience'
See gh-28464
3 years ago
Jay Bryant 73a18c73f4 Replace "via" with words more suited to an international audience
See gh-28464
3 years ago
Stephane Nicoll ea8a8ecd0e Merge branch '2.5.x'
Closes gh-28467
3 years ago
Stephane Nicoll ce38d592f9 Merge branch '2.4.x' into 2.5.x
Closes gh-28466
3 years ago
Stephane Nicoll 265199f42b Polish "Fix description of "logging.logback.rollingpolicy.max-history""
See gh-28448
3 years ago
Phillip Webb 9cb5f035e7 Fix typo
See gh-20971
3 years ago
Andy Wilkinson 1005159eab Merge branch '2.5.x'
Closes gh-28435
3 years ago
Andy Wilkinson 3fb5af9dd3 Merge branch '2.4.x' into 2.5.x
Closes gh-28434
3 years ago
Andy Wilkinson 8a78864edd Polish "Explain how to disable/configure the ActiveMQ embedded broker"
See gh-28183
3 years ago
Moritz Kammerer 0c5f0efcea Explain how to disable/configure the ActiveMQ embedded broker
See gh-28183
3 years ago
Andy Wilkinson d52b649bd7 Fix links to Spring Security's reference documentation
Closes gh-28407
3 years ago
Phillip Webb cf9156e497 Add SameSite cookie support for servlet web servers
Update Tomcat, Jetty and Undertow `ServletWebServerFactory`
implementations so that they can write SameSite cookie attributes.

The session cookie will be customized whenever the
`server.servlet.session.cookie.same-site` property is set.

Other cookies can be customized with the new `CookieSameSiteSupplier`
interface which can be registered using `@Bean` methods.

Closes gh-20971

Co-authored-by Andy Wilkinson <wilkinsona@vmware.com>
3 years ago
Phillip Webb 3729c4909a Polish package name for web sample code
See gh-27132
3 years ago
Andy Wilkinson 56b8494f15 Disable the env info contributor by default
Closes gh-28311
3 years ago
Andy Wilkinson f98c1e7231 Disable the java info contributor by default
Closes gh-28310

Co-authored-by Phillip Webb <pwebb@vmware.com>
3 years ago
Andy Wilkinson 356554311f Merge branch '2.5.x'
Closes gh-28381
3 years ago
Artem Bilan 344d008848 Remove redundant info about DefaultMetricsFactory
The DefaultMetricsFactory was removed from Spring Integration starting
with version 5.4. This commit updates the documentation to match.

See gh-28375
3 years ago
Andy Wilkinson 89b40e1e00 Add support for Log4j2's composite configuration
Closes gh-27110
3 years ago
Madhura Bhave a86a84e00b Merge branch '2.5.x' into main
Closes gh-28202
3 years ago
Madhura Bhave 9f4cf8398b Merge branch '2.4.x' into 2.5.x
Closes gh-28201
3 years ago
Madhura Bhave 61736e9958 Polish " Update configtree docs about dot notation being correctly mapped"
See gh-28170
3 years ago
deb-von-seggern 8f91fc450d Update configtree docs about dot notation being correctly mapped
See gh-28170
3 years ago
Stephane Nicoll 5d17257a52 Polish "Add Java InfoContributor"
See gh-28136
3 years ago
Stephane Nicoll 1008b754d7 Merge branch '2.5.x'
Closes gh-28194
3 years ago
Stephane Nicoll d22167b96a Merge branch '2.4.x' into 2.5.x
Closes gh-28193
3 years ago
Pratik Gupta a3423f1edf Fix log4j2 file name reference in reference doc
See gh-28189
3 years ago
Stephane Nicoll 1b7536fda4 Merge branch '2.5.x'
Closes gh-28160
3 years ago
Stephane Nicoll 1c139b1d23 Merge branch '2.4.x' into 2.5.x
Closes gh-28159
3 years ago
Stephane Nicoll bedd749e1c Polish "Clarify use of @AutoConfigureTestEntityManager"
See gh-28086
3 years ago
Leo Li 70f64f2c26 Clarify use of @AutoConfigureTestEntityManager
This commit makes it clearer that, when using
@AutoConfigureTestEntityManager outside of @DataJpaTest, any tests using
the test entity manager must be @Transactional.

See gh-28086
3 years ago
Stephane Nicoll 9e1ef76f84 Polish "Replace latin locutions in the documentation"
See gh-28141
3 years ago
Vincent Ricard 873bca36c4 Replace latin locutions in the documentation
See gh-28141
3 years ago
Stephane Nicoll 2d34cff902 Polish "Improve Dynatrace examples description in reference guide"
See gh-27502
3 years ago
Georg Pirklbauer c236532607 Improve Dynatrace examples description in reference guide
See gh-27502
3 years ago
Artem Bilan b2d1423e34 Add Spring Integration default poller auto-config
When polling consumers or source polling channel adapters are used in
Spring Integration applications, they require some polling policy to
be configured.

This comment auto-configures a PollerMetadata bean which customized
via newly added `spring.integration.poller.*` configuration
properties or overriden completely be user-defined bean.

See gh-27992
3 years ago
Stephane Nicoll 842f3f0bd5 Merge branch '2.5.x'
Closes gh-28099
3 years ago
Stephane Nicoll 77b778ce95 Document support for Java 17
Closes gh-26767
3 years ago
Phillip Webb bc6b9be7cd Merge branch '2.5.x'
Closes gh-28084
3 years ago
Phillip Webb 8c3db23be3 Merge branch '2.4.x' into 2.5.x
Closes gh-28083
3 years ago
cdalexndr 798b282e58 Document that devtools restart doesn't work with AspectJ weaving
See gh-28071
3 years ago
Phillip Webb 61a84a4722 Polish asciidoctor links
Update `<<..>>` links to include the page.
3 years ago
dreis2211 3e831fe286 Fix link in caching docs
See gh-28078
3 years ago
Phillip Webb 667e5ca30c Polish 3 years ago
Stephane Nicoll 124c3ac07c Polish "Add support for used-defined RedisStandaloneConfiguration"
See gh-28028
3 years ago
dreis2211 cf0fcafd13 Polish
See gh-27940
3 years ago
Stephane Nicoll eab8f41152 Polish "Remove english contractions from the documentation"
See gh-28064
3 years ago
Vincent Ricard 52176b8ed6 Remove english contractions from the documentation
See gh-28064
3 years ago
Stephane Nicoll 3ef17820e9 Polish 3 years ago
Madhura Bhave ac00df79f1 Add what's next to new sections
This commit also moves hazelcast from core features to IO

Closes gh-27132
3 years ago
Madhura Bhave 7e257dc24c Rename packages for code samples to match sections
See gh-27132
3 years ago
Andy Wilkinson e2a355f003 Consolidate Elasticsearch configuration properties
Previously, a number of Elasticsearch properties were duplicated
across the spring.elasticsearch.rest and
spring.data.elasticsearch.client.reactive prefixes for configuring
the blocking REST client provided by Elasticsearch and the reactive
client provided by Spring Data respectively. This could cause
problems when using the Elasticsearch REST client configured with
a custom spring.elasticsearch.rest.uris. If Spring WebFlux (to make
use of WebClient) and Spring Data Elasticsearch were on the classpath,
the reactive Elasticsearch Client would be autoconfigured but it
would use the default value of its analogous
spring.data.elasticsearch.client.reactive.endpoints property. It
would be unable to connect, causing a startup failure.

This commit consoliates the configuration properties where possible.
Each setting that is common across the two clients is now configured
using a single, shared spring.elasticsearch property. Each setting
that is specific to the blocked REST client or the WebClient-based
reactive client now have prefixes of spring.elasticsearch.restclient
and spring.elasticsearch.webclient respectively.

The old properties beneath spring.elasticsearch.rest and
spring.data.elasticsearch.client.reactive have been deprecated. If a
any deprecated property is set, all of the new properties are
ignored. In other words, to migrate to the new properties, each usage
of a now-deprecated property must be updated to use its new
replacement instead.

Closes gh-23106
3 years ago
Stephane Nicoll 7957d97528 Polish 3 years ago
Stephane Nicoll c62a6819fe Polish "Add startup time metrics"
See gh-27878
3 years ago
Andy Wilkinson 32cfde074f Merge branch '2.5.x' 3 years ago
Andy Wilkinson 9df099e343 Polish 3 years ago
Stephane Nicoll e1b1a25021 Polish "Auto-configure Micrometer's Lettuce latency metrics"
See gh-27865
3 years ago
Antonin ARQUEY 190fea6faa Auto-configure Micrometer's Lettuce latency metrics
Add auto-configuration support to export Lettuce latency metrics.

See gh-27865
3 years ago
Stephane Nicoll c4823f80cd Polish "Fix some typos in docs"
See gh-27968
3 years ago
Dmitriy Bogdanov 2ad3428039 Fix some typos in docs
See gh-27968
3 years ago
Stephane Nicoll 43a19c16a8 Merge branch '2.5.x'
Closes gh-27944
3 years ago
Stephane Nicoll 2327cda5c9 Merge branch '2.4.x' into 2.5.x
Closes gh-27943
3 years ago
cdalexndr 60bc94e1d4 Clarify Selenium auto-configuration requires HtmlUnit
The auto-configuration requires `HtmlUnit`, so this auto-cofiguration
only works if both Selenium and HtmlUnit are used.

Prevents misinterpretation that WebDriver can be auto configured without
htmlunit.

See gh-27920
3 years ago
Stephane Nicoll 78d6c94a7e Polish "Auto-Configure Kafka CommonErrorHandler"
See gh-27927
3 years ago
Yanming Zhou 6e9bdacc10 Include WebMvcRegistrations beans in WebMvcTest
See gh-27823
3 years ago
Phillip Webb 56595c0027 Use consistent case for 'Servlet' and 'Filter' in documentation
Closes gh-27896
3 years ago
Jay Bryant f7f5f9fb96 Make editorial changes to actuator documentation
See gh-27759
3 years ago
Jay Bryant 2691828d2b Update actuator docs to prefer "You can..."
Edit the actuator docs so that more "You can..." phrasing is used.

For example
	"Auditing can be enabled by providing"
becomes
	"You can enable auditing by providing"

See gh-27759
3 years ago
Jay Bryant 53363c84cb Improve actuator example lead-in text
Update example lead-in text to a slightly shorter form.

For example
	"as shown in the following example"
Becomes
	"as the following example shows"

See gh-27759
3 years ago
Jay Bryant e44585d89a Polish actuator docs markup and formatting
Improve consistency of the asciidoctor markup and formatting for
the actuator section.

See gh-27759
3 years ago
Stephane Nicoll 2286f58e23 Merge branch '2.5.x'
Closes gh-27877
3 years ago
Stephane Nicoll 7cc8668540 Merge branch '2.4.x' into 2.5.x
Closes gh-27876
3 years ago
Yanming Zhou 6bf92f06e9 Fix inconsistent devtools doc
See gh-27812
3 years ago
Andy Wilkinson e299175eef Polish "Only link to other formats from each format of the ref docs"
See gh-27737
3 years ago
Jay Bryant edab97a3e4 Only link to other formats from each format of the ref docs
See gh-27737
3 years ago
Jay Bryant 47bbae8356 Polish the multi-page documentation's index
See gh-27805
3 years ago
Andy Wilkinson 07d9a614e0 Merge branch '2.5.x'
Closes gh-27804
3 years ago
Andy Wilkinson b508d77a4e Merge branch '2.4.x' into 2.5.x
Closes gh-27803
3 years ago
Andy Wilkinson 990b766847 Polish "Document how to parameterize REST Docs' output dir with WebTestClient"
See gh-27755
3 years ago
Berchris Requiao c83f6ebaa2 Document how to parameterize REST Docs' output dir with WebTestClient
See gh-27755
3 years ago
Madhura Bhave 2c9945efc7 Merge pull request #27761 from dreis2211
* pr/27761:
  Fix broken links in docs

Closes gh-27761
3 years ago
dreis2211 7c8ccfc4c1 Fix broken links in docs
See gh-27761
3 years ago
Madhura Bhave 8fd9eb72d4 Allow part of a composite contributor in a health group
Closes gh-23027

Co-authored-by: Phillip Webb <pwebb@vmware.com>
3 years ago
Stephane Nicoll b65cc4d62f Relocate DiskSpace metrics to SystemMetricsAutoConfiguration
Closes gh-27688
3 years ago
Stephane Nicoll 1475309b4d Polish "Add expiry and bufferLength configuration properties"
See gh-27584
3 years ago
Madhura Bhave 49c86e6e1b Allow health groups to be configured at an additional path
Closes gh-25471

Co-authored-by: Phillip Webb <pwebb@vmware.com>
3 years ago
Brian Clozel 8b3bea173c Configure WebTestClient for @AutoConfigureMockMvc tests
As of Spring Framework 5.3, `WebTestClient` can now be configured on top
of `MockMvc` for testing Spring MVC applications in a mock environment.

Prior to this commit, `WebTestClient` would be already configured for
WebFlux mock setups with `@AutoConfigureWebTestClient` or live servers
(for both MVC and WebFlux apps).

This commit enhances the `@AutoConfigureWebMvc` support so that a
`WebTestClient` instance is auto-configured if the spring-webflux
dependency is present on the classpath.

Closes gh-23067
3 years ago
Andy Wilkinson 64c0eceec7 Add support for dumping the heap on OpenJ9
Closes gh-26466
3 years ago
Andy Wilkinson 621844abda Polish "Use MessageSource to interpolate bean validation messages"
See gh-17530
3 years ago
Andy Wilkinson a5656e0932 Make @ConstructorBinding implict for config prop records
Closes gh-27216
3 years ago
Andy Wilkinson 37f690323f Polish
Closes gh-27432
3 years ago
Andy Wilkinson bb26b7bdf5 Polish
Closes gh-27431
3 years ago
Andy Wilkinson 8e7a6ceb44 Polish "Make dev tools' home directory configurable"
See gh-17924
3 years ago