Commit Graph

8394 Commits (2fc3a13814f7c47a78437f4e84e570c11f9ff029)

Author SHA1 Message Date
Stephane Nicoll f218565e7c Upgrade to Mimepull 1.9.13
Closes gh-20675
5 years ago
Stephane Nicoll 1b3efb52df Upgrade to Spring Data Moore SR6
Closes gh-20573
5 years ago
Stephane Nicoll 6316d26754 Upgrade to Spring HATEOAS 1.0.4.RELEASE
Closes gh-20232
5 years ago
Stephane Nicoll 009361d38c Merge branch '2.1.x' into 2.2.x
Closes gh-20670
5 years ago
Stephane Nicoll 18353231a0 Do not fail if "spring.datasource.url" cannot be resolved
Previously, a condition checked the value of "spring.datasource.url" to
determine if an embedded database has to be created as a fallback. When
the value is set with an unresolved placeholder, this fails even if
the DataSource is going to created by another mean ultimately.

This commit makes a more conservative check by only checking the
presence of the property rather than its value.

Closes gh-20438
5 years ago
Stephane Nicoll 089c0471fa Test the Gradle Plugin against Gradle 6.3
Closes gh-20669
5 years ago
Stephane Nicoll 44a8ff893d Upgrade to Spring Framework 5.2.5
Closes gh-20571
5 years ago
Stephane Nicoll b53687535d Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-20658
5 years ago
Stephane Nicoll 9e87b54f09 Upgrade to Xmlunit2 2.6.4
Closes gh-20657
5 years ago
Stephane Nicoll 0bb564dff9 Upgrade to Spring Session Bom Corn-SR2
Closes gh-20656
5 years ago
Stephane Nicoll d87726a953 Upgrade to Postgresql 42.2.11
Closes gh-20655
5 years ago
Stephane Nicoll c99ef5df76 Upgrade to Neo4j Ogm 3.2.10
Closes gh-20654
5 years ago
Stephane Nicoll 64ca69305f Upgrade to Liquibase 3.8.8
Closes gh-20653
5 years ago
Stephane Nicoll 67d2b8baa9 Upgrade to Kotlin Coroutines 1.3.5
Closes gh-20652
5 years ago
Stephane Nicoll 059e1cdd13 Upgrade to Kotlin 1.3.71
Closes gh-20651
5 years ago
Stephane Nicoll 468ddee339 Upgrade to Freemarker 2.3.30
Closes gh-20650
5 years ago
Stephane Nicoll e3bdcae09d Upgrade to Elasticsearch 6.8.7
Closes gh-20649
5 years ago
Stephane Nicoll ef9d64c1fb Upgrade to Jetty 9.4.27.v20200227
Closes gh-20648
5 years ago
Stephane Nicoll e1e8528867 Upgrade to Janino 3.1.2
Closes gh-20647
5 years ago
Stephane Nicoll bd96698ca3 Upgrade to Tomcat 9.0.33
Closes gh-20646
5 years ago
Stephane Nicoll 47e1e273c1 Upgrade to Httpclient 4.5.12
Closes gh-20645
5 years ago
Stephane Nicoll 46ffb4fd88 Upgrade to Activemq 5.15.12
Closes gh-20644
5 years ago
Stephane Nicoll f244e12ec2 Add dependency management for Jakarta Xml Soap 1.4.2
Closes gh-20659
5 years ago
Stephane Nicoll 7b215e6998 Upgrade to Jakarta Xml Ws 2.3.3
Closes gh-20643
5 years ago
Stephane Nicoll ecb1bdcc45 Upgrade to Jakarta Xml Bind 2.3.3
Closes gh-20642
5 years ago
Stephane Nicoll 5294c46380 Upgrade to Undertow 2.0.30.Final
Closes gh-20641
5 years ago
Stephane Nicoll 0766c2c591 Upgrade to Rxjava2 2.2.19
Closes gh-20640
5 years ago
Stephane Nicoll 3fe6f409b7 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-20639
5 years ago
Stephane Nicoll 5d1e303c0b Upgrade to Netty 4.1.48.Final
Closes gh-20638
5 years ago
Stephane Nicoll cde39f4676 Upgrade to Micrometer 1.3.6
Closes gh-20637
5 years ago
Stephane Nicoll 278b206af5 Upgrade to Dropwizard Metrics 4.1.5
Closes gh-20636
5 years ago
Stephane Nicoll 262f1239db Upgrade to Jakarta Mail 1.6.5
Closes gh-20635
5 years ago
Stephane Nicoll 2ec2416357 Upgrade to Sendgrid 4.4.6
Closes gh-20634
5 years ago
Stephane Nicoll fcde01cc21 Upgrade to Appengine Sdk 1.9.79
Closes gh-20633
5 years ago
Stephane Nicoll 1ffdf8a194 Upgrade to Jackson 2.10.3
Closes gh-20632
5 years ago
Stephane Nicoll 89d8fe6717 Upgrade to Couchbase Client 2.7.13
Closes gh-20631
5 years ago
Phillip Webb 16b5ea3414 Update copyright year of changed files 5 years ago
Stephane Nicoll 8d9c9126b1 Upgrade to Reactor Dysprosium-SR6
Closes gh-20569
5 years ago
Stephane Nicoll 9a5ffb7e0c Upgrade to Reactor Californium SR17
Closes gh-20624
5 years ago
Stephane Nicoll bf15276af1 Fix import in constructor binding example
Closes gh-20378
5 years ago
Stephane Nicoll 8f265f8d57 Polish "Fix @FlywayDataSource with multiple data sources"
See gh-20617
5 years ago
Shimbo Takaaki 2410d6bbd1 Fix @FlywayDataSource with multiple data sources
See gh-20617
5 years ago
Stephane Nicoll 7be3db2d4d Merge branch '2.1.x' into 2.2.x
Closes gh-20618
5 years ago
Stephane Nicoll bcce6f9f07 Document that Jackson is a required dependency of the Actuator
Closes gh-19564
5 years ago
Stephane Nicoll 39b965e1fd Merge branch '2.1.x' into 2.2.x
Closes gh-20615
5 years ago
Stephane Nicoll f5761bd508 Auto-configure listener container factory without consumer factory
Previously, the presence of a `ConsumerFactory` bean would make the
auto-configured one to back off, leading to a failure down the line if
no available instance matches the generics criterion. This commit
improves the auto-configuration to create a `ConsumerFactory<?,?>`
behind the scenes if none is available.

Closes gh-19221
5 years ago
Stephane Nicoll 08a89b6288 Polish "Configure signature algorithm when using public key jwt decoder"
See gh-20523
5 years ago
Michael Kreis 69e33d6e62 Configure signature algorithm when using public key jwt decoder
See gh-20523
5 years ago
dreis2211 6ff842441c Polish BindableTests
See gh-20604
5 years ago
Stephane Nicoll 8593270b5b Only remove trailing slash from URI value
This commit upgrades the algorithm when trailing slash are to be
ignored. Previously a root URI (i.e. "/") would result to to empty
string which is an issue for monitoring system that requires tag values
to be non empty. If the URI is a single character, the trailing is not
applied and "/" is left as is.

Closes gh-20536
5 years ago
Andy Wilkinson 9e7ab46ecc Merge branch '2.1.x' into 2.2.x
Closes gh-20589
5 years ago
Jordan Simpson 0d9d0f8532 Link to correct factory in TomcatReactiveWebServerFactory's javadoc
See gh-20583
5 years ago
Stephane Nicoll 579a6ac254 Adapt tests for support for Java 14
See gh-20576
5 years ago
Stephane Nicoll 58a45c53ac Upgrade to Groovy 2.5.10
Closes gh-20575
5 years ago
Stephane Nicoll bece0f1360 Start building against Spring Kafka 2.3.7 snapshots
See gh-20574
5 years ago
Stephane Nicoll 96cffb9dd3 Start building against Spring Data Moore SR6 snapshots
See gh-20573
5 years ago
Stephane Nicoll e940e751c1 Start building against Spring Framework 5.2.5 snapshots
See gh-20571
5 years ago
Stephane Nicoll 3966730e02 Start building against Reactor Dysprosium-SR6 snapshots
See gh-20569
5 years ago
Lars Grefer c748f36856 Fix recommended task dependency configuration
`compileJava.dependsOn(processResources)` is not enough to ensure the
correct behavior. Using `dependsOn` only affects the execution order
(`processResources` before `compileJava`) but not the up-to-date check
of `compileJava`. After modifying
`META-INF/additional-spring-configuration-metadata.json`, the
`processResouces` task will considered out-of-date and will be
re-executed, but after that `compileJava` will still be considered
up-to-date which causes the changes not to be merged into
`META-INF/spring-configuration-metadata.json`

With this change the up-do-date check of `compileJava` is affected,
too. Therefore, it will correctly re-execute the
configuration-processor when
`META-INF/additional-spring-configuration-metadata.json` was changed.

See gh-20323
5 years ago
dreis2211 d9171d0afe Use @Configuration(proxyBeanMethods=false) wherever possible
See gh-20541
5 years ago
Andy Wilkinson 566f79b086 Merge branch '2.1.x' into 2.2.x
Closes gh-20543
5 years ago
Andy Wilkinson b51c7386aa Fix detection of application home for paths containing spaces
Fixes gh-20531
5 years ago
Andy Wilkinson 9fbb664db6 Avoid eager init when evaluating DevToolsDataSourceCondition
Previously, DevToolsDataSourceCondition called
getBeanNamesForType(Class) which could trigger unwanted initialization
of lazy init singletons and objects created by FactoryBeans.

This commit updates DevToolsDataSourceCondition to prohibit eager
init when getting the names of the beans of a particular type.

Fixes gh-20430
5 years ago
Andy Wilkinson e937b2e0cd Merge branch '2.1.x' into 2.2.x
Closes gh-20501
5 years ago
Andy Wilkinson f251772e17 Fix behaviour of DependencyCustomizer ifAllResourcesPresent
Previously, DependencyCustomizer's ifAllResourcesPresent method
would return a customizer that added modules if any of the resources
were present. This commit corrects this behaviours so that modules are
only added if all resources are present.

Fixes gh-20418
5 years ago
Andy Wilkinson e1ce21c3a5 Merge branch '2.1.x' into 2.2.x
Closes gh-20499
5 years ago
Andy Wilkinson 2b2113714d Use getTomcatWebServer to create TomcatWebServer instance
TomcatReactiveWebServerFactory's getTomcatWebServer is described as
being a hook point the can be overrideden to return a different
TomcatWebServer or to apply additional processing to the Tomcat
server. Previously, this did not work as the method was not called
to create the TomcatWebServer instance. Instead, TomcatWebServer was
instantiated and returned directly.

This commit updates TomcatReactiveWebServerFactory to call
getTomcatWebServer to create the TomcatWebServer instance. A test
has also been added to verify that the method is now used.

Fixes gh-20386
5 years ago
Florian Dreier 76451d47b7 Update versiion of git-properties plugin shown in the docs
See gh-20436
5 years ago
Madhura Bhave a27e145f03 Merge branch '2.1.x' into 2.2.x
Closes gh-20432
5 years ago
Madhura Bhave 06d870bdd0 Do not wrap CF JSON Keys containing special characters
This reverts commit 6828a15d31.
The commit has been reverted as it breaks backwards compatiblity.

Fixes gh-20343
5 years ago
Stephane Nicoll 1fdb08300b Polish 5 years ago
dreis2211 f08a9db984 Fix some deprecations
See gh-20388
5 years ago
Johnny Lim 1721aeccb0 Use ServerHttpResponse.getRawStatusCode() in WebFluxTags
See gh-19987
5 years ago
dreis2211 daa3855fc8 Test the Gradle Plugin against Gradle 6.2.2
See gh-20385
5 years ago
dreis2211 4eaaf88b2d Remove redundant code
See gh-20339
5 years ago
Madhura Bhave ea8f2a7276 Fix tests following changes to EndpointRequest
See gh-20329
5 years ago
Madhura Bhave cdae79dad9 Cache management port type in EndpointRequestMatcher
Closes gh-20329
5 years ago
Stephane Nicoll 421fe77b04 Upgrade to Neo4j Ogm 3.2.9
Closes gh-20330
5 years ago
Stephane Nicoll ef67ad7a35 Upgrade to Liquibase 3.8.7
Closes gh-20328
5 years ago
Stephane Nicoll fa6f8f80b5 Upgrade to Rxjava2 2.2.18
Closes gh-20327
5 years ago
Stephane Nicoll a838537487 Upgrade to Dropwizard Metrics 4.1.3
Closes gh-20326
5 years ago
Stephane Nicoll 398e68393e Upgrade to Okhttp3 3.14.7
Closes gh-20325
5 years ago
Stephane Nicoll 560bf28e85 Upgrade to Spring Kafka 2.3.6.RELEASE
Closes gh-20203
5 years ago
Stephane Nicoll 080d549cb2 Upgrade to Spring Integration 5.2.4.RELEASE
Closes gh-20202
5 years ago
Stephane Nicoll 3c7ed819fa Upgrade to Spring AMQP 2.2.5.RELEASE
Closes gh-20106
5 years ago
Stephane Nicoll c0bac905e1 Revert "Start building against Spring HATEOAS 1.0.4 snapshots"
This reverts commit 34f33e8b0d.

See gh-20232
5 years ago
Stephane Nicoll 0c5973f688 Upgrade to Neo4j Ogm 3.1.17
Closes gh-20322
5 years ago
Stephane Nicoll eb33be8849 Upgrade to Rxjava2 2.2.18
Closes gh-20321
5 years ago
Stephane Nicoll 5db92e3d30 Upgrade to Jackson 2.9.10.20200223
Closes gh-20320
5 years ago
Stephane Nicoll cd456c2e41 Upgrade to Spring Data Moore-SR5
Closes gh-20201
5 years ago
Stephane Nicoll de3f72f25b Upgrade to Spring Data Lovelace-SR16
Closes gh-20198
5 years ago
Stephane Nicoll 4cd4e510e1 Upgrade to Spring Framework 5.2.4.RELEASE
Cloes gh-20199
5 years ago
Stephane Nicoll eaafe50880 Upgrade to Spring Framework 5.1.14
Closes gh-20197
5 years ago
Yoo In Keun ec20246415 Fix typos in documentation
See gh-20313
5 years ago
dreis2211 442733600e Test the Gradle plugin against Gradle 6.2.1
See gh-20310
5 years ago
Andy Wilkinson 2059ff6c39 Upgrade to Reactor Dysprosium-SR5
Closes gh-20200
5 years ago
Andy Wilkinson cb2e3bd076 Upgrade to Reactor Californium-SR16
Closes gh-20196
5 years ago
Madhura Bhave 42bb56c1ba Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 88ee50601d Update copyright of changed files 5 years ago
Madhura Bhave 368a77f355 Merge branch '2.1.x' into 2.2.x
Closes gh-20306
5 years ago
Madhura Bhave 0957168626 Binding to collection of custom objects should not fail with unbound error
Fixes gh-20134
5 years ago
Brian Clozel 11b9862064 Revert "Clear ProducesRequestCondition cache attribute"
Closes gh-20292
5 years ago
Stephane Nicoll 3f0a5a5482 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20288
5 years ago
Stephane Nicoll 4a64426218 Upgrade to Spring Session Bom Corn-SR1
Closes gh-20287
5 years ago
Stephane Nicoll a3d4367ccc Upgrade to Spring Security 5.2.2.RELEASE
Closes gh-20286
5 years ago
Stephane Nicoll 412aee65ea Upgrade to Lombok 1.18.12
Closes gh-20285
5 years ago
Stephane Nicoll fb0d14baa8 Upgrade to Postgresql 42.2.10
Closes gh-20284
5 years ago
Stephane Nicoll 6a3a32460f Upgrade to Neo4j Ogm 3.2.8
Closes gh-20283
5 years ago
Stephane Nicoll 85139c0321 Upgrade to Liquibase 3.8.6
Closes gh-20282
5 years ago
Stephane Nicoll 4b3273440f Upgrade to Jooq 3.12.4
Closes gh-20281
5 years ago
Stephane Nicoll e56a4dfc87 Upgrade to Infinispan 9.4.18.Final
Closes gh-20280
5 years ago
Stephane Nicoll 7b389f04ad Upgrade to Hibernate 5.4.12.Final
Closes gh-20279
5 years ago
Stephane Nicoll a99f7910bc Upgrade to Jetty 9.4.26.v20200117
Closes gh-20278
5 years ago
Stephane Nicoll 402eb87847 Upgrade to Tomcat 9.0.31
Closes gh-20277
5 years ago
Stephane Nicoll 1909bac5c8 Upgrade to Johnzon Jsonb 1.2.3
Closes gh-20276
5 years ago
Stephane Nicoll 3447936823 Upgrade to Httpclient 4.5.11
Closes gh-20275
5 years ago
Stephane Nicoll 15134d92f5 Upgrade to Byte Buddy 1.10.8
Closes gh-20274
5 years ago
Stephane Nicoll 53389ec61b Upgrade to Rsocket 1.0.0-RC6
Closes gh-20273
5 years ago
Stephane Nicoll bcd0a7bbb3 Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20272
5 years ago
Stephane Nicoll 3c59f08796 Upgrade to Micrometer 1.3.5
Closes gh-20271
5 years ago
Stephane Nicoll 62287739e7 Upgrade to Lettuce 5.2.2.RELEASE
Closes gh-20270
5 years ago
Stephane Nicoll 1858219d1d Upgrade to Jakarta Activation 1.2.2
Closes gh-20269
5 years ago
Stephane Nicoll a7f3b801ae Upgrade to Sendgrid 4.4.5
Closes gh-20268
5 years ago
Stephane Nicoll d684277f29 Upgrade to Hazelcast 3.12.6
Closes gh-20267
5 years ago
Stephane Nicoll e5baa1c55a Upgrade to Appengine Sdk 1.9.78
Closes gh-20266
5 years ago
Stephane Nicoll 26d30f5019 Upgrade to Caffeine 2.8.1
Closes gh-20265
5 years ago
Stephane Nicoll 0b1b05f129 Upgrade to Jackson 2.10.2.20200130
Closes gh-20264
5 years ago
Stephane Nicoll 021575a335 Upgrade to Couchbase Client 2.7.12
Closes gh-20263
5 years ago
Stephane Nicoll fb97f075b9 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20260
5 years ago
Stephane Nicoll 29d7714a2b Upgrade to Spring Session Bom Bean-SR9
Closes gh-20259
5 years ago
Stephane Nicoll eecd8e1669 Upgrade to Spring Security 5.1.8.RELEASE
Closes gh-20258
5 years ago
Stephane Nicoll 3f538c2b4a Upgrade to Lombok 1.18.12
Closes gh-20257
5 years ago
Stephane Nicoll 32fdc42ce1 Upgrade to Postgresql 42.2.10
Closes gh-20256
5 years ago
Stephane Nicoll 1e5b548501 Upgrade to Infinispan 9.4.18.Final
Closes gh-20255
5 years ago
Stephane Nicoll 7b8d3c284d Upgrade to Jetty 9.4.26.v20200117
Closes gh-20254
5 years ago
Stephane Nicoll ac41bcbb66 Upgrade to Tomcat 9.0.31
Closes gh-20253
5 years ago
Stephane Nicoll 2b033c532b Upgrade to Httpclient 4.5.11
Closes gh-20252
5 years ago
Stephane Nicoll b3b7d80374 Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-20251
5 years ago
Stephane Nicoll b5a20492bd Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20250
5 years ago
Stephane Nicoll cd99b838f7 Upgrade to Hazelcast 3.11.7
Closes gh-20249
5 years ago
Stephane Nicoll 4b9070d9b5 Upgrade to Appengine Sdk 1.9.78
Closes gh-20248
5 years ago
Stephane Nicoll f4a3d7ff3a Upgrade to Couchbase Client 2.7.12
Closes gh-20247
5 years ago
Dmytro Nosan 1a8c321a7b Support nested requests in MetricsClientHttpRequestInterceptor
Prior to this commit, requests made by `HttpRequestInterceptor`
instances configured on `RestTemplate` would not be recorded
properly.

This commit ensures that nested requests are recorded separately.

Closes gh-20231
5 years ago
Scott Frederick 625b40aa90 Prefer arguments in POM over spring-boot.run.arguments
This commit changes the order of precedence for the `arguments` property
of the AbstractRunMojo so that values specified in the POM override
values provided on the command line using `spring-boot.run.arguments`.
This brings the `arguments` property in line with all other Mojo
parameters.

Fixes gh-20024
5 years ago
Stephane Nicoll cc3eac898a Start building against Spring Kafka 2.3.6 snapshots
See gh-20203
5 years ago
Stephane Nicoll effa2a29f2 Start building against Spring AMQP 2.2.5 snapshots
See gh-20106
5 years ago
Stephane Nicoll 942cd85d76 Start building against Spring Integration 5.2.4 snapshots
See gh-20202
5 years ago
Stephane Nicoll 2095295c4c Start building against Spring Data Moore SR5 snapshots
See gh-20201
5 years ago
Stephane Nicoll 34f33e8b0d Start building against Spring HATEOAS 1.0.4 snapshots
See gh-20232
5 years ago
Stephane Nicoll 67d2258e76 Start building against Spring Framework 5.2.4 snapshots
See gh-20199
5 years ago
Stephane Nicoll ef0d881846 Start building against Reactor Dysprosium-SR5 snapshots
See gh-20200
5 years ago
Stephane Nicoll 5750b8d826 Start building against Reactor Californium-SR16 snapshots
See gh-20196
5 years ago
Stephane Nicoll 592ae85043 Merge branch '2.1.x' into 2.2.x 5 years ago
Stephane Nicoll 6aeff91f50 Polish 5 years ago
Andy Wilkinson 29bc5d848e Start building against Spring Data Lovelace-SR16 snapshots
See gh-20198
5 years ago
Andy Wilkinson 5ae66d4c08 Start building against Spring Framework 5.1.14 snapshots
See gh-20197
5 years ago
dreis2211 d55bc5f850 Test the Gradle Plugin against Gradle 6.2
See gh-20222
5 years ago
hbellahc d890f1f6d8 Document missing reference to DataSourceHealthIndicator
See gh-20216
5 years ago
Stephane Nicoll 1d60184075 Merge branch '2.1.x' into 2.2.x
Closes gh-20217
5 years ago
Stephane Nicoll 2147976c17 Do not fallback to embedded configuration if a datasource url is set
This commit makes sure that a fallback embedded datasource is not
created if no suitable connection pool is found and an url has been
explicitly registered.

This is consistent with EmbeddedDataSourceConfiguration as it is using
EmbeddedDatabaseBuilder behind the scenes and the latter does not
honour the configured URL anyway.

Closes gh-19192
5 years ago
Brian Clozel e59d3fbb86 Clear ProducesRequestCondition cache attribute
As of spring-projects/spring-framework#22644, Spring Framework caches
the "produces" condition when matching for endpoints in the
`HandlerMapping` infrastructure. This has been improved in
spring-projects/spring-framework#23091 to prevent side-effects in other
implementations.

Prior to this commit, the Spring Boot actuator infrastructure for
`EndpointHandlerMapping` would not clear the cached attribute,
presenting the same issue as Spring Framework's infrastructure. This
means that a custom arrangement with custom `HandlerMapping` or
`ContentTypeResolver` would not work properly and reuse the cached
produced conditions for other, unintented, parts of the handler mapping
process.

This commit clears the cached data and ensures that other handler
mapping implementations are free of that side-effect.

Fixes gh-20150
5 years ago
Andy Wilkinson bf8ed44453 Upgrade to Spring AMQP 2.2.4.RELEASE
Closes gh-20106
5 years ago
Andy Wilkinson e065ee7be2 Merge branch '2.1.x' into 2.2.x
Closes gh-20183
5 years ago
Stephane Nicoll 40d1727cc5 Polish "Document sanitized keys and uri sanitization behavior"
See gh-20169
5 years ago
Juzer Ali 30f7f9c9c4 Document sanitized keys and uri sanitization behavior
See gh-20169
5 years ago
Andy Wilkinson c8907d46b4 Fix up-to-date checking of build info properties
Closes gh-20135
5 years ago
Dave Syer dcaaf9785f Remove duplicate auto-configuration class
See gh-20168
5 years ago
Stephane Nicoll 2ede9e63b9 Merge branch '2.1.x' into 2.2.x
Closes gh-20117
5 years ago
Stephane Nicoll 32c1dd45a9 Revert "Merge pull request #19926 from xak2000"
Closes gh-19926
5 years ago
dreis2211 92b4ba6367 Fix structuring your code link in multi-page HTML documentation
Closes gh-19953
5 years ago
Madhura Bhave 4eb71fc424 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 97ac6c9de7 Polish 5 years ago
Madhura Bhave 98a657fedb Merge branch '2.1.x' into 2.2.x
Closes gh-20132
5 years ago
Madhura Bhave ac91f14f05 Polish "Verify ssl key alias on server startup"
See gh-19202
5 years ago
cbono e351605962 Verify ssl key alias on server startup
See gh-19202
5 years ago
Madhura Bhave 3bdd91a119 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 747eab020d Update copyright of changed files 5 years ago
Madhura Bhave d1c7699539 Merge branch '2.1.x' into 2.2.x
Closes gh-20129
5 years ago
Madhura Bhave 544dca7f1b Polish contribution
Along with surrounding map keys with dot from VCAP_SERVICES with `[ ]`,
this commit also does that for non-alphanumeric and `-` characters so that
they are not stripped off later.

See gh-18915
5 years ago
Hans Schulz 6828a15d31 Handle JSON keys containing a dot from CF environment as a single path segment
See gh-18915
5 years ago
Stephane Nicoll 8f06d819e4 Harmonize JMS connection factory bean names
This commit restores consistent naming for the auto-configured
connection factory.

Closes gh-19565
5 years ago
Stephane Nicoll d1f4a1821c Merge branch '2.1.x' into 2.2.x
Closes gh-20123
5 years ago
Stephane Nicoll b0aba9ed67 Document how to register a blocking health contributor with reactive
Closes gh-19707
5 years ago
Stephane Nicoll 765b2178d1 Document spring-boot.run.arguments behaviour with multiple arguments
Closes gh-19998
5 years ago
Stephane Nicoll a425cc1b46 Merge branch '2.1.x' into 2.2.x
Closes gh-20117
5 years ago
Ruslan Stelmachenko 5f7e1ac4f2 Remove unnecessary leading slash in changelog locations
See gh-19926
5 years ago
Stephane Nicoll 66809c6c1e Polish "Fix condition source in OnBeanCondition"
See gh-19948
5 years ago
Jorge Cordoba 547fc30ead Fix condition source in OnBeanCondition
See gh-19948
5 years ago
Madhura Bhave d485708f68 Fix 404 when composite contributor is added to a group
Fixes gh-19974
5 years ago
Stephane Nicoll 76c21571b4 Remove unnecessary dependency on sendgrid
Closes gh-20099
5 years ago
Stephane Nicoll ddb5cc3f99 Polish "Make Kubernetes detection slightly more efficient"
See gh-19002
5 years ago
med-amine.dahmen aee22bfb51 Make Kubernetes detection slightly more efficient
See gh-19002
5 years ago
Madhura Bhave acc453db4a Polish contribution
See gh-19999
5 years ago
cbono badc83d368 Add 'uris', 'address' and 'addresses' to keys to sanitize.
See gh-19999
5 years ago
Andy Wilkinson 45fd60337d Merge branch '2.1.x' into 2.2.x
Closes gh-20042
5 years ago
Andy Wilkinson b6a408ae77 Upgrade to Spring Asciidoctor Extensions 0.4.0.RELEASE
Closes gh-20041
5 years ago
Stephane Nicoll d85bdfb23c Fix checkstyle violation 5 years ago
Stephane Nicoll 10643b7702 Polish "Stop time web metrics when autotime is disabled"
See gh-19981
5 years ago
babjo e323e05eea Stop time web metrics when autotime is disabled
See gh-19981
5 years ago
Stephane Nicoll fa239a0628 Merge branch '2.1.x' into 2.2.x
Closes gh-20028
5 years ago
Stephane Nicoll 12b644d73c Polish contribution
See gh-19901
5 years ago
Dmytro Nosan aead3a7c44 Handle message of @ResponseStatus-annotated exception with WebFlux
See gh-19901
5 years ago
Stephane Nicoll 90e3d88793 Fix link to Spring Integration Graph documentation
Closes gh-20023
5 years ago
Johnny Lim 6ef288f45b Polish samples in doc
See gh-20004
5 years ago
Andy Wilkinson 7b0d1eaffc Test the Gradle Plugin against Gradle 6.1.1
Closes gh-19912
5 years ago
Andy Wilkinson a37c170376 Try to make CouchbaseAutoConfigurationIntegrationTests less flakey
Closes gh-19932
5 years ago
Johnny Lim f3aed11714 Update test name in WebFluxTagsTests
See gh-19976
5 years ago
Andy Wilkinson 553311c690 Merge branch '2.1.x' into 2.2.x
Closes gh-19970
5 years ago
Andy Wilkinson 140f5e7baf Unwraper handler to find ContextHandler when logging context path
Previously, only the top-level handlers were examined to find the
ContextHandlers and log the context path. If those handlers had
been wrapped, this prevented the ContextHandlers from being found
and an empty string was always logged.

When finding the context path, this commit unwraps the handler held
by a HandlerWrapper until the ContextHandler is found.

Fixes gh-19969
5 years ago
Stephane Nicoll b420bdb3ac Merge branch '2.1.x' into 2.2.x
Closes gh-19965
5 years ago
dreis2211 db2bacc62a Fix Gradle plugin documentation links
See gh-19961
5 years ago
Stephane Nicoll 9d0918bb2e Merge branch '2.1.x' into 2.2.x
Closes gh-19957
5 years ago
Pascal Verdage 930ec51968 Fix typo
See gh-19956
5 years ago
Stephane Nicoll 9ca15ee00d Fix broken documentation links
See gh-19936
5 years ago
dreis2211 56ab129077 Upgrade to Testcontainers 1.12.5
See gh-19902
5 years ago
Stephane Nicoll 99330325c0 Merge branch '2.1.x' into 2.2.x
Closes gh-19903
5 years ago
Stephane Nicoll ddcc52a085 Upgrade to Micrometer 1.3.3
Closes gh-19645
5 years ago
Stephane Nicoll 7fd8cce465 Polish "Close TomcatMetrics on shutdown for cleanup"
See gh-19880
5 years ago
Johnny Lim 51dfd528bd Close TomcatMetrics on shutdown for cleanup
See micrometer-metrics/micrometer#1424
See gh-19880
5 years ago
Stephane Nicoll c3d0b9c43a Upgrade to Micrometer 1.1.10
Closes gh-19639
5 years ago
dreis2211 d84ca1149c Test the Gradle Plugin against Gradle 6.1
See gh-19776
5 years ago
Stephane Nicoll c77d4c07d7 Merge branch '2.1.x' into 2.2.x
Closes gh-19872
5 years ago
Stephane Nicoll 650e55c242 Polish "Encourage use of SpringBootApplication"
See gh-19855
5 years ago
protyay 3131616c5a Encourage use of SpringBootApplication
See gh-19855
5 years ago
Stephane Nicoll 84324c438b Merge branch '2.1.x' into 2.2.x
Closes gh-19842
5 years ago
Stephane Nicoll 34c263a828 Polish actuator dependencies and test resources
This commit removes references of cache infra following the move to
Micrometer. We no longer ships an infinispan specific binder so the
dependency has been removed as well.

Closes gh-19838
5 years ago
Andy Wilkinson f708aace65 Merge branch '2.1.x' into 2.2.x
Fixes gh-19821
5 years ago
Stephane Nicoll 3dba4c8f4e Polish "Document RedisCacheManagerBuilderCustomizer"
See gh-19819
5 years ago
Dmytro Nosan 61d8bacd23 Document RedisCacheManagerBuilderCustomizer
See gh-19819
5 years ago
Andy Wilkinson c85f19b75b Revert "Add profiles directly to the application environment for tests"
This reverts commit 487b9cbf96.

Fixes gh-19788
5 years ago
Andy Wilkinson 7693d332fa Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-19783
5 years ago
Stephane Nicoll ae561ce59b Upgrade to Reactor Dysprosium-SR4
Closes gh-19795
5 years ago
Andy Wilkinson d6631a578b Upgrade to Micrometer 1.3.2
Closes gh-19778
5 years ago
Andy Wilkinson 4c8626ea56 Allow Boot's Jetty error handler to be overridden
Fixes gh-19520
5 years ago
Andy Wilkinson a162c8ac0b Revert "Build against Micrometer 1.3.3 snapshots"
The release didn't happen in time for 2.2.3.

See gh-19645
5 years ago
Andy Wilkinson 8f209ced6d Revert "Start building against Micrometer 1.1.10 snapshots"
The release did not happen in time for 2.1.12.

See gh-19649.
5 years ago
Andy Wilkinson b7e250eb04 Merge branch '2.1.x' into 2.2.x 5 years ago
Andy Wilkinson ebebe09a9d Fix file handle leak in JarFileTests
The JarFile was not being closed which linked a file handle and caused
a test failure on Windows.

The local variable has been renamed as, when declared in a
try-with-resources, Checkstyle was confused by the shadowing of the
jarFile field and required references to jarFile within the try-block
the be prefixed with this.

See gh-19595
5 years ago
Andy Wilkinson 18462796bf Upgrade to Spring Kafka 2.3.5
Closes gh-19613
5 years ago
Andy Wilkinson 072b253b14 Upgrade to Spring Integration 5.2.3
Closes gh-19647
5 years ago
Andy Wilkinson cef9f0f3f5 Upgrade to Spring AMQP 2.2.3
Closes gh-19646
5 years ago
Andy Wilkinson b982bbec37 Upgrade to Spring Kafka 2.2.12.RELEASE
Closes gh-19761
5 years ago
Andy Wilkinson 5c7bd33fed Upgrade to Spring AMQP 2.1.13
Closes gh-19641
5 years ago
Andy Wilkinson 2e8dc83a80 Upgrade to Spring Data Moore-SR4
Closes gh-19648
5 years ago
Andy Wilkinson e6fa8530d7 Upgrade to Spring HATEOAS 1.0.3.RELEASE
Closes gh-19644
5 years ago
Andy Wilkinson 6e93ea3631 Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19758
5 years ago
Andy Wilkinson 8d4711617f Upgrade to Slf4j 1.7.30
Closes gh-19757
5 years ago
Andy Wilkinson 5083209447 Upgrade to Postgresql 42.2.9
Closes gh-19756
5 years ago
Andy Wilkinson 89c20a3ada Upgrade to Neo4j Ogm 3.2.6
Closes gh-19755
5 years ago
Andy Wilkinson 443d1a6a21 Upgrade to Liquibase 3.8.5
Closes gh-19754
5 years ago
Andy Wilkinson 17d584fd1d Upgrade to Kotlin Coroutines 1.3.3
Closes gh-19753
5 years ago
Andy Wilkinson 57414039e6 Upgrade to Infinispan 9.4.17.Final
Closes gh-19752
5 years ago
Andy Wilkinson 2989af4cee Upgrade to Hibernate 5.4.10.Final
Closes gh-19751
5 years ago
Andy Wilkinson 911d86d232 Upgrade to Elasticsearch 6.8.6
Closes gh-19750
5 years ago
Andy Wilkinson 7ba8eed286 Upgrade to Jetty 9.4.25.v20191220
Closes gh-19749
5 years ago
Andy Wilkinson 570b1ba630 Upgrade to Groovy 2.5.9
Closes gh-19748
5 years ago
Andy Wilkinson 2d461fef37 Upgrade to Awaitility 4.0.2
Closes gh-19747
5 years ago
Andy Wilkinson 3de1abfacf Upgrade to Httpcore 4.4.13
Closes gh-19746
5 years ago
Andy Wilkinson a77ccf7763 Upgrade to Byte Buddy 1.10.6
Closes gh-19745
5 years ago
Andy Wilkinson d8645bafcd Upgrade to Mysql 8.0.19
Closes gh-19744
5 years ago
Andy Wilkinson 4df55a64ab Upgrade to Undertow 2.0.29.Final
Closes gh-19743
5 years ago
Andy Wilkinson 073d362078 Upgrade to Rxjava2 2.2.17
Closes gh-19742
5 years ago
Andy Wilkinson 285ae01691 Upgrade to Netty 4.1.45.Final
Closes gh-19741
5 years ago
Andy Wilkinson d6f93704e9 Upgrade to Dropwizard Metrics 4.1.2
Closes gh-19740
5 years ago
Andy Wilkinson cb951d1103 Upgrade to Hikaricp 3.4.2
Closes gh-19739
5 years ago
Andy Wilkinson 37e699b391 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19738
5 years ago
Andy Wilkinson bbcf9e2d9f Upgrade to Okhttp3 3.14.6
Closes gh-19737
5 years ago
Andy Wilkinson f47a75a9f9 Upgrade to Hazelcast 3.12.5
Closes gh-19736
5 years ago
Andy Wilkinson 1e9afc6482 Upgrade to Jackson 2.10.2
Closes gh-19735
5 years ago
Andy Wilkinson 589c58a21e Upgrade to Spring Retry 1.2.5.RELEASE
Closes gh-19734
5 years ago
Andy Wilkinson be11ddd4f9 Upgrade to Slf4j 1.7.30
Closes gh-19733
5 years ago
Andy Wilkinson 9989e14b0d Upgrade to Postgresql 42.2.9
Closes gh-19732
5 years ago
Andy Wilkinson 22c127878f Upgrade to Neo4j Ogm 3.1.16
Closes gh-19731
5 years ago
Andy Wilkinson b63f63ff9d Upgrade to Infinispan 9.4.17.Final
Closes gh-19730
5 years ago
Andy Wilkinson c52f2828a8 Upgrade to Hibernate 5.3.15.Final
Closes gh-19729
5 years ago
Andy Wilkinson 501f98c25c Upgrade to Jetty 9.4.25.v20191220
Closes gh-19728
5 years ago
Andy Wilkinson f2e93774e4 Upgrade to Groovy 2.5.9
Closes gh-19727
5 years ago
Andy Wilkinson 8ec2c77b83 Upgrade to Httpcore 4.4.13
Closes gh-19726
5 years ago
Andy Wilkinson 9f979cb03f Upgrade to Mysql 8.0.19
Closes gh-19725
5 years ago
Andy Wilkinson 3f45874245 Upgrade to Undertow 2.0.29.Final
Closes gh-19724
5 years ago
Andy Wilkinson 159be1a78d Upgrade to Rxjava2 2.2.17
Closes gh-19723
5 years ago
Andy Wilkinson f73c4a837c Upgrade to Netty 4.1.45.Final
Closes gh-19722
5 years ago
Andy Wilkinson 64df377600 Upgrade to Unboundid Ldapsdk 4.0.14
Closes gh-19721
5 years ago
Andy Wilkinson 1e6cc4c308 Upgrade to Hazelcast 3.11.6
Closes gh-19720
5 years ago
Andy Wilkinson 727b4d164e Upgrade to Jackson 2.9.10.20200103
Closes gh-19719
5 years ago
Andy Wilkinson 5bcd185ce1 Upgrade to Spring Data Lovelace-SR15
Closes gh-19642
5 years ago
Madhura Bhave 3bf943d597 Merge branch '2.1.x' into 2.2.x
Closes gh-19713
5 years ago
Madhura Bhave f375277026 Merge pull request #19595 from nosan
* pr/19595:
  Polish "Limit ChronoField values to their range"
  Limit ChronoField values to their range

Closes gh-19595
5 years ago
Madhura Bhave 91e459a5d4 Polish "Limit ChronoField values to their range"
See gh-19595
5 years ago
Dmytro Nosan 9bc68b9877 Limit ChronoField values to their range
See gh-19595
5 years ago
Stephane Nicoll 29163041ae Upgrade to Spring Framework 5.2.3
Closes gh-19531
5 years ago
Stephane Nicoll 717439d3a0 Upgrade to Spring Framework 5.1.13
Closes gh-19530
5 years ago
Phillip Webb 15652ae4c1 Update copyright year of changed files 5 years ago
Phillip Webb 3cfbfebbb1 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave e60194c7d5 Ignore trailing slash when recording Web metrics
Fixes gh-18207
5 years ago
Phillip Webb 9bd49562fe Update copyright year of changed files 5 years ago
Stephane Nicoll b3d32c7214 Upgrade to Reactor Dysprosium-SR3
Closes gh-19643
5 years ago
dreis2211 852659684b Fix typo in NoSuchBeanDefinitionFailureAnalyzer exception
See gh-19690
5 years ago
Andy Wilkinson 30e9ba4659 Upgrade to Jakarta Validation 2.0.2
Closes gh-19687
5 years ago
Andy Wilkinson 4a76bc8b46 Cope with different exception messages in ValidationException failure analyzer
Fixes gh-19671
5 years ago
Stephane Nicoll 101fd14286 Merge branch '2.1.x' into 2.2.x
Closes gh-19685
5 years ago
Stephane Nicoll 8b8a4ee65e Polish "Make equality checks defensive to null reference"
See gh-19540
5 years ago
liuhuan 6d8b849361 Make equality checks defensive to null reference
See gh-19540
5 years ago
Stephane Nicoll 66755105ea Merge branch '2.1.x' into 2.2.x
Closes gh-19682
5 years ago
Dmytro Nosan b7e69890f3 Fix retrieval of parent logger in PoolingDataSourceBean
See gh-19637
5 years ago
Stephane Nicoll 0c7dae0d51 Remove duplicate note in Hazelcast section of reference guide
Closes gh-19678
5 years ago
Andy Wilkinson b23b69fea3 Upgrade to Reactor Californium-SR15
Closes gh-19640
5 years ago
Andy Wilkinson 6d16c7d860 Build against Spring Data Moore-SR4 snapshots
See gh-19648
5 years ago
Andy Wilkinson 3faf023da4 Build against Spring Integration 5.2.3 snapshots
See gh-19647
5 years ago
Andy Wilkinson 0509248bf7 Build against Spring AMQP 2.2.3 snapshots
See gh-19646
5 years ago
Andy Wilkinson 803a24d6f4 Build against Micrometer 1.3.3 snapshots
See gh-19645
5 years ago
Andy Wilkinson cedcbaccdb Build against Spring HATEOAS 1.0.3 snapshots
See gh-19644
5 years ago
Andy Wilkinson fbc958e4dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19643
5 years ago
Andy Wilkinson 5e14e33c94 Start building against Micrometer 1.1.10 snapshots
See gh-19639
5 years ago
Andy Wilkinson 2d995e740a Start building against Spring Data Lovelace-SR15 snapshots
See gh-19642
5 years ago
Andy Wilkinson bcaae99fa9 Start building against Spring AMQP 2.1.13 snapshots
See gh-19641
5 years ago
Andy Wilkinson d75a58d789 Start building against Reactor Californium-SR15 snapshots
See gh-19640
5 years ago
Andy Wilkinson 7fda317f0d Merge branch '2.1.x' into 2.2.x
Closes gh-19657
5 years ago
Andy Wilkinson 617ebaf3c0 Isolate Gradle Plugin build from other Gradle configuration
Closes gh-19656
5 years ago
dreis2211 9fe114ebad Update copyright in legal doc section
See gh-19621
5 years ago
Madhura Bhave 1fa83757ce Fix tests
See gh-19599
5 years ago
Madhura Bhave 139995469a Short circuit validation in bind handler if previous exception present
Closes gh-19599
5 years ago
Madhura Bhave 7f0573df49 Fallback on underlying server default when determining outcome tag
This commit also changed the default outcome to SUCCESS

Fixes gh-19367
5 years ago
Madhura Bhave a017b8905a Adapt field name in ValidationBindHandler to a valid ConfigurationPropertyName
Fixes gh-19580
5 years ago
Andy Wilkinson ccf4e1ad44 Merge branch '2.1.x' into 2.2.x
Closes gh-19591
5 years ago
dreis2211 2b06f17c69 Fix links to external types in javadoc
See gh-19581
5 years ago
Stephane Nicoll 99c64b7cdf Merge branch '2.1.x' into 2.2.x
Closes gh-19589
5 years ago
Matthias Stock adfbbcc0f6 Simplify validation pattern of EndpointId
See gh-19584
5 years ago
Madhura Bhave 437941cc51 Improve diagnostics when using `@ConstructorBinding` on a Kotlin class
Closes gh-19312
5 years ago
Andy Wilkinson 02965e9744 Fix javadoc warnings
Fixes gh-19572
5 years ago
Andy Wilkinson 6d8f07d899 Merge branch '2.1.x' into 2.2.x
Closes gh-19570
5 years ago
Andy Wilkinson bdffa860d9 Increase startup timeout for Docker containers
Closes gh-19569
5 years ago
Andy Wilkinson e04055650c Merge branch '2.1.x' into 2.2.x
Closes gh-19567
5 years ago
Andy Wilkinson 3fb1bb74ba Configure WebTestClient to be able to consume large responses
Closes gh-19566
5 years ago
Madhura Bhave 82dc7bcc90 HypermediaAutoConfiguration should back off when Spring MVC absent
Fixes gh-19392
5 years ago
Madhura Bhave 87dd11502a Refactor HypermediaAutoConfigurationTests 5 years ago
Madhura Bhave ac10ebba33 Fix checkstyle 5 years ago
Madhura Bhave 67fab60fbd Merge branch '2.1.x' into 2.2.x
Closes gh-19560
5 years ago
Scott Frederick 487b9cbf96 Add profiles directly to the application environment for tests
Prior to this commit, active profiles were being added to the Spring Boot
application environment by setting the `spring.profiles.active` property.
This could result in profiles getting parsed differently than other uses of `@ActiveProfiles`.
Setting the profiles directly in the `Environment` prevents this parsing.

See gh-19556
5 years ago
Andy Wilkinson c57359ea3b Merge branch '2.1.x' into 2.2.x
Closes gh-19553
5 years ago
Andy Wilkinson d46406fcb9 Remove loading of non-existent properties file from antlib
Fixes gh-19552
5 years ago
Brian Clozel 2f78c72f92 Avoid 406 Not Acceptable for error pages
Prior to this commit, the `ErrorController` would override the original
error response status if the error map cannot be written due to content
negotiation with the HTTP client. In that case, the error handling
infrastructure returns a `406 Not Acceptable` response.

This commit improves the `ErrorController` so that
`HttpMediaTypeNotAcceptableException` instances thrown by that
controller are not returned as is but instead we write the error
response with an empty body and the original HTTP error status.

Fixes gh-19545
See gh-19522
5 years ago
dreis2211 6ffe47cd06 Remove deprecated usage of WebTestClientBuilderCustomizer
See gh-19536
5 years ago
Rossen Stoyanchev f6947648c9 Improve Spring MVC auto-configuration section
See gh-19521
5 years ago
Madhura Bhave c12a3f4172 Support explicitly setting forward headers strategy to NONE
Prior to this commit, there was no distinction between explicitly setting
forward headers strategy to a value of NONE and not setting it at all.
This meant that in a cloud environment, a cloud provider was always checked
to see if it was active and using forward headers and there was no way to
prevent that.

This commit changes the default value of the property to null so that there
is a way to determine if the property was explicitly set to NONE.

Fixes gh-19333
5 years ago
Madhura Bhave 8e285a4387 Fix checkstyle 5 years ago
Madhura Bhave ac46f5971f Merge branch '2.1.x' into 2.2.x
Closes gh-19526
5 years ago
Madhura Bhave 24dd416f4b Add a test case for binding to map with wildcard types
This commit also changes the spring framework version
to use snapshots.

Closes gh-18767
5 years ago
Brian Clozel 1320c44a25 Use RBAC credentials for Couchbase cluster info
Prior to this commit, the Couchbase auto-configuration would use the
bucket credentials when RBAC is configured. This commit ensures that
RBAC is used in that case.

This commit also adds new configuration properties to customize the
bootstrap ports for Couchbase:

* `spring.couchbase.env.bootstrap.http-direct-port`
* `spring.couchbase.env.bootstrap.http-ssl-port`

Fixes gh-19393
5 years ago
Stephane Nicoll fd4829c2ea Merge branch '2.1.x' into 2.2.x
Closes gh-19515
5 years ago
dreis2211 9cbf5902dc Update some copyrights to 2020
See gh-19510
5 years ago
Geoffrey De Smet 493762a416 Add reference to OptaPlanner starter
See gh-19508
5 years ago
Stephane Nicoll 7d36599343 Polish "Fix outdated reference in ArtemisConfigurationCustomizer javadoc"
See gh-19503
5 years ago
Ochieng Olanga c6f7d12270 Fix outdated reference in ArtemisConfigurationCustomizer javadoc
See gh-19503
5 years ago
Stephane Nicoll a684ab8726 Merge branch '2.1.x' into 2.2.x
Closes gh-19498
5 years ago
Johnny Lim 27d7727d9f Polish doc
See gh-19491
5 years ago
Stephane Nicoll 1de30f0d00 Polish 5 years ago
Stephane Nicoll b7e6febaa0 Merge branch '2.1.x' into 2.2.x
Closes gh-19496
5 years ago
Zekariyas f005fffbc3 Fix typo in BindHandler#onFinish javadoc
See gh-19492
5 years ago
Stephane Nicoll 07a21ec601 Harmonize property visibility in Saml2RelyingPartyProperties
Closes gh-19194
5 years ago
Stephane Nicoll 85667ba165 Merge branch '2.1.x' into 2.2.x
See gh-19473
5 years ago
Stephane Nicoll c0f1aaebb6 Fix Tomcat's maxConnections default value
Closes gh-19472
5 years ago
Stephane Nicoll 6ea522a90a Merge branch '2.1.x' into 2.2.x
Closes gh-19473
5 years ago
Stephane Nicoll d75efad0de Upgrade to Tomcat 9.0.30
Closes gh-19472
5 years ago
Stephane Nicoll 6c016663fd Polish contribution
See gh-18711
5 years ago
Dmytro Nosan 1fb904acee Support commas embedded in command line arguments from Maven plugin
See gh-18711
5 years ago
Stephane Nicoll 4969ecc59a Polish contribution
See gh-19458
5 years ago
Girish Kulkarni 582a3b472d Fix file rotation documentation according to maxHistory new default
See gh-19458
5 years ago
Stephane Nicoll ee98855905 Merge branch '2.1.x' into 2.2.x
Closes gh-19453
5 years ago
Stephane Nicoll 5dc6491807 Clarify documentation of repackage mojo's attach property
Closes gh-19021
5 years ago
Stephane Nicoll 1a8a76082b Merge branch '2.1.x' into 2.2.x
Closes gh-19451
5 years ago
Stephane Nicoll 2db2daeddf Clarify which part of @ConfigurationProperties is internal API
Closes gh-19199
5 years ago
Stephane Nicoll aa54a47671 Merge branch '2.1.x' into 2.2.x
Closes gh-19448
5 years ago
Stephane Nicoll 8f9d9fa20e Clarify which caches are automatically bound to the metrics registry
See gh-19412
5 years ago
Johnny Lim e0840b690c Add JMX note for Kafka consumer metrics
See gh-19446
5 years ago
Stephane Nicoll c9bb17f444 Merge branch '2.1.x' into 2.2.x
Closes gh-19443
5 years ago
Stephane Nicoll c6dab447cd Fix visibility of inner classes of ServletWebServerFactoryConfiguration
Closes gh-19395
5 years ago
Stephane Nicoll 930a0ef748 Polish Spring Batch how-to guides
See gh-19211
5 years ago
Stephane Nicoll b3643965f0 Polish "Detect config props using builder pattern and generics"
See gh-19099
5 years ago
如梦技术 743f4a4cb1 Detect config props using builder pattern and generics
See gh-19099
5 years ago
Stephane Nicoll 5f987a67f8 Polish "Improve Spring Batch coverage in reference documentation"
See gh-19211
5 years ago
Jay Bryant 6bd9b2ebc6 Improve Spring Batch coverage in reference documentation
See gh-19211
5 years ago
Filip Hrisafov bb5c151ee0 Disable SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS by default
See gh-19352
5 years ago
Stephane Nicoll 2171e7a425 Merge branch '2.1.x' into 2.2.x
Closes gh-19433
5 years ago
Tadaya Tsuyukubo 294267d2e0 Fix typo on ConditionMessage
See gh-19354
5 years ago
Johnny Lim 0bf359f4a2 Polish
See gh-19409
5 years ago
dark 4f99c9f281 Remove unused import statement
See gh-19410
5 years ago
Brian Clozel 82391a406a Polish
See gh-19424
5 years ago
Ferdinand Jacobs 4555123b7d Fix typo in RSocket docs
See gh-19424
5 years ago
Andy Wilkinson ea00ab9919 Protect against NoSuchMethodError when deploying to old Tomcats
Fixes gh-19308
5 years ago
Andy Wilkinson 0e6932d550 Merge branch '2.1.x' into 2.2.x
Closes gh-19419
5 years ago
Andy Wilkinson 35b74185e4 Fix test ordering problems by always clearing URL stream handler factory
Closes gh-19349
5 years ago
Andy Wilkinson 8ed0b1a231 Merge branch '2.1.x' into 2.2.x
Closes gh-19417
5 years ago
Andy Wilkinson 3cadde0900 Protect against available port actually being unavailable
Closes gh-19355
5 years ago
Brian Clozel 979437398c Merge branch '2.1.x' into 2.2.x
Closes gh-19403
5 years ago
Brian Clozel 3e48e36e47 Improve docs on running apps behind proxies
Fixes gh-15046
5 years ago
Stephane Nicoll b515d6ba9a Merge pull request #19397 from aklish
* pr/19397:
  Add Elide as 3rd party Spring Boot Starter

Closes gh-19397
5 years ago
Aaron Klish 8b149dcea9 Add Elide as 3rd party Spring Boot Starter
See gh-19397
5 years ago
Johnny Lim 8bbc7f7b67 Remove duplicate entry for Neo4jHealthIndicator
See gh-19377
5 years ago
dreis2211 b6e4c0f012 Add group property to DynatraceProperties
See gh-19369
5 years ago
Phillip Webb 6d372f60d9 Merge branch '2.1.x' into 2.2.x 5 years ago
Phillip Webb 8e03982bca Fix checkstyle violation 5 years ago
Phillip Webb 26ff18f37d Merge branch '2.1.x' into 2.2.x 5 years ago
Phillip Webb accd830dd5 Update copyright header of changed files 5 years ago
Phillip Webb 9bdad06c10 Polish Netty SSL key alias support
See gh-19197
5 years ago
Stephane Nicoll c3ae8bcfdc Merge branch '2.1.x' into 2.2.x
Closes gh-19362
5 years ago
dreis2211 207a5c5022 Link consistently to Tomcat 9.0 docs
See gh-19340
5 years ago
Stephane Nicoll fc35384b03 Merge branch '2.1.x' into 2.2.x
Closes gh-19360
5 years ago
dreis2211 29b602d6a0 Fix link to Vaadin Spring Boot starter
See gh-19338
5 years ago
dreis2211 b1158bf35d Simplify some Stream API usages
See gh-19291
5 years ago
Phillip Webb f1c2d36793 Upgrade to Spring Batch 4.2.1
Closes gh-19073
5 years ago
Huluvu424242 95d6dff56f Document Nitrite starter in README
See gh-19196
5 years ago
Madhura Bhave ed571bab24 Merge branch '2.1.x' into 2.2.x
Closes gh-19313
5 years ago
dreis2211 20ff764756 Increase cache ttl in CachingOperationInvokerTests
See gh-19193
5 years ago
Andy Wilkinson 9b0569cf81 Merge branch '2.1.x' into 2.2.x
Closes gh-19309
5 years ago
Andy Wilkinson bc53fe0344 Recommend mockito-inline for mocking and spying of CGLib proxies
This reverts commit 52050c173c.

See gh-17817
Closes gh-19020
5 years ago
Andy Wilkinson 3c0e7ccba6 Merge branch '2.1.x' into 2.2.x
Closes gh-19304
5 years ago
Andy Wilkinson effdc8f359 Polish "Honour SSL key alias when using Netty"
See gh-19197
5 years ago
cbono eda7b7c3e6 Honour SSL key alias when using Netty
See gh-19197
5 years ago
Andy Wilkinson 758b80a0fe Merge branch '2.1.x' into 2.2.x
Closes gh-19299
5 years ago
luoyuan c6a184474c Remove redundant hasText check as query always has text
See gh-19290
5 years ago
tongluyang 95aad5b556 Add missing closing parenthesis to the document
See gh-19218
5 years ago
dreis2211 f190affa6b Upgrade to Testcontainers 1.12.4
See gh-19292
5 years ago
Andy Wilkinson 264d4f54ec Merge branch '2.1.x' into 2.2.x 5 years ago
Andy Wilkinson 38340522de Fix Asciidoc syntax 5 years ago
Andy Wilkinson 47b47c28a0 Reduce visibility of the Gradle plugin's test methods
See gh-19287
5 years ago
Andy Wilkinson a2451a4f29 Merge branch '2.1.x' into 2.2.x
Closes gh-19152
5 years ago
Andy Wilkinson b46bb726ca Clarify limitations of @PropertySource
Closes gh-18900
5 years ago
Madhura Bhave 2c4a1f1c15 Display @Validated constructor bound properties in configprops endpoint
Fixes gh-19219
5 years ago
Andy Wilkinson 05d460a974 Upgrade to Spring Integration 5.2.2.RELEASE
Closes gh-19070
5 years ago
Andy Wilkinson 2ab5089338 Upgrade to Spring Cloud Connectors 2.0.7.RELEASE
Closes gh-19247
5 years ago
Andy Wilkinson 89fbdb9fc0 Upgrade to Neo4j Ogm 3.2.3
Closes gh-19246
5 years ago
Andy Wilkinson fc2bb1d3ef Upgrade to Jetty El 8.5.49
Closes gh-19245
5 years ago
Andy Wilkinson 4cc1c6eb19 Upgrade to Liquibase 3.8.2
Closes gh-19244
5 years ago
Andy Wilkinson 197350c21e Upgrade to Kotlin 1.3.61
Closes gh-19243
5 years ago
Andy Wilkinson d3b3ee6a6a Upgrade to Aspectj 1.9.5
Closes gh-19242
5 years ago
Andy Wilkinson a8463ff538 Upgrade to Activemq 5.15.11
Closes gh-19241
5 years ago
Andy Wilkinson 0071e2be3f Upgrade to Byte Buddy 1.10.4
Closes gh-19240
5 years ago
Andy Wilkinson 255eb498c4 Upgrade to Netty Tcnative 2.0.28.Final
Closes gh-19239
5 years ago
Andy Wilkinson d2c5d971f2 Upgrade to Unboundid Ldapsdk 4.0.13
Closes gh-19238
5 years ago
Andy Wilkinson ca7ef3daec Upgrade to Couchbase Client 2.7.11
Closes gh-19237
5 years ago
Andy Wilkinson 3d35efb485 Upgrade to Spring Batch 4.1.3.RELEASE
Closes gh-19072
5 years ago
Andy Wilkinson 6a0ec7e1f4 Upgrade to Spring Data Lovelace-SR14
Closes gh-19068
5 years ago
Andy Wilkinson 72d3137941 Upgrade to Spring Cloud Connectors 2.0.7.RELEASE
Closes gh-19234
5 years ago
Andy Wilkinson 66639702be Upgrade to Jetty El 8.5.49
Closes gh-19233
5 years ago
Andy Wilkinson ff1d2ea381 Upgrade to Aspectj 1.9.5
Closes gh-19232
5 years ago
Andy Wilkinson 7ea088e5fb Upgrade to Activemq 5.15.11
Closes gh-19231
5 years ago
Andy Wilkinson cf80ad46e4 Upgrade to Netty Tcnative 2.0.28.Final
Closes gh-19230
5 years ago
Andy Wilkinson a2b06bbf45 Upgrade to Micrometer 1.1.9
Closes gh-19229
5 years ago
Andy Wilkinson 677f2bc80c Upgrade to Unboundid Ldapsdk 4.0.13
Closes gh-19228
5 years ago
Andy Wilkinson f451145d03 Upgrade to Couchbase Client 2.7.11
Closes gh-19227
5 years ago
Andy Wilkinson 278b5fcc7d Upgrade to Spring Hateoas 1.0.2.RELEASE
Closes gh-19223
5 years ago
Andy Wilkinson e6567a2410 Upgrade to Spring Amqp 2.2.2.RELEASE
Closes gh-19222
5 years ago
Andy Wilkinson bfb4c86801 Upgrade to Spring Data Moore-SR3
Closes gh-19069
5 years ago
Andy Wilkinson 4910ace6e5 Upgrade to Spring Kafka 2.3.4.RELEASE
Closes gh-19071
5 years ago
Madhura Bhave 68bc82cfc2 Ignore CannotLoadBeanClassException in config props validator
If the bean definition type contains a placeholder value, beanFactory.getType
can throw a CannotLoadBeanClassException. We can ignore this exception while
validating the bean definitions for constructor binding beans.

Fixes gh-19207
5 years ago
Madhura Bhave f4db8c89d4 Use generic type when binding constructor parameters
Fixes gh-19156
5 years ago
Brian Clozel 116699e295 Upgrade to Spring Framework 5.1.12.RELEASE
Closes gh-19051
5 years ago
Brian Clozel 3f798db9ed Upgrade to Spring Framework 5.2.2.RELEASE
Closes gh-19053
5 years ago
Madhura Bhave 5b461843db Merge branch '2.1.x' into 2.2.x
Closes gh-19209
5 years ago
Madhura Bhave fcc790aa15 Document how properties are applied in JPA auto-config
Closes gh-15361
5 years ago
Andy Wilkinson 189f74220c Merge branch '2.1.x' into 2.2.x
Closes gh-19190
5 years ago
Andy Wilkinson e8eace2d5b Polish "Fix Liquibase endpoint's output with multiple datasources"
See gh-19171
5 years ago
Leo Li 5302d91930 Fix Liquibase endpoint's output with multiple datasources
Previously, the endpoint used the same change log history service for
for each SpringLiquibase bean that it processed. This resulted in
pollution of the reported changes as the history of each bean was not
isolated.

This commit updates the endpoint to use a new history service for each
SpringLiquibase bean that is processed.

See gh-19171
5 years ago
dreis2211 aea37b5d81 Fix deprecation info in CompositeHealthIndicatorConfiguration
See gh-19180
5 years ago
Stephane Nicoll e02ccd16bb Merge branch '2.1.x' into 2.2.x
Closes gh-19177
5 years ago
Johnny Lim 3df9fa6228 Add missing indentations for pom.xml in doc
See gh-19170
5 years ago
Stephane Nicoll d8d7129f9d Upgrade to Reactor Dysprosium-SR2
Closes gh-19077
5 years ago
Stephane Nicoll e394772864 Upgrade to Reactor Californium-SR14
Closes gh-19052
5 years ago
Andy Wilkinson 76f03a8cad Fix reflective access to archiveBaseName property
Previously, reflective access to the archiveBaseName property
incorrectly treated the property as a String. It should have been
treated as a Property<String>. This caused an exception to be thrown
and the deprecated baseName property to be used as a fallback.

This commit corrects the reflective access to the archiveBaseName
property. It also updates the tests to fail if a build outputs a
deprecation warning. Tests that use Gradle's Maven plugin have been
updated to expect deprecation warnings when run with Gradle 6.0 where
the plugin is deprecated. Tests that configure an archive's base name
have been updated to use archiveBaseName when running with Gradle 6.0
and later.

Closes gh-18663
5 years ago
Johnny Lim f234d9c0ec Remove ConditionEvaluationReportLoggingListener usage if possible
See gh-19159
5 years ago
Stephane Nicoll ce16c9e945 Merge branch '2.1.x' into 2.2.x
Closes gh-19157
5 years ago
Stephane Nicoll 2356462587 Polish "Remove '.' and '-' reference in the EndpointId javadoc"
See gh-19101
5 years ago
Lars Grefer 58e599b6c1 Remove '.' and '-' reference in the EndpointId javadoc
Endpoint ID's which contain '-' or '.' cause a deprecation warning.
Therefore they shouldn't be doumented as valid characters.

See gh-19101
5 years ago
Andy Wilkinson f2bd27f4a3 Merge branch '2.1.x' into 2.2.x
See gh-19150
5 years ago
Andy Wilkinson f117dbe8a1 Add metadata for spring.main.log-startup.info
See gh-19026
5 years ago
Stephane Nicoll abe070051e Merge branch '2.1.x' into 2.2.x
Closes gh-19154
5 years ago
dreis2211 87caa0a331 Add missing health indicators to docs
See gh-19149
5 years ago
Madhura Bhave c10c9934dd Merge branch '2.1.x' into 2.2.x
Closes gh-19152
5 years ago
Madhura Bhave 53da8da50a Clarify contradictory advice on the use of `@PropertySource`
In general we do not recommend using @PropertySource due to them being
added to the environment too late for auto-configuration to use them. This
commit updates the documentation to mention them in the list of external
sources along with a note.

Closes gh-18900
5 years ago
Madhura Bhave d52935e103 Merge branch '2.1.x' into 2.2.x
Closes gh-19150
5 years ago
Madhura Bhave 49e111aef5 Document logging of startup info
Closes gh-19026
5 years ago
Madhura Bhave 51478cabcd Fix typo 5 years ago
Stephane Nicoll 75e8b49153 Upgrade to Maven Enforcer Plugin 3.0.0-M3
Closes gh-19140
5 years ago
Stephane Nicoll c4a646867e Upgrade to Liquibase 3.8.1
Closes gh-19139
5 years ago
Stephane Nicoll d746b7a47a Upgrade to Hibernate 5.4.9.Final
Closes gh-19138
5 years ago
Stephane Nicoll 2b0570ff10 Upgrade to Jaybird 3.0.8
Closes gh-19137
5 years ago
Stephane Nicoll 7a77474e89 Upgrade to Elasticsearch 6.8.5
Closes gh-19136
5 years ago
Stephane Nicoll 198879007b Upgrade to Jetty 9.4.24.v20191120
Closes gh-19135
5 years ago
Stephane Nicoll 5950cdda10 Upgrade to Tomcat 9.0.29
Closes gh-19134
5 years ago
Stephane Nicoll 93dd6e69a8 Upgrade to Johnzon Jsonb 1.2.2
Closes gh-19133
5 years ago
Stephane Nicoll 2a1cab4fad Upgrade to Byte Buddy 1.10.3
Closes gh-19132
5 years ago
Stephane Nicoll 7acb9f3c95 Upgrade to Undertow 2.0.28.Final
Closes gh-19131
5 years ago
Stephane Nicoll 0601aad5a7 Upgrade to Rxjava2 2.2.15
Closes gh-19130
5 years ago
Stephane Nicoll f7054d4a24 Upgrade to Netty Tcnative 2.0.27.Final
Closes gh-19129
5 years ago
Stephane Nicoll ddbd8c7eb5 Upgrade to Querydsl 4.2.2
Closes gh-19128
5 years ago
Stephane Nicoll cc29054c0b Upgrade to Appengine Sdk 1.9.77
Closes gh-19127
5 years ago
Stephane Nicoll 7374895507 Upgrade to Jackson 2.10.1
Closes gh-19126
5 years ago
Stephane Nicoll 901b8dab14 Upgrade to Couchbase Client 2.7.10
Closes gh-19125
5 years ago
Stephane Nicoll 01e0a27159 Upgrade to Maven Enforcer Plugin 3.0.0-M3
Closes gh-19124
5 years ago
Stephane Nicoll a1884d2c10 Upgrade to Hibernate 5.3.14.Final
Closes gh-19123
5 years ago
Stephane Nicoll 90acbb124a Upgrade to Jaybird 3.0.8
Closes gh-19122
5 years ago
Stephane Nicoll f83b08eb59 Upgrade to Jetty 9.4.24.v20191120
Closes gh-19121
5 years ago
Stephane Nicoll f64c6fc0c3 Upgrade to Tomcat 9.0.29
Closes gh-19120
5 years ago
Stephane Nicoll 4a76787c60 Upgrade to Undertow 2.0.28.Final
Closes gh-19119
5 years ago
Stephane Nicoll 1387067208 Upgrade to Rxjava2 2.2.15
Closes gh-19118
5 years ago
Stephane Nicoll ab6d163f73 Upgrade to Netty Tcnative 2.0.27.Final
Closes gh-19117
5 years ago
Stephane Nicoll 4868124371 Upgrade to Querydsl 4.2.2
Closes gh-19116
5 years ago
Stephane Nicoll 3a86a6922c Upgrade to Appengine Sdk 1.9.77
Closes gh-19115
5 years ago
Stephane Nicoll 49433ccef1 Upgrade to Couchbase Client 2.7.10
Closes gh-19114
5 years ago
Stephane Nicoll a4ca1d02b3 Merge branch '2.1.x' into 2.2.x
Closes gh-19112
5 years ago
Stephane Nicoll 5d8fe860d7 Polish "Use ssl.enabled flag when RabbitMQ address has no protocol"
There is a direct link between the sslEnabled flag and the default port
that should be used by an address. The checks are currently set in two
places:

* Determine which port should be used
* Determine if SSL should be enabled

This commit polishes the initial proposal so that secureConnection is
only set if a protocol is available.

See gh-19109
5 years ago
cbono 2210236f82 Use ssl.enabled flag when RabbitMQ address has no protocol
See gh-19109
5 years ago
thelproad 65ab82b3cd Remove redundant code
See gh-19000
5 years ago
Brian Clozel 0c5bb60384 Fix responseCommitted test in webflux error handling
This commit updates the `responseCommitted` after changes were made in
`WebTestClient` with spring-projects/spring-framework#24051.

Fixes gh-19083
5 years ago
Stephane Nicoll 58bfbb92b9 Merge branch '2.1.x' into 2.2.x
Closes gh-19091
5 years ago
Adam Michalik c154a014a1 Remove invalid example of spring.mvc.async.request-timout property
See gh-19057
5 years ago
dreis2211 0bdcd2ee67 Handle ApiVersion in CachingOperationInvoker
Prior to this commit, ApiVersion was treated as a mandatory parameter in
CachingOperationInvokerAdvisor and thus prevented the
CachingOperationInvoker to kick in. By skipping ApiVersion in the same
way we're skipping SecurityContext we can avoid this.

In order to not return the same cached response, this commit also
changes the cache handling in CachingOperationInvoker to account for
different ApiVersions being passed.

See gh-18961
5 years ago
dreis2211 347434ba81 Test the Gradle Plugin against Gradle 6.0.1
See gh-19065
5 years ago
Stephane Nicoll d8c64abdbb Merge branch '2.1.x' into 2.2.x
Closes gh-19086
5 years ago
Stephane Nicoll b23a3712c6 Polish "Fix logging in CloudFoundryVcapEnvironmentPostProcessor"
See gh-19027
5 years ago
Mark Bigler f1489e41ec Fix logging in CloudFoundryVcapEnvironmentPostProcessor
See gh-19027
5 years ago
Brian Clozel 9fe721d75c Temporarily ignore failing error web handler test
See gh-19083
5 years ago
Madhura Bhave 8ec3ca74e1 Fix loading of devtools yaml files
Fixes gh-19081
5 years ago
Stephane Nicoll 9c4136898d Start building against Spring Data Moore-SR3 snapshots
See gh-19069
5 years ago
Stephane Nicoll 511c75cbe8 Start building against Spring Framework 5.2.2 snapshots
See gh-19053
5 years ago
Stephane Nicoll 13f4e8a591 Start building against Reactor Dysprosium-SR2 snapshots
See gh-19054
5 years ago
Stephane Nicoll 3c3614d8ef Start building against Spring Batch 4.1.3 snapshots
See gh-19072
5 years ago
Stephane Nicoll 6fa5f0c1d0 Start building against Spring Data Lovelace-SR14 snapshots
See gh-19068
5 years ago
Stephane Nicoll 80eaa16b0d Start building against Spring Framework 5.1.12 snapshots
See gh-19051
5 years ago
Stephane Nicoll 586a5d2c14 Start building against Reactor Californium-SR14 snapshots
See gh-19068
5 years ago
Madhura Bhave 6e22ddc1a6 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 849a76c6c2 Polish 5 years ago
Madhura Bhave ff22bd4827 Merge branch '2.1.x' into 2.2.x
Closes gh-19059
5 years ago
Madhura Bhave a3a53d299f Check authorities when exposing health details
Fixes gh-18998
5 years ago
Stephane Nicoll a003a5c8ab Upgrade to Kotlin 1.3.60
Closes gh-19046
5 years ago
Stephane Nicoll 3d418263bc Merge branch '2.1.x' into 2.2.x
Closes gh-19032
5 years ago
dreis2211 355505d236 Fix syntax error in configuration metadata sample in docs
See gh-19028
5 years ago
Stephane Nicoll b842f16848 Polish "Use caps in docker file example for consistency"
See gh-19029
5 years ago
Dave Syer b95e8a4df6 Use caps in docker file example for consistency
See gh-19029
5 years ago
Madhura Bhave b6ff0b7c5f Support constructor binding on 3rd party classes
Closes gh-18935
5 years ago
Stephane Nicoll d08b436735 Polish "Improve Deploying to Containers section"
See gh-18932
5 years ago
Guillaume Lours 6cf05aeb50 Improve Deploying to Containers section
See gh-18932
5 years ago
Johnny Lim 96a029e44f Polish a test name
See gh-18999
5 years ago
Johnny Lim ddb22f5a52 Polish test methods
See gh-18962
5 years ago
dreis2211 6b500d82b4 Polish
See gh-18918
5 years ago
Stephane Nicoll 51487c7c45 Merge branch '2.1.x' into 2.2.x 5 years ago
Stephane Nicoll cad2365237 Polish 5 years ago
Andy Wilkinson 379ba0dc00 Support Gradle 6.0
Previously, our Gradle plugin was not tested against Gradle 6.0,
a number of deprecation warnings were output when using the plugin
with Gradle 6, and some functionality related to the application
plugin did not work as expected.

This commit tests the plugin against Gradle 6. It also avoids calling
deprecated APIs. The plugin is compatibile against Gradle 4.10 where
the deprecated APIs' replacements are not available so reflection is
used to call the replcaements. Lastly, the way in which the base name
of the boot distribution that is created when the application plugin
is applied has been modified to ensure that it is effective when using
Gradle 6.

Closes gh-18663
5 years ago
Madhura Bhave f9dc81558a Remove samples references from docs
Fixes gh-18904
5 years ago
Andy Wilkinson e715a5f689 Merge branch '2.1.x' into 2.2.x
Closes gh-18943
5 years ago
Andy Wilkinson 3f0367e2dd Apply changes recommended by Jetty team to JettyEmbeddedErrorHandler
Closes gh-18842
5 years ago
Andy Wilkinson fc3f6a930d Merge branch '2.1.x' into 2.2.x
Closes gh-18940
5 years ago
Andy Wilkinson 5765cfe010 Allow 5 seconds for child to handle SIGINT before destroying it
Previously, when RunProcess handled a SIGINT it would immediately
attempt to destroy the process that it had run. This created a race
condition between the SIGINT being handled by the child process
and RunProcess destroying the child. The exact behavior of destroy
is implementation dependent and it may result in forcible termination
of the process where shutdown hooks are not called. This is what
happens on Windows. The exit code in such a case is 1 which prevents
anything from waiting for the process to complete from detecting
that it ended as a result of a SIGINT, leaving it with no choice but
to report an error. This is what happens with mvn spring-boot:run
with a forked process on Windows and results in the build failing.

This commit updates RunProcess to allow the child process to handle
the SIGINT itself, waiting for up to five seconds for that to happen
before the process is then destroyed. Given this time, the child
process exits with 130 which RunMojo already handles correctly as
indicating that the process died due to SIGINT and the build completes
with success as a result.

Fixes gh-18936
5 years ago
Stephane Nicoll 08067fb816 Polish "Remove reference to ConfigurationPropertiesScan in javadoc"
See gh-18920
5 years ago
wonwoo 92b00255a1 Remove reference to ConfigurationPropertiesScan in javadoc
See gh-18920
5 years ago
Andy Wilkinson 0a8a0daff8 Merge branch '2.1.x'
Closes gh-18913
5 years ago
Andy Wilkinson a11661d284 Trim whitespace in BasicJsonParser
Previously, whitespace in between the keys and values in the JSON was
not trimmed correctly in BasicJsonParser which lead to it incorrectly
parsing JSON with whitespace between the opening of a list ([) and the
opening of a map ({).

This commit updates the parser to trim unwanted whitespace and adds a
test to AbstractJsonParserTests to verify the whitespace handling
behaviour across all JsonParser implementations.

Closes gh-18911
5 years ago
Andy Wilkinson dd4377e69c Merge branch '2.1.x'
Closes gh-18912
5 years ago
Andy Wilkinson d1ead884c4 Fix @ServletComponentScan with a component index
Previously @ServletComponentScan did not work when there was a
component index on the classpath as it made an assumption about
the concrete type of the BeanDefinitions produced by scanning that
does not hold true when an index is present.

This commit updates the scanning and the handlers to correct the
assumpution by working with a bean definition type that is produced
by scanning both when there is and when there is not an index present.

To prevent the problem from reoccuring, a test that uses and index
has been added and the import of ScannedGenericBeanDefinition is now
prohibited by Checkstyle.

Closes gh-18910
5 years ago
Stephane Nicoll 86a1c96224 Make sure health endpoint is available with no contributor
This commit makes sure that the health endpoint returns a default health
status when no contributors are available. Previously, it was returning
`null` which leads to a 404 when exposed via HTTP.

Closes gh-18676
5 years ago
Stephane Nicoll 684d7cfe38 Upgrade to Mongodb 3.11.2
Closes gh-18898
5 years ago
Stephane Nicoll c413e5b54e Upgrade to Hazelcast 3.11.5
Closes gh-18897
5 years ago
Johnny Lim ea51947741 Use try-with-resources blocks in JarFileArchiveTests
See gh-18883
5 years ago
Madhura Bhave 471ca01ccf Do not validate value object bean definion when singleton present
Prior to this commit constructor bound configuration properties could
not be mocked because it would fail validation from
ConfigurationPropertiesBeanDefinitionValidator. The MockitoPostProcessor
registers the mocked bean as a singleton and validation can be skipped if a
singleton for the type is found in the bean factory.

Fixes gh-18652
5 years ago
Madhura Bhave f9785d2bda Fix constructor binding issues
This commit fixes a few bugs related to constructor binding.
The ContructorFilter on the Bindable has been replaced with a
Binder level BinderConstructorProvider so that it can be used to
determine the constructor to use for nested properties as well.

Fixes gh-18810
Fixes gh-18670
Closes gh-18685
Closes gh-18894

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Phillip Webb 90e1046d53 Upgrade to Spring Kafka 2.3.3.RELEASE
Closes gh-18892
5 years ago
Andy Wilkinson f1af8c5510 Merge branch '2.1.x'
Closes gh-18889
5 years ago
Andy Wilkinson 59bc3c5602 Prevent recursive config props from causing a stack overflow
Previously, when the configuration properties annotation processor
encountered a property that was the same as an outer type that had
already been processed, it would fail with a stack overflow error.

This commit introduces the use of a stack to track the types that
have been processed. Types that have been seen before are skipped,
thereby preventing a failure from occurring. We do not fail upon
encountering a recursive type to allow metadata generation to
complete. At runtime, the recursive property will not cause a problem
if it is not bound.

Fixes gh-18365
5 years ago
Andy Wilkinson d8545bdead Merge branch '2.1.x'
Closes gh-18887
5 years ago
Andy Wilkinson 8b62f448ba Improve documentation on using Jersey alongside Spring MVC
Previously, the documentation did not provide any guidance on using
Jersey alongside Spring MVC or any other web framework.

This improves the documentation in two ways:

1. It notes that, in the presence of both Jersey and Spring MVC, the
   Actuator will prefer Spring MVC for exposing HTTP endpoints.
2. It adds a how-to describing how to configure Jersey to forward
   requests for which it has no handler on to the rest of the filter
   chain. When Spring MVC is the other framework, this allows them to
   be handled by its dispatcher servlet.

Closes gh-17523
5 years ago
Andy Wilkinson 571e4640de Merge branch '2.1.x'
Closes gh-18877
5 years ago
Andy Wilkinson bd06a91ac0 Recommend more overrides when using starter parent
This commit is a continuation of the work done in 987a5f81. In
addition to developers and licenses that are covered in the earlier
commit, a number of other settings are still inherited from the
starter parent. This commit updates the documentation to show them
being overridden as well.

Closes gh-18532
5 years ago
Stephane Nicoll d331f28222 Merge branch '2.1.x'
Closes gh-18885
5 years ago
dreis2211 1b2112ea8c Reduce method visibility in EndpointDiscovererTests
See gh-18884
5 years ago
Stephane Nicoll 4d1373c94d Polish "Support amqps:// URIs in spring.rabbitmq.addresses"
See gh-18808
5 years ago
Mark Pollack 0fedb24c6f Support amqps:// URIs in spring.rabbitmq.addresses
See gh-18808

Co-Authored-By: Bryan Kelly <xyloman@gmail.com>
5 years ago
Andy Wilkinson 49566edf6c Reduce visibility of test methods 5 years ago
Andy Wilkinson ce01f7f150 Merge branch '2.1.x'
Closes gh-18882
5 years ago
Andy Wilkinson ed50bf2494 Honour EndpointFilter configured on an endpoint's superclass
Previously, @EndpointFilter would only have an effect when used as
an annotation or meta-annotation on the endpoint class itself. It
would have no effect when used on a super-class of the endpoint
bean's class.

This commit updates EndpointDiscoverer so that an @EndpointFilter
annotation or meta-annotation on a super-class will be found and
applied to the discovery process. This is achieved by using find…
rather than get… when retrieving the attributes for the EndpointFilter
annotation.

Fixes gh-17866
5 years ago
Andy Wilkinson a65374b16b Merge branch '2.1.x'
Closes gh-18880
5 years ago
Andy Wilkinson cb76502a44 Document that JUL is not bridged into SLF4J when deployed to a container
Closes gh-16062
5 years ago
Andy Wilkinson 2c309c5d93 Merge branch '2.1.x'
Closes gh-18879
5 years ago
Andy Wilkinson 1c6f2af475 Clarify how to configure a Filter's order
Closes gh-18266
5 years ago
Andy Wilkinson 63dd159935 Merge branch '2.1.x'
Closes gh-18878
5 years ago
Andy Wilkinson 69a95ce5c1 Allow dependsOn relationships created by post-processor to be overridden
Previously, AbstractDependsOnBeanFactoryPostProcessor was unordered
which meant that it was impossible to guarantee that another bean
factory post-processor would run after it. This prevented overriding
of the dependsOn relationships that is creates.

This commit updates AbstractDependsOnBeanFactoryPostProcessor to give
it a default order of zero. This will allow additional bean factory
post-processors to be configured with a lower precedence order (values
greater than 0) so that they run after any
AbstractDependsOnBeanFactoryPostProcessor and can override the
dependencies that it has configured.

Fixes gh-18362
5 years ago
Andy Wilkinson abeafb325e Merge branch '2.1.x'
Closes gh-18877
5 years ago
Andy Wilkinson 987a5f8103 Recommend overriding licences and developers when using starter parent
Publishing to Maven Central requires spring-boot-starter-parent to
declare its license and developers. When a user then uses
spring-boot-starter-parent as their project's parent, these values
are inherited and this is almost certainly unwanted.

This commit updates the documentation to recommend and demonstrate
overriding the license and developers that are inherited from the
starter parent.

Closes gh-18532
5 years ago
Andy Wilkinson 36b1f65056 Merge branch '2.1.x'
Closes gh-18876
5 years ago
Andy Wilkinson 89e050d722 Document security risks of DevTools' remote support more clearly
Previously, the security risks and our recommendations on how to
mitigate them were not documented as clearly as they could have been.
This commit makes some changes to try to address this:

1. The security risk is now noted at the beginning of the section
2. The recommendation to use SSL is now documented more prominently
   and an alternative recommendation to only use remote support on
   a trusted network has been added.
3. The example secret has been removed to prevent copy and paste
4. A recommendation to use a secret that is unique and strong has been
   added

Closes gh-18825
5 years ago
dreis2211 689e02923f Remove non-existent FailureAnalyzer from spring.factories
See gh-18864
5 years ago
Stephane Nicoll da24a66ce6 Merge branch '2.1.x'
Closes gh-18875
5 years ago
Stephane Nicoll 5863a75c3c Polish "Document Settings as jooq supported auto-configuration type"
See gh-18870
5 years ago
Jens Teglhus Møller c34516cd9e Document Settings as jooq supported auto-configuration type
See gh-18870
5 years ago
Andy Wilkinson c2e11da5ba Upgrade to Spring Integration 5.2.1.RELEASE
Closes gh-18764
5 years ago
Andy Wilkinson de0e8b87d1 Upgrade to Spring Integration 5.1.9.RELEASE
Closes gh-18763
5 years ago
Andy Wilkinson 4b25339d57 Upgrade to Spring Security 5.1.7.RELEASE
Closes gh-18874
5 years ago
Andy Wilkinson c430035450 Upgrade to Spring Security 5.2.1
Closes gh-18869
5 years ago
Andy Wilkinson afbf256955 Upgrade to Micrometer 1.3.1
Closes gh-18867
5 years ago
Andy Wilkinson 377a8ee7cc Upgrade to Spring Kafka 2.3.2.RELEASE
Closes gh-18766
5 years ago