1753 Commits

Author SHA1 Message Date
Phillip Webb
6fb4fba43a Merge branch '1.5.x' 2018-04-04 12:17:57 -07:00
Andy Wilkinson
aa27334671 Run deployment tests on JDK 9 and 10 where possible
Closes gh-10414
2018-04-04 14:48:58 +01:00
Andy Wilkinson
e44bfbea4a Merge branch '1.5.x' 2018-04-04 14:15:52 +01:00
Andy Wilkinson
7b39cdd5c4 Merge branch '1.5.x' 2018-04-04 13:49:18 +01:00
Andy Wilkinson
b951397a7c Upgrade to Spring REST Docs 2.0.1.RELEASE
Closes gh-12681
2018-04-04 12:50:37 +01:00
Brian Clozel
f6d16c8b99 Align WebFluxTags uri support on WebMvcTags
This commit ensures that `WebFluxTags` not only relies on
`BEST_MATCHING_PATTERN_ATTRIBUTE` or request URI to provide the "uri"
tag information.

To avoid cardinality explosion, HTTP not found and redirects are
assigned fixed uri tags.

Closes gh-12685
2018-04-04 11:46:10 +02:00
Stephane Nicoll
ad6a888e47 Polish 2018-04-04 11:29:37 +02:00
Stephane Nicoll
f99752283f Fix relaxed binding examples
Closes gh-12750
2018-04-04 11:29:18 +02:00
Stephane Nicoll
bf06854218 Merge branch '1.5.x' 2018-04-04 11:24:20 +02:00
Madhura Bhave
30e3cf4c01 Make sure property mapping exception are swallowed 2018-04-03 16:12:24 -07:00
Madhura Bhave
e5f8078749 Support dots in System environment properties
Fixes gh-12728
2018-04-03 14:37:06 -07:00
Stephane Nicoll
d14cd2cbae Upgrade to Spring Framework 5.0.5.RELEASE
Closes gh-12340
2018-04-03 23:00:25 +02:00
Stephane Nicoll
f424297fef Upgrade to Reactor Bismuth SR8
Closes gh-12698
2018-04-03 22:59:43 +02:00
Andy Wilkinson
195a66f009 Upgrade to Hibernate Validator 6.0.9.Final
Closes gh-12746
2018-04-03 16:05:11 +01:00
Andy Wilkinson
d5caddf4ca Upgrade to Rxjava 1.3.8
Closes gh-12745
2018-04-03 16:05:10 +01:00
Andy Wilkinson
16f5f8d53c Upgrade to Lettuce 5.0.3.RELEASE
Closes gh-12744
2018-04-03 16:05:09 +01:00
Andy Wilkinson
e20fcf0e17 Merge branch '1.5.x' 2018-04-03 16:01:29 +01:00
Rui Figueira
958aa5db55 Remove outdated reference to EnvironmentTestUtils
Documentation still refers to the now deprecated `EnvironmentTestUtils`
class instead of `TestPropertyValues` for setting environment values in
tests.

This commit replaces it with `TestPropertyValues` and provides an
equivalent code example.

Closes gh-12711
2018-04-03 14:10:35 +02:00
Andy Wilkinson
72cf471e83 Merge branch '1.5.x' 2018-04-03 10:55:06 +01:00
Stephane Nicoll
b6f9b46be8 Only create a WebTestClient with WebFlux
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.

Closes gh-12318
2018-04-03 11:31:37 +02:00
Stephane Nicoll
7dbeaaa932 Polish "Remove HierarchicalNameMapper as a configured @Bean"
Closes gh-12683
2018-04-03 11:23:05 +02:00
Jon Schneider
8572a091b8 Remove HierarchicalNameMapper as a configured @Bean
HierarchicalNameMapper is not a component that can be shared amongst
multiple monitoring systems.

See gh-12683
2018-04-03 11:14:43 +02:00
Stephane Nicoll
7c36c00331 Fix default HierarchicalNameMapper implementation for Graphite
Closes gh-12557
2018-04-03 10:39:14 +02:00
Johnny Lim
4ab439856c Remove destroyMethod attribute in @Bean for MeterRegistry
Closes gh-12725
2018-04-03 10:14:13 +02:00
Andy Wilkinson
3568019118 Merge branch '1.5.x' 2018-04-03 09:07:38 +01:00
Attila Pápai
95385cecba Add space between right parentheses and next word
Closes gh-12722
2018-04-03 10:05:32 +02:00
Benjamin Graf
101a42c572 Fix outdated import statements
Closes gh-12697
2018-04-03 09:58:15 +02:00
Madhura Bhave
8e81f0c23d Fix conditions report message for same short name
If two auto-configuration classes with the same name are present,
the conditions report message now uses the fully qualified name for
both instead of the short name.

Fixes gh-11710
2018-04-02 12:57:28 -07:00
Madhura Bhave
270ee6dd2c Configure RequestContextFilter in mgmt context
Closes gh-12546
2018-04-02 11:16:46 -07:00
Phillip Webb
a657a28f58 Fix properties unicode value decoding
Fix a range error when checking for unicode hex chars.

Fixes gh-12716
2018-04-02 10:12:42 -07:00
Phillip Webb
47a56616ae Merge branch '1.5.x' 2018-04-02 09:51:03 -07:00
Stephane Nicoll
c90806477c Fix outdated reference to DurationUnit
Closes gh-12708
2018-04-02 16:06:03 +02:00
Madhura Bhave
821af30277 Add missing javadoc for Bindable
Closes gh-12643
2018-03-30 12:48:15 -07:00
Andy Wilkinson
f108224b22 Start building against Spring Data Kay SR6 snapshots
See gh-12696
2018-03-30 08:38:22 +01:00
Andy Wilkinson
24da1dc97e Start building against Spring Security 5.0.4 snapshots
See gh-12694
2018-03-30 08:34:13 +01:00
Andy Wilkinson
29c03da7df Start building against Spring Integration 5.0.4 snapshots
See gh-12693
2018-03-30 08:30:45 +01:00
Phillip Webb
7649eb6230 Allow auto-configure sort with incomplete chain
Update `AutoConfigurationSorter` so that all `@AutoConfigureBefore` and
`@AutoConfigureAfter` classes are considered even if they are ultimately
not part of the requested set.

Prior to this commit, given classes ordered with annotations such that
A -> B -> C a call to sort only [A, B] could return the incorrect order.

Fixes gh-12660
2018-03-29 18:00:38 -07:00
Stephane Nicoll
4b4a8acb9d Group auto-configuration import selectors together
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.

Closes gh-12366
2018-03-29 17:41:35 -07:00
Phillip Webb
9a64d3bf3f Fix AsciiBytes unicode decoding
Fix the decoding logic in the AsciiBytes `hashCode` and `matches` to
correctly deal with multi-byte encodings.

Fixes gh-12504
2018-03-29 14:00:13 -07:00
Phillip Webb
98a2a91d16 Polish 2018-03-29 14:00:13 -07:00
Brian Clozel
ebb2f70e0b Make WebMvgTags use matched patterns for HTTP 404
Prior to this commit, `WebMvcTags' would always mark as "NOT_FOUND" or
"REDIRECTION" *any* exchange with responses of 404 and 3xx status, even
if those responses are actually returned by Controller handlers.

This commit checks inverts those checks and first considers if the
"BEST_MATCHING_PATTERN_ATTRIBUTE" request attribute is present and uses
it - then falls back to "NOT_FOUND" and "REDIRECTION" to avoid
cardinality explosion.

Fixes gh-12577
2018-03-29 20:33:07 +02:00
Andy Wilkinson
cca5c0d2ee Start building against Spring REST Docs 2.0.1 snapshots
See gh-12681
2018-03-29 14:22:55 +01:00
Andy Wilkinson
14b8e759c9 Upgrade to Jackson 2.9.5
Closes gh-12639
2018-03-29 12:19:28 +01:00
Andy Wilkinson
247910a28d Merge branch '1.5.x' 2018-03-29 12:16:38 +01:00
Stephane Nicoll
703f33f175 Add reference to Sprout Platform starter
Closes gh-12599
2018-03-29 11:13:50 +02:00
Kazuki YAMAMOTO
aac716cb8c Fix typo
Closes gh-12666
2018-03-29 08:56:55 +02:00
Stephane Nicoll
d456e1de49 Polish contribution
Closes gh-12590
2018-03-29 08:53:17 +02:00
Johnny Lim
74f9a84ea9 Make intermediate classes in type hierarchy of public class public
See gh-12590
2018-03-29 08:51:46 +02:00
Stephane Nicoll
da77cbaf7e Complete dependency management for Quartz
Closes gh-12663
2018-03-29 08:49:02 +02:00
Stephane Nicoll
1e2eec5bcd Close context if an ApplicationReadyEvent listener fails
This commit makes sure that the `ApplicationContext` is closed properly
if an `ApplicationReadyListener` throws an exception.

Closes gh-12549
2018-03-28 17:42:01 +02:00