Stephane Nicoll
b97b0c1d7b
Merge branch '2.2.x'
...
Closes gh-19635
2020-01-11 10:36:27 +01:00
dreis2211
9fe114ebad
Update copyright in legal doc section
...
See gh-19621
2020-01-11 10:25:17 +01:00
Brian Clozel
e0171a5da8
Polish
2020-01-10 22:29:57 +01:00
Madhura Bhave
94ab996597
Merge branch '2.2.x'
2020-01-10 13:24:40 -08:00
Madhura Bhave
1fa83757ce
Fix tests
...
See gh-19599
2020-01-10 13:22:53 -08:00
Brian Clozel
0f567c879d
Auto-configure HTTP client builders as Lazy
...
Prior to this commit, HTTP client builders auto-configured by Spring
Boot would be eagerly instantiating resources, even if those were not
used by the application.
This commit makes the `RestTemplateBuilder` bean as Lazy.
`WebClient.Builder` was already a prototype bean, but some of its
dependencies could consume resources, like the `HttpClientConnector` and
the related infrastructure. This commit makes those pieces lazy.
Note that since those components are meant to help instantiate actual
HTTP clients for application components, making them lazy won't make any
difference at runtime since they'll be used during context refresh, or
they won't be used at all.
Closes gh-19549
2020-01-10 22:15:29 +01:00
Madhura Bhave
d510a7bd80
Merge branch '2.2.x'
...
Closes gh-19622
2020-01-10 13:01:54 -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
Andy Wilkinson
b5ae8b0af5
Disable tests that use Docker when Docker is unavailable
...
Closes gh-19616
2020-01-10 20:35:18 +00:00
Andy Wilkinson
f6e9869156
Use version property to set Boot's version in dependencies bom
...
See gh-19608
See gh-19609
2020-01-10 15:07:47 +00:00
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Madhura Bhave
abe95fa8a7
Merge branch '2.2.x'
...
Closes gh-19600
2020-01-09 17:57:39 -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
ed4261a61c
Merge branch '2.2.x'
...
Closes gh-19598
2020-01-09 17:10:24 -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
c584334f5e
Merge branch '2.2.x'
...
Closes gh-19592
2020-01-09 09:00:16 +00: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
7d6f4a6666
Merge branch '2.2.x'
...
Closes gh-19590
2020-01-09 09:52:22 +01: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
6d0b4351f4
Merge branch '2.2.x'
...
Closes gh-19582
2020-01-08 13:54:13 -08:00
Madhura Bhave
437941cc51
Improve diagnostics when using `@ConstructorBinding` on a Kotlin class
...
Closes gh-19312
2020-01-08 13:53:47 -08:00
dreis2211
34419eda38
Add micrometer-registry-stackdriver dependency for javadoc generation
...
See gh-19578
2020-01-08 17:47:21 +00:00
Stephane Nicoll
79da3b6e2c
Remove support for Jetty 9.4.21 and earlier
...
Closes gh-18692
2020-01-08 15:40:01 +01:00
Andy Wilkinson
4efd8ba587
Merge branch '2.2.x'
...
Closes gh-19574
2020-01-08 14:02:50 +00:00
Andy Wilkinson
02965e9744
Fix javadoc warnings
...
Fixes gh-19572
2020-01-08 14:02:24 +00:00
Stephane Nicoll
e5c1f3133a
Harmonize cassandra tests
2020-01-08 14:57:52 +01:00
Stephane Nicoll
6ced89490c
Polish
2020-01-08 14:34:33 +01:00
Stephane Nicoll
bc066d279b
Polish cassandra tests
...
See gh-18019
2020-01-08 14:22:48 +01:00
Stephane Nicoll
462442e7d2
Polish "Add Stackdriver metrics export support"
...
See gh-19528
2020-01-08 13:35:44 +01:00
Johannes Graf
d42256d856
Add Stackdriver metrics export support
...
See gh-19528
2020-01-08 13:32:27 +01:00
Andy Wilkinson
10ba17c390
Merge branch '2.2.x'
...
Closes gh-19571
2020-01-08 11:44:40 +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
cbacb6116b
Merge branch '2.2.x'
...
Closes gh-19568
2020-01-08 11:15:59 +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
c9ad3564d9
Merge branch '2.2.x'
...
Closes gh-19562
2020-01-07 14:29:45 -08: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
6944e52052
Merge branch '2.2.x'
2020-01-07 13:49:43 -08:00
Madhura Bhave
ac10ebba33
Fix checkstyle
2020-01-07 13:49:02 -08:00
Madhura Bhave
c82d728c93
Merge branch '2.2.x'
...
Closes gh-19561
2020-01-07 13:34:43 -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
30c124f549
Merge branch '2.2.x'
...
Closes gh-19554
2020-01-07 12:06:07 +00: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