Commit Graph

1855 Commits (de66451d9bffe5c2900d9f9d45dd53193efe33ed)

Author SHA1 Message Date
Brian Clozel b7695fabab Switch to Reactor Bismuth SNAPSHOTs 7 years ago
Stephane Nicoll 38bd4bd58c Stop associating an Executor bean to Quartz
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.

Closes gh-12823
7 years ago
Stephane Nicoll e4e56bbcc3 Migrate to ApplicationContextRunner 7 years ago
Brian Clozel 3fa8fe85af Deprecate RouterFunctionMetrics
Spring Boot now deploys both annotation-based and functional endpoints
under the same `HttpHandler`; this means the currently auto-configured
`MetricsWebFilter` is instrumenting all endpoints to produce metrics.

There is no need for a WebFlux functional specific support.
This commit removes mentions of `RouterFunctionMetrics` in the docs and
deprecates that class.

Closes gh-12833
7 years ago
Brian Clozel 77be10e7bc Fix "status" metrics tag for error responses
Prior to this commit, the metrics `WebFilter` would handle exceptions
flowing through the pipeline and extract tag information right away.
Since error handling turns the exception information into error HTTP
responses later in the chain, the information extracted from the
response earlier is invalid.
In this case, the "status" information could be "200" whereas error
handlers would later set that status to "500".

This commit delays the tags extraction later in the process, right
before the response is comitted. The happy path is not changed, as
handlers signal that the response is fully taken care of at that point.

Fixes gh-11514
7 years ago
DK Lee 1f91ae541f Fix WebClient example constructor name
Closes gh-12842
7 years ago
Madhura Bhave 4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
7 years ago
Stephane Nicoll f55753c1dc Add reference to Axon Framework 7 years ago
Stephane Nicoll 5cba7400e1 Add reference to Flowable 7 years ago
Stephane Nicoll 3c169b4e0a Fix bean name of EnvironmentEndpointWebExtension
Closes gh-12827
7 years ago
Ken Kwon 16ad34aa19 Fix typo
Closes gh-12825
7 years ago
Stephane Nicoll e8fac7d9c4 Properly discover endpoints that are proxied
Previously to this commit, if a `@ControllerEndpoint`,
`@RestControllerEndpoint` or `@ServletEndpoint` annotated bean was
proxied, the endpoint wasn't properly detected.

This commit makes sure that annotation retrieval works on the user class
while preserving the get (vs. find) retrieval semantic

Closes gh-12441
7 years ago
Stephane Nicoll 86b96254a1 Migrate to ApplicationContextRunner 7 years ago
Stephane Nicoll f83934e192 Polish contribution
Closes gh-12812
7 years ago
Johnny Lim f03849d502 Polish
See gh-12812
7 years ago
Andy Wilkinson 4fbe0b1283 Add dependency management for Kafka
Closes gh-12815
7 years ago
Phillip Webb ba85cefce3 Polish 7 years ago
Andy Wilkinson 8d5b9f37d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 8b1a101cb6 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 6692301d51 Polish "Replace Couchbase's deprecated methods"
Closes gh-12655
7 years ago
Yulin Qin 3236306e53 Replace Couchbase's deprecated methods
See gh-12655
7 years ago
Stephane Nicoll 92d9479765 Gracefully handle exclusion of DataSourceAutoConfiguration
This commit makes sure that an auto-configuration that requires
`DataSourceProperties` will not break if `DataSourceAutoConfiguration`
has been explicitly excluded.

Closes gh-12512
7 years ago
Madhura Bhave 2f5ab50367 Add @QuartzDataSource for quartz auto-configuration
Closes gh-12755
7 years ago
Andy Wilkinson c3bf8541d7 Do not rely on findAvailableTcpPort finding an available port
Closes gh-12779
7 years ago
Jichun Liu 34986ed12f Add docker-api starter to 3rd party list
See https://github.com/jliu666/docker-api-spring-boot

Closes gh-12605
7 years ago
Andy Wilkinson f335ec00bf Polish 7 years ago
Andy Wilkinson 71df9c8618 Upgrade to Spring Kafka 2.1.5.RELEASE
Closes gh-12775
7 years ago
Andy Wilkinson b42325f388 Upgrade to Spring Amqp 2.0.3.RELEASE
Closes gh-12774
7 years ago
Andy Wilkinson 0c6a09201d Upgrade to Couchbase Client 2.5.7
Closes gh-12773
7 years ago
Andy Wilkinson 87aef1c379 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a8bbf7120e Merge branch '1.5.x' 7 years ago
Phillip Webb 0c98d0e7d3 Polish "Allow validation api without implementation"
Closes gh-12669
7 years ago
geo_m a74dc74ec3 Allow validation api without implementation
Allow validation api in the classpath without
a validator, as long as no bean is annotated `@Validated`

See gh-12669
7 years ago
Phillip Webb 41dc70146a Polish "Prevent warnings when running embedded Artemis"
Closes gh-12680
7 years ago
Benjamin Graf 19818b752c Prevent warnings when running embedded Artemis
Configure AddressSettings for DLQ and ExpiryQueue for the embedded
Artemis broker to prevent warnings from being logged.

Closes gh-12680
7 years ago
Phillip Webb 68dc9fed3b Upgrade to Spring Integration 5.0.4
Closes gh-12693
7 years ago
Phillip Webb ec419fca8b Upgrade to Spring Security 5.0.4
Closes gh-12694
7 years ago
Phillip Webb 0c0b60bfa4 Upgrade to Spring Data Kay SR6
Closes gh-12696
7 years ago
Jon Schneider 03158e2fd5 Upgrade to Micrometer 1.0.3
Closes gh-12767
7 years ago
Phillip Webb 685babc829 Polish "Use lambdas for map entry iteration where possible"
Closes gh-12626
7 years ago
igor-suhorukov 69bc19e0ca Use lambdas for map entry iteration where possible
See gh-12626
7 years ago
Clement Stoquart 276037cd56 Add missing managed JUnit Jupiter dependencies
Add managed dependencies for `junit-jupiter-params` and
`junit-vintage-engine`.

Closes gh-12635
7 years ago
dreis2211 cc66de28d0 Populate cache in ConfigFileApplicationListener
Fix `ConfigFileApplicationListener` so that the loadDocumentsCache is
populated when documents are loaded.

Closes gh-12732
7 years ago
dreis2211 35b4cd01ab Polish 7 years ago
Phillip Webb bc15f9ee9b Upgrade Maven failsafe plugin to 2.21.0
See gh-12721
7 years ago
Stephan Köninger 373f5e7682 Upgrade Maven surefire plugin to 2.21.0
Closes gh-12721
7 years ago
Phillip Webb 598e9bb842 Polish 7 years ago
Phillip Webb ce9ca6ae70 Polish "Apply MeterRegistryCustomizer to composites"
Closes gh-12762
7 years ago
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
7 years ago
Phillip Webb d49a1024bd Merge branch '1.5.x' 7 years ago
Phillip Webb 696aedaef8 Merge branch '1.5.x' 7 years ago
Brian Clozel 799e1ba077 Upgrade to Netty 4.1.23.Final
Closes gh-12764
7 years ago
Phillip Webb 6fb4fba43a Merge branch '1.5.x' 7 years ago
Andy Wilkinson aa27334671 Run deployment tests on JDK 9 and 10 where possible
Closes gh-10414
7 years ago
Andy Wilkinson e44bfbea4a Merge branch '1.5.x' 7 years ago
Andy Wilkinson 7b39cdd5c4 Merge branch '1.5.x' 7 years ago
Andy Wilkinson b951397a7c Upgrade to Spring REST Docs 2.0.1.RELEASE
Closes gh-12681
7 years ago
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
7 years ago
Stephane Nicoll ad6a888e47 Polish 7 years ago
Stephane Nicoll f99752283f Fix relaxed binding examples
Closes gh-12750
7 years ago
Stephane Nicoll bf06854218 Merge branch '1.5.x' 7 years ago
Madhura Bhave 30e3cf4c01 Make sure property mapping exception are swallowed 7 years ago
Madhura Bhave e5f8078749 Support dots in System environment properties
Fixes gh-12728
7 years ago
Stephane Nicoll d14cd2cbae Upgrade to Spring Framework 5.0.5.RELEASE
Closes gh-12340
7 years ago
Stephane Nicoll f424297fef Upgrade to Reactor Bismuth SR8
Closes gh-12698
7 years ago
Andy Wilkinson 195a66f009 Upgrade to Hibernate Validator 6.0.9.Final
Closes gh-12746
7 years ago
Andy Wilkinson d5caddf4ca Upgrade to Rxjava 1.3.8
Closes gh-12745
7 years ago
Andy Wilkinson 16f5f8d53c Upgrade to Lettuce 5.0.3.RELEASE
Closes gh-12744
7 years ago
Andy Wilkinson e20fcf0e17 Merge branch '1.5.x' 7 years ago
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
7 years ago
Andy Wilkinson 72cf471e83 Merge branch '1.5.x' 7 years ago
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
7 years ago
Stephane Nicoll 7dbeaaa932 Polish "Remove HierarchicalNameMapper as a configured @Bean"
Closes gh-12683
7 years ago
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
7 years ago
Stephane Nicoll 7c36c00331 Fix default HierarchicalNameMapper implementation for Graphite
Closes gh-12557
7 years ago
Johnny Lim 4ab439856c Remove destroyMethod attribute in @Bean for MeterRegistry
Closes gh-12725
7 years ago
Andy Wilkinson 3568019118 Merge branch '1.5.x' 7 years ago
Attila Pápai 95385cecba Add space between right parentheses and next word
Closes gh-12722
7 years ago
Benjamin Graf 101a42c572 Fix outdated import statements
Closes gh-12697
7 years ago
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
7 years ago
Madhura Bhave 270ee6dd2c Configure RequestContextFilter in mgmt context
Closes gh-12546
7 years ago
Phillip Webb a657a28f58 Fix properties unicode value decoding
Fix a range error when checking for unicode hex chars.

Fixes gh-12716
7 years ago
Phillip Webb 47a56616ae Merge branch '1.5.x' 7 years ago
Stephane Nicoll c90806477c Fix outdated reference to DurationUnit
Closes gh-12708
7 years ago
Madhura Bhave 821af30277 Add missing javadoc for Bindable
Closes gh-12643
7 years ago
Andy Wilkinson f108224b22 Start building against Spring Data Kay SR6 snapshots
See gh-12696
7 years ago
Andy Wilkinson 24da1dc97e Start building against Spring Security 5.0.4 snapshots
See gh-12694
7 years ago
Andy Wilkinson 29c03da7df Start building against Spring Integration 5.0.4 snapshots
See gh-12693
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Phillip Webb 98a2a91d16 Polish 7 years ago
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
7 years ago
Andy Wilkinson cca5c0d2ee Start building against Spring REST Docs 2.0.1 snapshots
See gh-12681
7 years ago
Andy Wilkinson 14b8e759c9 Upgrade to Jackson 2.9.5
Closes gh-12639
7 years ago
Andy Wilkinson 247910a28d Merge branch '1.5.x' 7 years ago
Stephane Nicoll 703f33f175 Add reference to Sprout Platform starter
Closes gh-12599
7 years ago
Kazuki YAMAMOTO aac716cb8c Fix typo
Closes gh-12666
7 years ago
Stephane Nicoll d456e1de49 Polish contribution
Closes gh-12590
7 years ago
Johnny Lim 74f9a84ea9 Make intermediate classes in type hierarchy of public class public
See gh-12590
7 years ago