Commit Graph

12630 Commits (36c72cb6ef9857cac395d5fd0c4e618445cc049f)

Author SHA1 Message Date
Andy Wilkinson 20689e40fe Upgrade to FreeMarker 2.3.31
Closes gh-25326
4 years ago
Andy Wilkinson ccc7e74ee4 Upgrade to Caffeine 2.9.0
Closes gh-25325
4 years ago
Andy Wilkinson 5d52411291 Upgrade to Artemis 2.17.0
Closes gh-25324
4 years ago
Andy Wilkinson a91f32d14e Temporarily work around breaking API change in Spring Data Couchbase
See gh-25002
4 years ago
Andy Wilkinson d922d0f859 Upgrade to Micrometer 1.6.4
Closes gh-25291
4 years ago
Andy Wilkinson 43c923b3d5 Upgrade to Micrometer 1.5.11
Closes gh-25285
4 years ago
Andy Wilkinson 2f83a6714b Rework DataSource initialization
Previously, DataSource initialization was triggered via a
BeanPostProcessor or a schema created event from JPA. This caused
numerous problems with circular dependencies, bean lifecycle, etc and
added significant complexity.

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

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

Fixes gh-13042
Fixes gh-23736
4 years ago
Stephane Nicoll 9bc4f8ede1 Polish "Group jdbc-related batch properties beneath spring.batch.jdbc"
See gh-25316
4 years ago
Mukul Chaundhyan d093807f95 Group jdbc-related batch properties beneath spring.batch.jdbc
See gh-25316
4 years ago
Andy Wilkinson 9a3889baec Align with breaking change in Spring Data MongoDB
See gh-25004
4 years ago
Stephane Nicoll 2f17bd6543 Upgrade to Spring Framework 5.3.4
Closes gh-25293
4 years ago
Stephane Nicoll 44d765bd00 Upgrade to Spring Framework 5.3.4
Closes gh-24998
4 years ago
Stephane Nicoll 32f6719ec1 Upgrade to Spring Framework 5.2.13
Closes gh-25281
4 years ago
Stephane Nicoll 696179762d Align default values for Cassandra's throttling properties
Closes gh-25149
4 years ago
izeye 9f0f7d59ef Fix Javadoc since tag for ConfigurationPropertiesReportEndpointWebExtension
See gh-25314
4 years ago
Andy Wilkinson ed03ac19bc Polish 4 years ago
Stephane Nicoll c2b85c1a0e Merge branch '2.4.x'
Closes gh-25313
4 years ago
Stephane Nicoll f6b5964258 Merge branch '2.3.x' into 2.4.x
Closes gh-25312
4 years ago
Stephane Nicoll 0da7822e27 Update copyright of changed files
See gh-25265
4 years ago
melburne 2163c96205 Fix incorrect detection of Amazon Redshift
See gh-25265
4 years ago
Andy Wilkinson accd3c0946 Merge branch '2.4.x'
Closes gh-25311
4 years ago
Andy Wilkinson 0dbf907f73 Merge branch '2.3.x' into 2.4.x
Closes gh-25310
4 years ago
Andy Wilkinson 78941c32c4 Polish "Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used"
See gh-25279
4 years ago
Eddú Meléndez c55200d19a Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used
See gh-25279
4 years ago
Andy Wilkinson 5618646fc7 Merge branch '2.4.x'
Closes gh-25308
4 years ago
Andy Wilkinson b86351d0cf Merge branch '2.3.x' into 2.4.x
Closes gh-25307
4 years ago
Andy Wilkinson a2adb877ee Polish "Encourage use of maven-publish plugin in Gradle docs"
See gh-25299
4 years ago
Robert Smith c0a5245a3e Encourage use of maven-publish plugin in Gradle docs
See gh-25299
4 years ago
Andy Wilkinson 29af4b953f Add dependency management for new hibernate-micrometer module
Fixes gh-25277
4 years ago
Andy Wilkinson d13df2e103 Merge branch '2.4.x'
Closes gh-25306
4 years ago
Andy Wilkinson c3cdfec9cb Merge branch '2.3.x' into 2.4.x
Closes gh-25305
4 years ago
Andy Wilkinson f907dc2f58 Add dependency management for new hibernate-micrometer module
Fixes gh-25277
4 years ago
Andy Wilkinson 9628df87ff Merge branch '2.4.x'
Closes gh-25304
4 years ago
Andy Wilkinson 55e3ca66e2 Replace native image system property with call to NativeDetector
Closes gh-25303
4 years ago
Stephane Nicoll 488c313586 Upgrade to Reactor 2020.0.4
Closes gh-25301
4 years ago
Stephane Nicoll dcbc3a29aa Upgrade to Reactor 2020.0.4
Closes gh-25286
4 years ago
Stephane Nicoll 98964990d4 Upgrade to Reactor Dysprosium-SR17
Closes gh-25280
4 years ago
Stephane Nicoll 9b7581a8ef Polish "Fix database name detection logic for MariaDB"
See gh-25173
4 years ago
anudeepg 053323f58b Fix database name detection logic for MariaDB
See gh-25173
4 years ago
Stephane Nicoll b50fb824a3 Merge branch '2.4.x'
Closes gh-25298
4 years ago
Stephane Nicoll a9ff33f74f Merge branch '2.3.x' into 2.4.x
Closes gh-25297
4 years ago
Stephane Nicoll 569002e917 Polish "Document Kafka Streams metrics support"
See gh-25272
4 years ago
izeye dff4ca2293 Document Kafka Streams metrics support
See gh-25272
4 years ago
Stephane Nicoll 8c0c30e7a8 Polish "Add support to auto-configure javax.jms.ExceptionListener"
See gh-25278
4 years ago
Eddú Meléndez 1f00c27c7e Add support to auto-configure javax.jms.ExceptionListener
See gh-25278
4 years ago
Stephane Nicoll 3f9f9a4637 Polish "Start building against Spring Data Neumann-SR7 snapshots"
See gh-25282
4 years ago
Stephane Nicoll a16a2de3c3 Merge branch '2.4.x'
Closes gh-25296
4 years ago
Stephane Nicoll 0bc03c7141 Associate application classloader to auto-configured Hazelcast instance
Closes gh-24836
4 years ago
Stephane Nicoll 349d755632 Start building against Spring Kafka 2.7.0-M2 snapshots
See gh-25295
4 years ago
Stephane Nicoll 56a2634990 Start building against Spring Integration 5.5.0-M2 snapshots
See gh-25294
4 years ago
Stephane Nicoll 5576f26115 Start building against Spring Kafka 2.6.6 snapshots
See gh-25292
4 years ago
Stephane Nicoll 67e1b64a23 Start building against Micrometer 1.6.4 snapshots
See gh-25291
4 years ago
Stephane Nicoll f8caab121d Start building against Spring AMQP 2.3.5 snapshots
See gh-25290
4 years ago
Stephane Nicoll 8a4f49c30b Start building against Spring Integration 5.4.4 snapshots
See gh-25289
4 years ago
Stephane Nicoll 31a98f90c8 Start building against Reactor 2020.0.4 snapshots
See gh-25286
4 years ago
Stephane Nicoll bab0862fdd Start building against Micrometer 1.5.11 snapshots
See gh-25285
4 years ago
Stephane Nicoll 080bec0b20 Start building against Spring AMQP 2.2.15 snapshots
See gh-25284
4 years ago
Stephane Nicoll 1004617d2f Start building against Spring Integration 5.3.6 snapshots
See gh-25283
4 years ago
Stephane Nicoll f1dda97900 Start building against Spring Data Neumann-SR7 snapshots
See gh-25282
4 years ago
Stephane Nicoll 33736e818b Start building against Spring Framework 5.2.13 snapshots
See gh-25281
4 years ago
Stephane Nicoll 2c2fedc156 Start building against Reactor Dysprosium-SR17 snapshots
See gh-25280
4 years ago
Stephane Nicoll ca9b583c7d Merge branch '2.4.x'
Closes gh-25271
4 years ago
Stephane Nicoll 61e9d04c68 Update copyright of changes files
See gh-25266
4 years ago
izeye f48893def5 Polish 4 years ago
Stephane Nicoll 3471adcf09 Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll b7f5f5cac0 Polish
See gh-25266
4 years ago
Andy Wilkinson 0a4c26532d Merge branch '2.4.x'
Closes gh-25259
4 years ago
Andy Wilkinson 392be57003 Apply Logback system properties and not just common properties to context
Closes gh-24894
4 years ago
Andy Wilkinson cc4bace12b Upgrade to Undertow 2.2.4.Final
Closes gh-25254
4 years ago
Andy Wilkinson 118b55579a Upgrade to Tomcat 9.0.43
Closes gh-25253
4 years ago
Andy Wilkinson 627d0b713f Upgrade to Solr 8.8.0
Closes gh-25252
4 years ago
Andy Wilkinson 078a7fdd15 Upgrade to Selenium HtmlUnit 2.47.1
Closes gh-25251
4 years ago
Andy Wilkinson 387fe4b5bb Upgrade to Prometheus PushGateway 0.10.0
Closes gh-25250
4 years ago
Andy Wilkinson 3c0972e7f9 Upgrade to Spring Security 5.5.0-M2
Closes gh-25255
4 years ago
Andy Wilkinson dadd6241ac Upgrade to Nimbus JOSE JWT 9.5
Closes gh-25249
4 years ago
Andy Wilkinson e8e8a4c16b Upgrade to OAuth2 OIDC SDK 9.1
Closes gh-25248
4 years ago
Andy Wilkinson 7e228556c7 Upgrade to Netty 4.1.59.Final
Closes gh-25247
4 years ago
Andy Wilkinson a70386b4e3 Upgrade to MSSQL JDBC 9.2.0.jre8
Closes gh-25246
4 years ago
Andy Wilkinson f91c6075c8 Upgrade to MariaDB 2.7.2
Closes gh-25245
4 years ago
Andy Wilkinson 80b0c384d6 Upgrade to Lombok 1.18.18
Closes gh-25244
4 years ago
Andy Wilkinson 07f74593a5 Upgrade to Liquibase 4.3.0
Closes gh-25243
4 years ago
Andy Wilkinson 723bdc77a5 Upgrade to JUnit Jupiter 5.7.1
Closes gh-25241
4 years ago
Andy Wilkinson 3e8773cda2 Upgrade to jOOQ 3.14.7
Closes gh-25240
4 years ago
Andy Wilkinson 454c4fcd0d Upgrade to Johnzon 1.2.10
Closes gh-25239
4 years ago
Andy Wilkinson 1bd78eb940 Upgrade to Jedis 3.5.1
Closes gh-25238
4 years ago
Andy Wilkinson 1f1f510cec Upgrade to Janino 3.1.3
Closes gh-25237
4 years ago
Andy Wilkinson 6fbb67e751 Upgrade to Infinispan 12.0.0.Final
Closes gh-25236
4 years ago
Andy Wilkinson 22568d42de Upgrade to HtmlUnit 2.47.1
Closes gh-25235
4 years ago
Andy Wilkinson 16ed1a9668 Upgrade to HikariCP 4.0.1
Closes gh-25234
4 years ago
Andy Wilkinson a1ff05ec12 Upgrade to Hibernate 5.4.28.Final
Closes gh-25233
4 years ago
Andy Wilkinson 5dba00fcac Upgrade to Flyway 7.5.3
Closes gh-25232
4 years ago
Andy Wilkinson 0cf846b484 Upgrade to Couchbase Client 3.1.2
Closes gh-25231
4 years ago
Andy Wilkinson bfbdc3bfaf Upgrade to Byte Buddy 1.10.20
Closes gh-25230
4 years ago
Andy Wilkinson 3200d52b15 Upgrade to AssertJ 3.19.0
Closes gh-25229
4 years ago
Andy Wilkinson 6e77c27da5 Upgrade to AppEngine SDK 1.9.86
Closes gh-25228
4 years ago
Andy Wilkinson 5a21395b0b Upgrade to Undertow 2.2.4.Final
Closes gh-25224
4 years ago
Andy Wilkinson 28fc2b1d52 Upgrade to Tomcat 9.0.43
Closes gh-25223
4 years ago
Andy Wilkinson 58c823ef22 Upgrade to Spring Session Bom 2020.0.3
Closes gh-25222
4 years ago
Andy Wilkinson 51ca7d67ba Upgrade to Netty 4.1.59.Final
Closes gh-25220
4 years ago
Andy Wilkinson ca24fd1437 Upgrade to MySQL 8.0.23
Closes gh-25219
4 years ago
Andy Wilkinson 5dfe3ccc89 Upgrade to MariaDB 2.7.2
Closes gh-25218
4 years ago
Andy Wilkinson d7cc673ac0 Upgrade to Lombok 1.18.18
Closes gh-25217
4 years ago
Andy Wilkinson d50be39bee Upgrade to JUnit Jupiter 5.7.1
Closes gh-25215
4 years ago
Andy Wilkinson 636a99ecd3 Upgrade to jOOQ 3.14.7
Closes gh-25214
4 years ago
Andy Wilkinson d2630151ce Upgrade to Johnzon 1.2.10
Closes gh-25213
4 years ago
Andy Wilkinson 1c2265feac Upgrade to Jetty 9.4.36.v20210114
Closes gh-25212
4 years ago
Andy Wilkinson 1ceba0910b Upgrade to Jaybird 3.0.10
Closes gh-25211
4 years ago
Andy Wilkinson 7d5484e9d1 Upgrade to Janino 3.1.3
Closes gh-25210
4 years ago
Andy Wilkinson d5cb97984f Upgrade to Infinispan 11.0.9.Final
Closes gh-25209
4 years ago
Andy Wilkinson 8f1bda83be Upgrade to Hibernate 5.4.28.Final
Closes gh-25208
4 years ago
Andy Wilkinson bd24553f7e Upgrade to Byte Buddy 1.10.20
Closes gh-25207
4 years ago
Andy Wilkinson fc4c101503 Upgrade to AppEngine SDK 1.9.86
Closes gh-25206
4 years ago
Andy Wilkinson 1adc4118da Upgrade to ActiveMQ 5.16.1
Closes gh-25205
4 years ago
Andy Wilkinson 63de8dec1f Upgrade to Undertow 2.1.6.Final
Closes gh-25204
4 years ago
Andy Wilkinson b1dd3fb827 Upgrade to Tomcat 9.0.43
Closes gh-25203
4 years ago
Andy Wilkinson aaad1613dc Upgrade to Spring Session Bom Dragonfruit-SR2
Closes gh-25202
4 years ago
Andy Wilkinson 13cbc1a80b Upgrade to Spring Security 5.3.8.RELEASE
Closes gh-25201
4 years ago
Andy Wilkinson 8e86957efc Upgrade to Netty 4.1.59.Final
Closes gh-25200
4 years ago
Andy Wilkinson f728367785 Upgrade to Neo4j OGM 3.2.20
Closes gh-25199
4 years ago
Andy Wilkinson e3bed12a16 Upgrade to MySQL 8.0.23
Closes gh-25198
4 years ago
Andy Wilkinson aa5e33bc83 Upgrade to Lombok 1.18.18
Closes gh-25197
4 years ago
Andy Wilkinson 97d4837feb Upgrade to Johnzon 1.2.10
Closes gh-25196
4 years ago
Andy Wilkinson 87404581b9 Upgrade to Jetty 9.4.36.v20210114
Closes gh-25195
4 years ago
Andy Wilkinson 05d805ad60 Upgrade to Jaybird 3.0.10
Closes gh-25194
4 years ago
Andy Wilkinson 3ada6e9304 Upgrade to Janino 3.1.3
Closes gh-25193
4 years ago
Andy Wilkinson adc601b72c Upgrade to Hibernate 5.4.28.Final
Closes gh-25192
4 years ago
Andy Wilkinson 4b6418f11f Upgrade to Hazelcast 3.12.12
Closes gh-25191
4 years ago
Andy Wilkinson 88afda03a3 Upgrade to Byte Buddy 1.10.20
Closes gh-25190
4 years ago
Andy Wilkinson fa6c749215 Upgrade to AppEngine SDK 1.9.86
Closes gh-25189
4 years ago
Andy Wilkinson da3f0dc1c7 Merge branch '2.4.x'
Closes gh-25186
4 years ago
Andy Wilkinson 9ba28a8b99 Merge branch '2.3.x' into 2.4.x
Closes gh-25185
4 years ago
Andy Wilkinson bd64e05203 Instrument AMQP AbstractCF when defined as a ConnectionFactory
Fixes gh-25138
4 years ago
Stephane Nicoll 5017d59d56 Merge branch '2.4.x'
Closes gh-25184
4 years ago
Stephane Nicoll 75fc896321 Avoid Illegal reflective access warnings with devtools
This commit improves RestartClassLoader to use a method introduced in
SmartClassLoader to avoid triggering a warning on Java 11 and later.

See https://github.com/spring-projects/spring-framework/issues/26403

Closes gh-24857
4 years ago
Andy Wilkinson 55c47c8b5d Merge branch '2.4.x'
Closes gh-25183
4 years ago
Andy Wilkinson 698672e1cb Merge branch '2.3.x' into 2.4.x
Closes gh-25182
4 years ago
Andy Wilkinson 82dc2dffbd Select specific CLI distribution in CLI's integration tests
Previously, CommandLineInvoker would use the first -bin.zip file found
in build/distributions. If this directory contained multiple zips from
building different versions of Spring Boot, this could result in the
tests being run against the wrong version of the CLI.

This commit updates CommandLineInvoker look for a specific zip in
build/distributions, using the version from gradle.properties to
identify it.

Closes gh-25179
4 years ago
Andy Wilkinson 249b38e07d Merge branch '2.4.x'
Closes gh-25175
4 years ago
Andy Wilkinson 9da3b65ff3 Merge branch '2.3.x' into 2.4.x
Closes gh-25174
4 years ago
Stephane Nicoll b92bb9332b Polish "Filter properties with a particular prefix"
See gh-24718
4 years ago
Andy Wilkinson 708cbd7294 Ignore events from other contexts when waiting for DS init to complete
Fixes gh-24966
4 years ago
bono007 ad7c69a9cd Filter properties with a particular prefix
This commit improves the configprops endpoint to allow filtering
properties based on a particular prefix

See gh-24718
4 years ago
Stephane Nicoll 0f9fb13141 Fix formatting 4 years ago
Stephane Nicoll a2118e985a Merge branch '2.4.x'
Closes gh-25170
4 years ago
Stephane Nicoll 46bc551c2b Merge branch '2.3.x' into 2.4.x
Closes gh-25169
4 years ago
Stephane Nicoll 1524793a92 Fix use of deprecated Cassandra properties in integration tests
Closes gh-25148
4 years ago
Andy Wilkinson 514aede91e Merge branch '2.4.x'
Closes gh-25168
4 years ago
Andy Wilkinson 45e6c12cb6 Consider transitives when identifying project dependencies
Previously, when building a layered jar, the Gradle plugin only
considered a configuration's direct dependencies when identifying
project dependencies. This resulted in transitive project dependencies
being missed when deciding which dependencies belong in the
application layer.

This commit updates ResolvedDependencies to consider all projects
from the root project when collecting the IDs of local projects. This
ensures that any project dependency, no matter where it appears in the
dependency graph, is successfully identified.

Fixes gh-25163
4 years ago
Stephane Nicoll d436521472 Merge branch '2.4.x'
Closes gh-25167
4 years ago
Stephane Nicoll 7cb1605c11 Merge branch '2.3.x' into 2.4.x
Closes gh-25166
4 years ago
Stephane Nicoll e5098697cb Polish "Validate Cassandra defaults"
See gh-25130
4 years ago
bono007 f71ab69aeb Validate Cassandra defaults
See gh-25130
4 years ago
Stephane Nicoll d28d82d355 Merge branch '2.4.x'
Closes gh-25164
4 years ago
Stephane Nicoll acc8f3708b Update copyright of changed file
See gh-25150
4 years ago
bono007 4ef82c45ac Fix defaults for Cassandra's initQueryTimeout and idleTimeout
See gh-25150
4 years ago
Madhura Bhave 301e80be8c Fix raw types error 4 years ago
Madhura Bhave c05cb21ab7 Add a property to disable the `/actuator` discovery page
Closes gh-24693
4 years ago
Andy Wilkinson 3610fe50b7 Always use SimpleDriverDataSource when creating Liquibase DataSource
Closes gh-24944
4 years ago
Stephane Nicoll dca643500a Polish "Make Scheduler consistent for Spring Integration"
See gh-25109
4 years ago
Artem Bilan c5491cfdd7 Make Scheduler consistent for Spring Integration
Currently Spring Integration creates its own `TaskScheduler` bean if one
does not exist in the context yet. When we add `@EnableScheduling`,
Spring Boot auto-configures one for us, but this one comes with slightly
different options than the default in Spring Integration.

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

See gh-25109
4 years ago
Andy Wilkinson 78e1a812e2 Try to stabilise Cassandra tests by increasing request timeout
Closes gh-25146
4 years ago
Andy Wilkinson 6521d39867 Merge branch '2.4.x'
Closes gh-25143
4 years ago
Andy Wilkinson caa9249987 Merge branch '2.3.x' into 2.4.x
Closes gh-25142
4 years ago
Andy Wilkinson 7898b6afb0 Remove duplicate publication from spring-boot-docs
Fixes gh-25132
4 years ago
Stephane Nicoll c120f789d5 Merge branch '2.4.x'
Closes gh-25141
4 years ago
Stephane Nicoll 9218965104 Merge branch '2.3.x' into 2.4.x
Closes gh-25140
4 years ago
dreis2211 4937547b8a Fix build deprecation warnings about duplicate jar entries
See gh-25116
4 years ago
Stephane Nicoll a9a8d3a167 Merge branch '2.4.x'
Closes gh-25137
4 years ago
izeye 63ee99bf75 Polish
See gh-25093
4 years ago
Stephane Nicoll ee59f644ed Merge branch '2.4.x'
Closes gh-25136
4 years ago
Stephane Nicoll b2818680fd Polish "Clarify usage of BufferingApplicationStartup"
See gh-25075
4 years ago
Oleg Sukhov 853dbc3de3 Clarify usage of BufferingApplicationStartup
See gh-25075
4 years ago
Stephane Nicoll 948f61b4ca Polish contribution
See gh-25006
4 years ago
dreis2211 634dd979d1 Migrate from deprecated methods in AbstractWebFluxEndpointHandlerMapping
See gh-25006
4 years ago
Phillip Webb 23ebf017c0 Extract code samples from docs
See gh-6313
4 years ago
Andy Wilkinson 7a3bd6d44f Merge branch '2.4.x'
Closes gh-25106
4 years ago
Andy Wilkinson 297e3079d0 Fix handling of UriTemplateRequestEntity in TestRestTemplate
A change [1] in Spring Framework 5.3 means that getUrl() on a
RequestEntity will throw an UnsupportedOperationException if the
entity was created using a template.

This commit updates TestRestTemplate to check for instances of
UriTemplateRequestEntity and to resolve the URI using the
entity's UriTemplateHandler instead of calling getUrl() directly.

Fixes gh-25097

[1] a0f4d81db7
4 years ago
Andy Wilkinson d30251092b Test the Gradle Plugin against 7.0-milestone-1
Closes gh-25103
4 years ago
Phillip Webb 0e326d6b0f Extract some code samples from docs
See gh-6313
4 years ago
Phillip Webb e0392c4558 Add additional dependencies for example code
Add additional dependencies useful for the example code.

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

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

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

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

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

Closes gh-25089
4 years ago
Andy Wilkinson db781a0d84 Merge branch '2.4.x'
See gh-25077
4 years ago
Andy Wilkinson 788a42d694 Merge branch '2.3.x' into 2.4.x
See gh-25076
4 years ago
Andy Wilkinson 67479b6380 Add junit-platform-launcher dependency by convention
Closes gh-25074
4 years ago
Phillip Webb d9f3e89395 Merge branch '2.4.x' 4 years ago
Phillip Webb 230b4ab2eb Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb 630d216430 Update copyright year of changed files 4 years ago
Phillip Webb d8b849e00d Fix test that fails when building against SNAPSHOT
Update `WarIntegrationTests` do deal with a SNAPSHOT Spring Framwork
dependency.

See gh-23936
4 years ago
Phillip Webb 1eef2e1b46 Merge branch '2.4.x' 4 years ago
Phillip Webb 331c7b756b Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb c404a50a2e Allow test to use snapshot/milestone repo
Update `spring-boot-maven-plugin` `settings.xml` so that milestone and
snapshot dependencies can be resolved.

See gh-23936
4 years ago
Phillip Webb cff09df3fe Merge branch '2.4.x' 4 years ago
Phillip Webb 003f2f9521 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb faaa5e4186 Fix BOM attached sourceSet
See gh-23936
4 years ago
Phillip Webb 59b8fb5b49 Merge branch '2.4.x'
Closes gh-25079
4 years ago
Phillip Webb db52bf3d7a Merge branch '2.3.x' into 2.4.x
Closes gh-25078
4 years ago
Phillip Webb 40c1748e3c Remove hardcoded versions from MavenBuild
Use the dependencies BOM to ensure versions used in the `MavenBuild`
test class are always aligned.

Closes gh-23936
4 years ago
Phillip Webb d8b6960997 Merge branch '2.4.x'
Closes gh-25077
4 years ago
Phillip Webb 257608a3a3 Merge branch '2.3.x' into 2.4.x
Closes gh-25076
4 years ago
Phillip Webb 939b5dfc26 Add junit-platform-launcher dependency
Update `build.gradle` files to ensure that `junit-platform-launcher` is
a `testRuntimeOnly` dependency. This ensures that tests can be run from
Eclipse.

Closes gh-25074
4 years ago
Madhura Bhave c73e3cc2dc Update documentation for layered wars
Closes gh-22821
Closes gh-22195
4 years ago
Madhura Bhave 1245e5eec9 Add support for creating layered war files with Gradle
See gh-22195
4 years ago
Andy Wilkinson 7f8ea33359 Merge branch '2.4.x'
Closes gh-25073
4 years ago
Andy Wilkinson 79c0597aa2 Merge branch '2.3.x' into 2.4.x
Closes gh-25072
4 years ago
Andy Wilkinson 3585d20453 Include IDialect beans in WebFluxTest and WebMvcTest
Fixes gh-24149
4 years ago
Phillip Webb 0104ee677e Merge branch '2.4.x'
Closes gh-25067
4 years ago
Phillip Webb 57f1f17320 Merge branch '2.3.x' into 2.4.x
Closes gh-25066
4 years ago
Phillip Webb 187258aa6a Fix classpath.idx format documentation
Since 2.3.8 and 2.4.2 the format includes the directory.

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

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

Closes gh-22718
4 years ago
Phillip Webb d8c9b8c329 Merge branch '2.4.x'
Closes gh-25060
4 years ago
Phillip Webb 77478d9f34 Refine CharSequenceToObjectConverter logic
Update `CharSequenceToObjectConverter` so that conversion that would
apply using an `ObjectTo...` converter now favors `toString()` based
conversion.

Prior to this commit, when converting a `CharSequence` to a `Collection`
the `ObjectToCollectionConveter` would be picked instead of the
`StringToCollectionConverter`. This resulted in a `Collection`
containing a single `String` value, rather than the expected list
of values split around ",".

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

Closes gh-24507
4 years ago
Phillip Webb c76a0f7a81 Merge branch '2.4.x'
Closes gh-25043
4 years ago
Phillip Webb ca9b612e27 Merge branch '2.3.x' into 2.4.x
Closes gh-25042
4 years ago
jongmin92 23ecb86089 Document missing code to run Gradle bootRun task
See gh-25012
4 years ago
Phillip Webb 479180fdf9 Merge branch '2.4.x'
Closes gh-25041
4 years ago
Phillip Webb c86ee4c851 Merge branch '2.3.x' into 2.4.x
Closes gh-25040
4 years ago
Phillip Webb 5b2d1f19a0 Polish 'Add note about exploded jars and banner properties'
See gh-24982
4 years ago
Robert Smith 33c038199d Add note about exploded jars and banner properties
Add a note to the "Customizing the Banner" explaining that you need
to be using the `JarLauncher` to use the `application.*` properties.

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

See gh-24336
4 years ago
Madhura Bhave 82ac7eef91 Update tests following code changes
See gh-22821
4 years ago
Madhura Bhave 9a32f67802 Fix formatting 4 years ago
Madhura Bhave 152698f2b2 Add support for creating layered war files with Maven
See gh-22821
4 years ago
Phillip Webb 5054765fc8 Merge branch '2.4.x'
Closes gh-25031
4 years ago
Phillip Webb 0fcc52ccaf Protect against NPE with Option.IGNORE_IMPORTS
Update `ConfigDataEnvironmentContributor` to deal with the fact that
the `properties` instance can be `null`.

Fixes gh-25029
4 years ago
Phillip Webb d702793ba7 Merge branch '2.4.x'
Closes gh-25030
4 years ago
Phillip Webb 7f32fa6723 Allow 'on-profile' in profile specific files
Restore the ability to use `spring.config.activate.on-profile` or
`spring.profiles` in profile specific files.

Closes gh-24990
4 years ago
Phillip Webb 61502bde9a Replace deprecated constructor with mutate builder
Update `ControllerEndpointHandlerMapping` to use the new `mutate()`
builder rather than deprecated constructors.

Closes gh-24999
4 years ago
Phillip Webb c9a2c4e326 Merge branch '2.4.x' 4 years ago
Phillip Webb d06407ec0a Update copyright year of changed files 4 years ago
Phillip Webb 4b0ef67e8e Update code for Spring Data 2021.0.0-M3
See gh-25004
4 years ago
Phillip Webb ab0a628d81 Merge branch '2.4.x' 4 years ago
Phillip Webb 99f7bc1aba Build against Spring Data 2020.0.4-SNAPSHOT
See gh-25002
4 years ago
Phillip Webb d95d7a0245 Update code for Spring Framework 5.3.4
See gh-24998
4 years ago
Phillip Webb b7ae5558f6 Build against Spring Framework 5.3.4-SNAPSHOT
See gh-24998
4 years ago
Phillip Webb 439344fdd8 Merge branch '2.4.x'
Closes gh-24996
4 years ago
Phillip Webb 1def245a2c Support DeferredLogFactory injection
Update `ConfigDataLoader` and `ConfigDataLocationResolver` to support
`DeferredLogFactory` injection.

Closes gh-24988
4 years ago
Phillip Webb b1f27b7604 Merge branch '2.4.x'
Closes gh-24995
4 years ago
Phillip Webb 522f68cb40 Merge branch '2.3.x' into 2.4.x
Closes gh-24994
4 years ago
Phillip Webb 464b302655 Set withTestKitDir per Gradle version
Attempt to fix cache locking issues by setting a unique `withTestKitDir`
directory for each tested Gradle version.

Closes gh-24993
4 years ago
Phillip Webb c268f5d418 Skip direct @ConfugurationProperties binding
Add a `BindRestriction` option to `Bindable` which allows direct
property binding to be bypassed. The option is automatically applied
by the `ConfigurationPropertiesBinder`.

Prior to this commit, `@ConfugurationProperties` binding could silently
fail if a direct property existed that could be converted to the
properties class. This can be the case if a single-argument constructor
is available as the `ObjectToObject` converter would kick in.

Closes gh-16038

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
4 years ago
Andy Wilkinson 5fc49aa485 Remove dependency management for spring-boot-starter-data-solr
Closes gh-24977
4 years ago
Andy Wilkinson f3fd55dac6 Merge branch '2.4.x'
Closes gh-24976
4 years ago
Andy Wilkinson 9c8645dec2 Merge branch '2.3.x' into 2.4.x
Closes gh-24975
4 years ago
Andy Wilkinson 46d908f632 Upgrade to Gradle 6.8.1
Closes gh-24737
4 years ago
Andy Wilkinson 5a56f8864f Remove error message attribute instead of blanking it when not included
Closes gh-24712
4 years ago
Andy Wilkinson 1370e8ca97 Merge branch '2.4.x'
Closes gh-24974
4 years ago
Andy Wilkinson 5362633014 Merge branch '2.3.x' into 2.4.x
Closes gh-24973
4 years ago
Andy Wilkinson 0b06ac9938 Use AssertJ's doesNotContainKey
Closes gh-24970
4 years ago
Andy Wilkinson ebca1af3fd Polish "Add reference to Ogham Spring Boot starters"
See gh-24964
4 years ago
Aurélien Baudet 0e436a2ccf Add reference to Ogham Spring Boot starters
See gh-24964
4 years ago
Madhura Bhave d07e351eff Polish " Change info endpoint to be secure and unexposed by default"
See gh-24715
4 years ago
Hatef Palizgar 53c1e79810 Change info endpoint to be secure and unexposed by default
See gh-24715
4 years ago
Andy Wilkinson 0fc33b020d Remove metadata for Data Solr property
Data Solr support was removed in 012a1997 so the property is no longer
supported.

See gh-24939
4 years ago
Andy Wilkinson 3e4abd0471 Upgrade to Solr 8.7.0
Closes gh-24963
4 years ago
Andy Wilkinson a0166e53c1 Upgrade to REST Assured 4.3.3
Closes gh-24962
4 years ago
Andy Wilkinson 977b938977 Upgrade to Flyway 7.5.1
Closes gh-24961
4 years ago
Andy Wilkinson 60ce922a5b Prohibit major upgrades that are not of interest
Closes gh-24960
4 years ago
dreis2211 d4eccb7715 Upgrade to Groovy 3.0.7
See gh-24946
4 years ago
Andy Wilkinson a4919a047e Upgrade to Spring Integration 5.5.0-M1
Closes gh-24932
4 years ago
Andy Wilkinson bb9a674dfb Upgrade to Spring Session Bom 2021.0.0-M1
Closes gh-24933
4 years ago
Andy Wilkinson c125e0ee35 Upgrade to Spring Kafka 2.7.0-M1
Closes gh-24592
4 years ago
Andy Wilkinson dff64302b5 Upgrade to Kafka 2.7.0
Closes gh-24934
4 years ago
Andy Wilkinson f5328d59e4 Upgrade to Oracle Database 21.1.0.0
Closes gh-24959
4 years ago
Andy Wilkinson eccafc1303 Upgrade to Jetty EL 9.0.29
Closes gh-24957
4 years ago
Andy Wilkinson a29ba202ae Upgrade to Jaybird 4.0.2.java8
Closes gh-24956
4 years ago
Andy Wilkinson 48b9e5ab29 Upgrade to Git Commit ID Plugin 4.0.3
Closes gh-24955
4 years ago
Andy Wilkinson fb087d7f7d Upgrade to ActiveMQ 5.16.1
Closes gh-24954
4 years ago
Andy Wilkinson 4135e3c061 Upgrade to Flyway 7.5
Closes gh-24953
4 years ago
Andy Wilkinson d15ec4cdb4 Upgrade to Liquibase 4.2.2
Closes gh-24952
4 years ago
Madhura Bhave cf8e667795 Fix formatting 4 years ago
Madhura Bhave 06263c46ce Upgrade to Spring Security 5.5.0-M1
Closes gh-24937
4 years ago
Phillip Webb a196a9bd8f Merge branch '2.4.x'
Closes gh-24949
4 years ago
Phillip Webb 69fbd2f8aa Delegate `usesPathPatterns()` call to mappings
Update `CompositeHandlerMapping` so that the `usesPathPatterns()` method
returns `true` if any of the delegate mappings return `true`.

Closes gh-24877
4 years ago
Stephane Nicoll 4c2a7db4f8 Upgrade to Spring Data 2021.0.0-M2
Closes gh-24931
4 years ago
Stephane Nicoll 20b7016a92 Upgrade to Spring HATEOAS 1.3.0-M1
Closes gh-24935
4 years ago
Stephane Nicoll 012a199773 Remove Spring Data Solr support
In preparation to the upgrade to Spring Data 2021.0, this commit removes
auto-configuration for Spring Data Solr.

Closes gh-24939
4 years ago
Stephane Nicoll 3e376b955d Fix build failure
See gh-24943
4 years ago
Stephane Nicoll 2f4d4c7b5d Merge branch '2.4.x' 4 years ago
Stephane Nicoll 56ce5bdf44 Merge branch '2.3.x' into 2.4.x
See gh-24943
4 years ago
Stephane Nicoll 244a6ac7e5 Polish "Deprecate Spring Data Solr"
See gh-24942
4 years ago
Stephane Nicoll 85729d2a8a Merge branch '2.3.x' into 2.4.x
Closes gh-24943
4 years ago
Stephane Nicoll 10b4cb8cb5 Deprecate Spring Data Solr support
Closes gh-24942
4 years ago
Stephane Nicoll bf9c67b793 Polish 4 years ago
Stephane Nicoll ebf8175cc2 Upgrade to XmlUnit2 2.8.2
Closes gh-24930
4 years ago
Stephane Nicoll b3fd1446f5 Upgrade to Thymeleaf Layout Dialect 2.5.2
Closes gh-24929
4 years ago
Stephane Nicoll ab883a7fd7 Upgrade to SQLite JDBC 3.34.0
Closes gh-24928
4 years ago
Stephane Nicoll 90e50a2967 Upgrade to Spring Retry 1.3.1
Closes gh-24927
4 years ago
Stephane Nicoll dc28bb9a5c Upgrade to Spring AMQP 2.3.4
Closes gh-24926
4 years ago
Stephane Nicoll 88825923b6 Upgrade to SendGrid 4.7.1
Closes gh-24925
4 years ago
Stephane Nicoll eefd5a1d9a Upgrade to Selenium HtmlUnit 2.46.0
Closes gh-24924
4 years ago
Stephane Nicoll 2e7c4d8d91 Upgrade to Oracle Database 19.9.0.0
Closes gh-24923
4 years ago
Stephane Nicoll f2c1a7c957 Upgrade to Netty tcNative 2.0.36.Final
Closes gh-24922
4 years ago
Stephane Nicoll 54f0f881de Upgrade to Netty 4.1.58.Final
Closes gh-24921
4 years ago
Stephane Nicoll 33bf4d2b42 Upgrade to MySQL 8.0.23
Closes gh-24920
4 years ago
Stephane Nicoll 10b9448e1e Upgrade to Mockito 3.7.7
Closes gh-24919
4 years ago
Stephane Nicoll 10a692edcd Upgrade to Micrometer 1.6.3
Closes gh-24918
4 years ago
Stephane Nicoll c57ca65eb8 Upgrade to Log4j2 2.14.0
Closes gh-24917
4 years ago
Stephane Nicoll 4407d00664 Upgrade to Lettuce 6.0.2.RELEASE
Closes gh-24916
4 years ago
Stephane Nicoll 78a15dc8c9 Upgrade to Json Path 2.5.0
Closes gh-24915
4 years ago
Stephane Nicoll 0399b65904 Upgrade to Johnzon 1.2.9
Closes gh-24914
4 years ago
Stephane Nicoll 9e12bd088e Upgrade to Jetty 9.4.36.v20210114
Closes gh-24913
4 years ago
Stephane Nicoll 02b434460d Upgrade to Jetty Reactive HTTPClient 1.1.5
Closes gh-24912
4 years ago
Stephane Nicoll 6d8043aae7 Upgrade to Jersey 2.33
Closes gh-24911
4 years ago
Stephane Nicoll 8d5dd8d4b2 Upgrade to Jaybird 3.0.10
Closes gh-24910
4 years ago
Stephane Nicoll 7b39cfb061 Upgrade to Jackson Bom 2.12.1
Closes gh-24909
4 years ago
Stephane Nicoll 7b22d69857 Upgrade to InfluxDB Java 2.21
Closes gh-24908
4 years ago
Stephane Nicoll 346bc4730b Upgrade to Infinispan 11.0.9.Final
Closes gh-24907
4 years ago
Stephane Nicoll 09b3363dae Upgrade to HtmlUnit 2.46.0
Closes gh-24906
4 years ago
Stephane Nicoll d5d100eb11 Upgrade to Hibernate Validator 6.2.0.Final
Closes gh-24905
4 years ago
Stephane Nicoll 62ad346765 Upgrade to Hibernate 5.4.27.Final
Closes gh-24904
4 years ago
Stephane Nicoll ee6c8425e2 Upgrade to Hazelcast Hibernate5 2.2.0
Closes gh-24903
4 years ago
Stephane Nicoll 9ed2e722fd Upgrade to Hazelcast 4.1.1
Closes gh-24902
4 years ago
Stephane Nicoll b3221f4fc5 Upgrade to Elasticsearch 7.10.2
Closes gh-24901
4 years ago
Stephane Nicoll 1c42d22e1c Upgrade to Dropwizard Metrics 4.1.17
Closes gh-24900
4 years ago
Stephane Nicoll 5cea9e74ab Upgrade to Couchbase Client 3.1.1
Closes gh-24899
4 years ago
Stephane Nicoll 644c03124a Upgrade to Cassandra Driver 4.10.0
Closes gh-24898
4 years ago
Stephane Nicoll aa29d950a9 Upgrade to Byte Buddy 1.10.19
Closes gh-24897
4 years ago
Stephane Nicoll 4ab3b5c0d4 Upgrade to Artemis 2.16.0
Closes gh-24896
4 years ago
Stephane Nicoll 95cf9d91e9 Upgrade to AppEngine SDK 1.9.84
Closes gh-24895
4 years ago
Phillip Webb b5674173f8 Merge branch '2.4.x'
Closes gh-24893
4 years ago
Phillip Webb 80dbbaf012 Add ConfigData IGNORE_PROFILES support
Add a new `ConfigData.Option` that allows profile properties to be
ignored. This update will allow Spring Cloud Config Server to provide
`ConfigData` that only has profile properties processed on the
server-side.

Closes gh-24890
4 years ago
Andy Wilkinson 452fbf3a3e Prohibit upgrades to REST Assured 4.3
REST Assured 4.3.x requires Groovy 3 that we can't yet upgrade to as
there is no compatibile GA of Spock.

This commit prohibits upgrades to 4.3 so that Bomr ignores the possible
upgrade.

See gh-22303
4 years ago
Andy Wilkinson b095c7761a Polish "Add config prop for endpoints' CORS allowed origin patterns"
See gh-24680
4 years ago
Pedro Ivo Machado d7f891be39 Add config prop for endpoints' CORS allowed origin patterns
See gh-24680
4 years ago
Andy Wilkinson 743343cf18 Avoid compiler warning that only occurs with Java 8 4 years ago
Andy Wilkinson 294231efe7 Merge branch '2.4.x'
Closes gh-24883
4 years ago
Andy Wilkinson 7b4fbd2c85 Document WebMvcProperties.MatchingStrategt as being since 2.4.0
Closes gh-24875
4 years ago
Andy Wilkinson 535050ad48 Automatically register HttpSessionIdListener's with the servlet context
Closes gh-24879
4 years ago
Andy Wilkinson 48002e969f Merge branch '2.4.x'
Closes gh-24882
4 years ago