Commit Graph

9265 Commits (6a1f61c1bf847179c432b0b8acb814e2c4b6dab4)

Author SHA1 Message Date
Phillip Webb 6a1f61c1bf Merge branch '2.2.x' 5 years ago
Phillip Webb daed512076 Restore getUseRelativeRedirects in deprecated form
Restore the `getUseRelativeRedirects` method with a `Boolean` object
result and introduce `isUseRelativeRedirects` for the primitive boolean
variant.

See gh-20796
5 years ago
Phillip Webb 5157a75119 Polish 5 years ago
Andy Wilkinson 9be7fa8e1f Upgrade to XMLUnit 2.7.0
Closes gh-21419
5 years ago
Andy Wilkinson 8b6cdbb977 Deregister JDBC drivers when deployed war's ServletContext is destroyed
Closes gh-21221
5 years ago
Andy Wilkinson 9e569cf1b0 Remove non-user-facing packages from the javadoc
Closes gh-20517
5 years ago
dreis2211 1c7f2d6ea6 Upgrade to Testcontainers 1.14.1
See gh-21378
5 years ago
Andy Wilkinson 0ef7f909b8 Disable generation of Gradle metadata for spring-boot-dependencies
Gradle's metadata for a platform does not provide a way to define
exclusions in the same way that can be done in <dependencyManagement>
in a Mavne bom. This means that Gradle 6 users lose the exclusions
that are defined in the pom as Gradle 6 will use the metadata rather
than the pom.

Until such a time as Gradle's metadata supports the configuration of
such exclusions we can avoid the problem by disabling the metadata's
publication.

Fixes gh-21350
5 years ago
Andy Wilkinson 4169724b86 Disable test that is flaky due to Reactor Netty problem
See gh-21437
5 years ago
Stephane Nicoll a5f826fc78 Fix typo 5 years ago
Stephane Nicoll f43419054d Include all deprecated properties in migration report
This commit expands the migration check to all deprecated properties,
not only the ones that have been effectively removed. This provides more
information upfront, including keys that still work in the current
release but will need to be renamed sooner than later anyway.

Closes gh-21425
5 years ago
Stephane Nicoll 786dae5d9a Use "release notes" in message as it is more generic 5 years ago
Stephane Nicoll 23c5549832 Polish 5 years ago
Andy Wilkinson a03426af57 Configure the Asciidoctor revnumber in a central location
See gh-20934
5 years ago
Phillip Webb 0607af870d Improve ConfigurationPropertySource performance
Further improve the performance of `containsDescendantOf` by using
a Map to limit the number of candidates that need checking.

Closes gh-21416
5 years ago
Phillip Webb 4af6e7ff99 Improve ConfigurationPropertySource performance
Attempt to improve the performance of the `ConfigurationPropertySource`
adapters `containsDescendantOf` method. The method now operates on
arrays rather than iterators and reduces the inner for-loop when
possible.

See gh-21416
5 years ago
Madhura Bhave 376098d080 Set asciidoctor revnumber to null
Closes gh-20934
5 years ago
Andy Wilkinson 4c4097a29b Address flakiness in TomcatServletWebServerFactoryTests 5 years ago
Andy Wilkinson 8cf56069d2 Allow more time for shutdown result callback to be received
5 seconds isn't always sufficient, particularly on CI where the timing
can be quite variable.
5 years ago
Scott Frederick 90ce472252 Support local socket path in DOCKER_HOST
Prior to this commit, if a DOCKER_HOST environment variable was present
when attempting to communicate with a Docker daemon, it was assumed
that the value of that variable was an address that could be used to
create an HTTP connection to a remote daemon. In some cases, the value
of the variable is the path to a local socket file, which would cause
the HTTP connection to fail.

This commit adds additional validation of the value of the DOCKER_HOST
environment variable to determine whether it is a remote address or
a local socket file and create the appropriate connection type.

Fixes gh-21173
5 years ago
Andy Wilkinson 86e6ec04b2 Fix hang caused by race condition in test for reset of kept-alive connection
Previously, a race between the server starting to reject requests
on a kept-alive connection and the request reaching the blocking
servlet could result in a response never being sent.

This commit updates the test to disable blocking once graceful
shutdown with an in-flight request has being. Awaitility is then used
to make a request on an idle kept-alive connection until it fails
due to the connection reset. This may not happen immediately due to
the aforementioned race.
5 years ago
Madhura Bhave 453ca01338 Merge branch '2.2.x'
Closes gh-21429
5 years ago
Madhura Bhave 7b79029949 Expose property to configure OAuth2 provider configurationMetadata
Closes gh-21375
5 years ago
Andy Wilkinson 0bb687717c Auto-configure a lifecycle processor with configurable timeout
Closes gh-21347
5 years ago
Andy Wilkinson 240898121f Use SmartLifecycle for graceful web server shutdown
Closes gh-21325
5 years ago
Andy Wilkinson c42571ba40 Consolidate Undertow WebServers and simplify their constructors
Closes gh-21391

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
5 years ago
Scott Frederick 0d00947735 Closes gh-21428 5 years ago
Scott Frederick 6b8d08a6e3 Handle exceptions in management context
Prior to this commit, details about an exception would get dropped when
the management context was separate from the application context and
an actuator endpoint threw a binding exception.

This commit adds some logic to capture the exception so the management
context error handlers can add the appropriate attributes to the error
response.

Fixes gh-21036
5 years ago
Johnny Lim 6022d4cac7 Fix ClientHttpConnectorConfigurationTests.shouldApplyHttpClientMapper()
See gh-21390
5 years ago
Stephane Nicoll deb2322457 Remove wrong replacement key in deprecated metadata 5 years ago
Brian Clozel 7787fd94f3 Merge remote-tracking branch 'origin/2.2.x'
Closes gh-21422
5 years ago
Brian Clozel 3c666ac4c8 Upgrade to RSocket 1.0.0
Closes gh-21421
5 years ago
Stephane Nicoll 8cc2e32482 Upgrade to Spring Data Neumann-RELEASE
Closes gh-21383
5 years ago
Stephane Nicoll b6b0452d5f Upgrade to Spring HATEOAS 1.1.0.RELEASE
Closes gh-21384
5 years ago
Stephane Nicoll a6efe77a0c Polish "Calculate hashCode only once in ConfigurationPropertyName"
See gh-21394
5 years ago
Stephane Nicoll dd053074f8 Polish "Calculate hashCode only once in ConfigurationPropertyName"
See gh-21394
5 years ago
dreis2211 c9f6a126b7 Calculate hashCode only once in ConfigurationPropertyName
See gh-21394
5 years ago
Richard North aed4f58403 Fix capitalization of Testcontainers in Howto docs
See gh-21417
5 years ago
Stephane Nicoll 8c4f185b98 Remove outdated metadata for spring.data.cassandra.port
Closes gh-21418
5 years ago
Stephane Nicoll cfe3187c96 Upgrade to Tomcat 9.0.35
Closes gh-21415
5 years ago
Stephane Nicoll 8568e0bda2 Upgrade to SQLite JDBC 3.31.1
Closes gh-21414
5 years ago
Stephane Nicoll 11ff36686f Upgrade to Selenium HtmlUnit 2.40.0
Closes gh-21413
5 years ago
Stephane Nicoll 5411274eba Upgrade to Prometheus PushGateway 0.9.0
Closes gh-21412
5 years ago
Stephane Nicoll 6566eb0e20 Upgrade to MongoDB 4.0.3
Closes gh-21411
5 years ago
Stephane Nicoll f571ced0f8 Upgrade to Micrometer 1.5.1
Closes gh-21410
5 years ago
Stephane Nicoll 3556ed4487 Upgrade to Maven Assembly Plugin 3.3.0
Closes gh-21409
5 years ago
Stephane Nicoll dd13c226b5 Upgrade to Kotlin Coroutines 1.3.6
Closes gh-21408
5 years ago
Stephane Nicoll 74a70c8200 Upgrade to jOOQ 3.13.2
Closes gh-21407
5 years ago
Stephane Nicoll 77c6a605db Upgrade to Johnzon 1.2.5
Closes gh-21406
5 years ago
Stephane Nicoll a99f831ec7 Upgrade to Jedis 3.3.0
Closes gh-21405
5 years ago