Commit Graph

1760 Commits

Author SHA1 Message Date
Stephan Köninger 373f5e7682 Upgrade Maven surefire plugin to 2.21.0
Closes gh-12721
2018-04-04 18:05:10 -07:00
Phillip Webb 598e9bb842 Polish 2018-04-04 18:01:25 -07:00
Phillip Webb ce9ca6ae70 Polish "Apply MeterRegistryCustomizer to composites"
Closes gh-12762
2018-04-04 16:00:53 -07:00
Jon Schneider 1fce462944 Apply MeterRegistryCustomizer to composites
Update `MeterRegistryConfigurer` to also apply customizers to
composite meter registries. Prior to this commit composites were
skipped due to the incorrect assumption that did not contain
their own state.

Closes gh-12762
2018-04-04 15:58:16 -07:00
Phillip Webb d49a1024bd Merge branch '1.5.x' 2018-04-04 15:35:20 -07:00
Phillip Webb 696aedaef8 Merge branch '1.5.x' 2018-04-04 14:51:16 -07:00
Brian Clozel 799e1ba077 Upgrade to Netty 4.1.23.Final
Closes gh-12764
2018-04-04 23:07:46 +02:00
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