Commit Graph

26617 Commits

Author SHA1 Message Date
Madhura Bhave
376098d080 Set asciidoctor revnumber to null
Closes gh-20934
2020-05-12 14:58:38 -07:00
Andy Wilkinson
4c4097a29b Address flakiness in TomcatServletWebServerFactoryTests 2020-05-12 22:41:56 +01:00
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.
2020-05-12 22:25:41 +01:00
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
2020-05-12 16:11:27 -05:00
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.
2020-05-12 22:10:23 +01:00
Madhura Bhave
453ca01338 Merge branch '2.2.x'
Closes gh-21429
2020-05-12 13:43:17 -07:00
Madhura Bhave
7b79029949 Expose property to configure OAuth2 provider configurationMetadata
Closes gh-21375
2020-05-12 13:42:03 -07:00
Andy Wilkinson
0bb687717c Auto-configure a lifecycle processor with configurable timeout
Closes gh-21347
2020-05-12 19:59:52 +01:00
Andy Wilkinson
240898121f Use SmartLifecycle for graceful web server shutdown
Closes gh-21325
2020-05-12 19:59:52 +01:00
Andy Wilkinson
c42571ba40 Consolidate Undertow WebServers and simplify their constructors
Closes gh-21391

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2020-05-12 19:59:52 +01:00
Scott Frederick
0d00947735 Closes gh-21428 2020-05-12 13:50:16 -05:00
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
2020-05-12 11:44:28 -05:00
Stephane Nicoll
64aac04862 Merge pull request #21390 from izeye
* pr/21390:
  Fix ClientHttpConnectorConfigurationTests.shouldApplyHttpClientMapper()

Closes gh-21390
2020-05-12 17:17:23 +02:00
Johnny Lim
6022d4cac7 Fix ClientHttpConnectorConfigurationTests.shouldApplyHttpClientMapper()
See gh-21390
2020-05-12 17:13:27 +02:00
Stephane Nicoll
deb2322457 Remove wrong replacement key in deprecated metadata 2020-05-12 15:37:50 +02:00
Brian Clozel
7787fd94f3 Merge remote-tracking branch 'origin/2.2.x'
Closes gh-21422
2020-05-12 14:47:03 +02:00
Brian Clozel
3c666ac4c8 Upgrade to RSocket 1.0.0
Closes gh-21421
2020-05-12 14:44:35 +02:00
Stephane Nicoll
8cc2e32482 Upgrade to Spring Data Neumann-RELEASE
Closes gh-21383
2020-05-12 14:03:24 +02:00
Stephane Nicoll
b6b0452d5f Upgrade to Spring HATEOAS 1.1.0.RELEASE
Closes gh-21384
2020-05-12 14:02:25 +02:00
Stephane Nicoll
a6efe77a0c Polish "Calculate hashCode only once in ConfigurationPropertyName"
See gh-21394
2020-05-12 13:10:03 +02:00
Stephane Nicoll
46f353461b Merge pull request #21394 from dreis2211
* pr/21394:
  Polish "Calculate hashCode only once in ConfigurationPropertyName"
  Calculate hashCode only once in ConfigurationPropertyName

Closes gh-21394
2020-05-12 10:16:18 +02:00
Stephane Nicoll
dd053074f8 Polish "Calculate hashCode only once in ConfigurationPropertyName"
See gh-21394
2020-05-12 10:05:32 +02:00
dreis2211
c9f6a126b7 Calculate hashCode only once in ConfigurationPropertyName
See gh-21394
2020-05-12 10:02:45 +02:00
Stephane Nicoll
df25603bc9 Merge pull request #21417 from rnorth
* pr/21417:
  Fix capitalization of Testcontainers in Howto docs

Closes gh-21417
2020-05-12 10:02:07 +02:00
Richard North
aed4f58403 Fix capitalization of Testcontainers in Howto docs
See gh-21417
2020-05-12 10:01:06 +02:00
Stephane Nicoll
8c4f185b98 Remove outdated metadata for spring.data.cassandra.port
Closes gh-21418
2020-05-12 09:56:49 +02:00
Stephane Nicoll
cfe3187c96 Upgrade to Tomcat 9.0.35
Closes gh-21415
2020-05-12 08:55:13 +02:00
Stephane Nicoll
8568e0bda2 Upgrade to SQLite JDBC 3.31.1
Closes gh-21414
2020-05-12 08:55:12 +02:00
Stephane Nicoll
11ff36686f Upgrade to Selenium HtmlUnit 2.40.0
Closes gh-21413
2020-05-12 08:55:11 +02:00
Stephane Nicoll
5411274eba Upgrade to Prometheus PushGateway 0.9.0
Closes gh-21412
2020-05-12 08:55:09 +02:00
Stephane Nicoll
6566eb0e20 Upgrade to MongoDB 4.0.3
Closes gh-21411
2020-05-12 08:55:08 +02:00
Stephane Nicoll
f571ced0f8 Upgrade to Micrometer 1.5.1
Closes gh-21410
2020-05-12 08:55:07 +02:00
Stephane Nicoll
3556ed4487 Upgrade to Maven Assembly Plugin 3.3.0
Closes gh-21409
2020-05-12 08:55:05 +02:00
Stephane Nicoll
dd13c226b5 Upgrade to Kotlin Coroutines 1.3.6
Closes gh-21408
2020-05-12 08:55:04 +02:00
Stephane Nicoll
74a70c8200 Upgrade to jOOQ 3.13.2
Closes gh-21407
2020-05-12 08:55:03 +02:00
Stephane Nicoll
77c6a605db Upgrade to Johnzon 1.2.5
Closes gh-21406
2020-05-12 08:55:02 +02:00
Stephane Nicoll
a99f831ec7 Upgrade to Jedis 3.3.0
Closes gh-21405
2020-05-12 08:55:00 +02:00
Stephane Nicoll
ea0425dc83 Upgrade to Infinispan 10.1.8.Final
Closes gh-21404
2020-05-12 08:54:59 +02:00
Stephane Nicoll
1f67be0248 Upgrade to HtmlUnit 2.40.0
Closes gh-21403
2020-05-12 08:54:58 +02:00
Stephane Nicoll
8e0d8f48e4 Upgrade to HikariCP 3.4.5
Closes gh-21402
2020-05-12 08:54:57 +02:00
Stephane Nicoll
292e782385 Upgrade to Hibernate Validator 6.1.5.Final
Closes gh-21401
2020-05-12 08:54:56 +02:00
Stephane Nicoll
5341fe889f Upgrade to Hibernate 5.4.15.Final
Closes gh-21400
2020-05-12 08:54:54 +02:00
Stephane Nicoll
77782aa629 Upgrade to Dropwizard Metrics 4.1.7
Closes gh-21399
2020-05-12 08:54:53 +02:00
Stephane Nicoll
294bd0d2fb Upgrade to Couchbase Client 3.0.4
Closes gh-21398
2020-05-12 08:54:52 +02:00
Stephane Nicoll
e9bf2148ce Upgrade to Cassandra Driver 4.6.1
Closes gh-21397
2020-05-12 08:54:51 +02:00
Stephane Nicoll
38a0a6b7de Upgrade to AssertJ 3.16.1
Closes gh-21396
2020-05-12 08:54:50 +02:00
Madhura Bhave
3e3ff26129 Add a testcontainers section in the reference docs
Closes gh-20734
2020-05-11 19:07:47 -07:00
Madhura Bhave
7468f574d7 Add more context to the Kubernetes container lifecycle documentation
Closes gh-20932
2020-05-11 18:38:49 -07:00
Madhura Bhave
a4254f7b30 Document that graceful shutdown requires Tomcat 9.0.33
Closes gh-20886
2020-05-11 18:14:43 -07:00
Scott Frederick
158933c3e5 Improve API of ErrorAttributes and DefaultErrorAttributes
This commit improves the backward-compatibility of the ErrorAttributes
interfaces by providing a default implementation of a new method. It
also encapsulates several parameters that control the inclusion or
exclusion of error attributes into a new ErrorAttributeOptions type to
make it easier and less intrusive to add additional options in the
future. This encapsulation also makes the handling of the
includeException option more similar to other options.

Fixes gh-21324
2020-05-11 15:36:24 -05:00