7546 Commits

Author SHA1 Message Date
Andy Wilkinson
30e9ba4659 Upgrade to Jakarta Validation 2.0.2
Closes gh-19687
2020-01-13 17:11:48 +00:00
Andy Wilkinson
4a76bc8b46 Cope with different exception messages in ValidationException failure analyzer
Fixes gh-19671
2020-01-13 17:11:11 +00:00
Stephane Nicoll
101fd14286 Merge branch '2.1.x' into 2.2.x
Closes gh-19685
2020-01-13 17:44:45 +01:00
Stephane Nicoll
8b8a4ee65e Polish "Make equality checks defensive to null reference"
See gh-19540
2020-01-13 17:38:38 +01:00
liuhuan
6d8b849361 Make equality checks defensive to null reference
See gh-19540
2020-01-13 17:38:26 +01:00
Stephane Nicoll
66755105ea Merge branch '2.1.x' into 2.2.x
Closes gh-19682
2020-01-13 17:21:24 +01:00
Dmytro Nosan
b7e69890f3 Fix retrieval of parent logger in PoolingDataSourceBean
See gh-19637
2020-01-13 17:16:57 +01:00
Stephane Nicoll
0c7dae0d51 Remove duplicate note in Hazelcast section of reference guide
Closes gh-19678
2020-01-13 17:00:28 +01:00
Andy Wilkinson
b23b69fea3 Upgrade to Reactor Californium-SR15
Closes gh-19640
2020-01-13 11:02:41 +00:00
Andy Wilkinson
6d16c7d860 Build against Spring Data Moore-SR4 snapshots
See gh-19648
2020-01-12 16:03:18 +00:00
Andy Wilkinson
3faf023da4 Build against Spring Integration 5.2.3 snapshots
See gh-19647
2020-01-12 16:03:18 +00:00
Andy Wilkinson
0509248bf7 Build against Spring AMQP 2.2.3 snapshots
See gh-19646
2020-01-12 16:03:05 +00:00
Andy Wilkinson
803a24d6f4 Build against Micrometer 1.3.3 snapshots
See gh-19645
2020-01-12 16:00:24 +00:00
Andy Wilkinson
cedcbaccdb Build against Spring HATEOAS 1.0.3 snapshots
See gh-19644
2020-01-12 15:59:48 +00:00
Andy Wilkinson
fbc958e4dd Build against Reactor Dysprosium-SR3 snapshots
See gh-19643
2020-01-12 15:59:00 +00:00
Andy Wilkinson
5e14e33c94 Start building against Micrometer 1.1.10 snapshots
See gh-19639
2020-01-12 10:44:01 +00:00
Andy Wilkinson
2d995e740a Start building against Spring Data Lovelace-SR15 snapshots
See gh-19642
2020-01-12 10:44:01 +00:00
Andy Wilkinson
bcaae99fa9 Start building against Spring AMQP 2.1.13 snapshots
See gh-19641
2020-01-12 10:44:01 +00:00
Andy Wilkinson
d75a58d789 Start building against Reactor Californium-SR15 snapshots
See gh-19640
2020-01-12 10:44:01 +00:00
Andy Wilkinson
7fda317f0d Merge branch '2.1.x' into 2.2.x
Closes gh-19657
2020-01-12 10:42:42 +00:00
Andy Wilkinson
617ebaf3c0 Isolate Gradle Plugin build from other Gradle configuration
Closes gh-19656
2020-01-12 10:41:38 +00:00
dreis2211
9fe114ebad Update copyright in legal doc section
See gh-19621
2020-01-11 10:25:17 +01:00
Madhura Bhave
1fa83757ce Fix tests
See gh-19599
2020-01-10 13:22:53 -08:00
Madhura Bhave
139995469a Short circuit validation in bind handler if previous exception present
Closes gh-19599
2020-01-10 13:00:14 -08:00
Madhura Bhave
7f0573df49 Fallback on underlying server default when determining outcome tag
This commit also changed the default outcome to SUCCESS

Fixes gh-19367
2020-01-09 17:55:35 -08:00
Madhura Bhave
a017b8905a Adapt field name in ValidationBindHandler to a valid ConfigurationPropertyName
Fixes gh-19580
2020-01-09 17:08:39 -08:00
Andy Wilkinson
ccf4e1ad44 Merge branch '2.1.x' into 2.2.x
Closes gh-19591
2020-01-09 08:59:48 +00:00
dreis2211
2b06f17c69 Fix links to external types in javadoc
See gh-19581
2020-01-09 08:59:25 +00:00
Stephane Nicoll
99c64b7cdf Merge branch '2.1.x' into 2.2.x
Closes gh-19589
2020-01-09 09:51:45 +01:00
Matthias Stock
adfbbcc0f6 Simplify validation pattern of EndpointId
See gh-19584
2020-01-09 09:42:31 +01:00
Madhura Bhave
437941cc51 Improve diagnostics when using @ConstructorBinding on a Kotlin class
Closes gh-19312
2020-01-08 13:53:47 -08:00
Andy Wilkinson
02965e9744 Fix javadoc warnings
Fixes gh-19572
2020-01-08 14:02:24 +00:00
Andy Wilkinson
6d8f07d899 Merge branch '2.1.x' into 2.2.x
Closes gh-19570
2020-01-08 11:42:56 +00:00
Andy Wilkinson
bdffa860d9 Increase startup timeout for Docker containers
Closes gh-19569
2020-01-08 11:39:36 +00:00
Andy Wilkinson
e04055650c Merge branch '2.1.x' into 2.2.x
Closes gh-19567
2020-01-08 11:15:29 +00:00
Andy Wilkinson
3fb1bb74ba Configure WebTestClient to be able to consume large responses
Closes gh-19566
2020-01-08 11:14:42 +00:00
Madhura Bhave
82dc7bcc90 HypermediaAutoConfiguration should back off when Spring MVC absent
Fixes gh-19392
2020-01-07 14:28:58 -08:00
Madhura Bhave
87dd11502a Refactor HypermediaAutoConfigurationTests 2020-01-07 14:28:09 -08:00
Madhura Bhave
ac10ebba33 Fix checkstyle 2020-01-07 13:49:02 -08:00
Madhura Bhave
67fab60fbd Merge branch '2.1.x' into 2.2.x
Closes gh-19560
2020-01-07 13:33:32 -08:00
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
2020-01-07 13:23:09 -08:00
Andy Wilkinson
c57359ea3b Merge branch '2.1.x' into 2.2.x
Closes gh-19553
2020-01-07 12:05:21 +00:00
Andy Wilkinson
d46406fcb9 Remove loading of non-existent properties file from antlib
Fixes gh-19552
2020-01-07 12:04:59 +00:00
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
2020-01-06 18:08:35 +01:00
dreis2211
6ffe47cd06 Remove deprecated usage of WebTestClientBuilderCustomizer
See gh-19536
2020-01-06 12:59:12 +01:00
Rossen Stoyanchev
f6947648c9 Improve Spring MVC auto-configuration section
See gh-19521
2020-01-04 11:37:01 +01:00
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
2020-01-03 14:19:48 -08:00
Madhura Bhave
8e285a4387 Fix checkstyle 2020-01-03 11:42:14 -08:00
Madhura Bhave
ac46f5971f Merge branch '2.1.x' into 2.2.x
Closes gh-19526
2020-01-03 11:19:21 -08:00
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
2020-01-03 11:13:41 -08:00