Commit Graph

1900 Commits (66872a0f96568aed67635d5e2f2ebf9d25dba6f3)

Author SHA1 Message Date
Madhura Bhave 35af166750 Fix tests
See gh-11380
7 years ago
Madhura Bhave a8707c520c Merge branch '2.0.x' 7 years ago
Madhura Bhave cab9bff4f4 Log included profiles according to the processing order
This commit includes some refactoring of active profiles
processing. Previously, there was a LIFO Queue for adding active
profiles. Profiles that were added last, were processed first.
Because of this reverse ordering, profiles were prepended to the
environment to preserve the order in which they were logged.
This however didn't work for "included" profiles as they were
prepended to the environment even though they were processed after
the active profile. In this commit, profiles are processed in a FIFO manner
and processed as they're found.

Fixes gh-11380
7 years ago
Stephane Nicoll e72306b33e Merge branch '2.0.x' 7 years ago
Stephane Nicoll 026d8bed5f Fix additional missing semicolon on sample code
Closes gh-12895
7 years ago
Jienan Duan 90ae14ec21 Add missing semicolon on sample code
See gh-12895
7 years ago
Stephane Nicoll c7645604a6 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 2b98b11c12 Polish "Less object instantiation in WebMvcTags"
Closes gh-12894
7 years ago
Jon Schneider d676147680 Less object instantiation in WebMvcTags
See gh-12894
7 years ago
Stephane Nicoll c43eb89823 Make sure that finalName is read only
Closes gh-12608
7 years ago
Stephane Nicoll b2f34f5c20 Remove spring.provides
Closes gh-12435
7 years ago
Stephane Nicoll a85998f4c3 Polish "Add auto-configuration for Hibernate metrics"
Closes gh-12550
7 years ago
Rui Figueira b6b92ba937 Add auto-configuration for Hibernate metrics
All Hibernate entityManagerFactories are automatically instrumented
and their statistics are included into Micrometer using its
HibernateMetrics binder.

Closes gh-12550
7 years ago
Stephane Nicoll 3cb2246e7a Merge branch '2.0.x' 7 years ago
Stephane Nicoll 0bc7bef5e5 Properly handle InvalidEndpointRequestException
This commit makes sure that `InvalidEndpointRequestException` is wrapped
in a `ReflectionException` when invoked via JMX.

Closes gh-12857
7 years ago
Stephane Nicoll f139dc3608 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 2002115637 Add doc ref for hierarchical name mapping 7 years ago
Stephane Nicoll 12541d7efc Merge branch '2.0.x' 7 years ago
Stephane Nicoll 1c0f589c01 Simplify Joinfaces community starter entry
See gh-12867
7 years ago
Stephane Nicoll 0fd743cdb1 Merge branch '2.0.x' 7 years ago
dreis2211 2bbf438c36 Fix duplicate words in comments
Closes gh-12866
7 years ago
Stephane Nicoll 1583d342cc Merge branch '2.0.x' 7 years ago
Stephane Nicoll bfe31e6688 Fix broken build 7 years ago
Stephane Nicoll d0b2b9b1a5 Merge branch '2.0.x' 7 years ago
Stephane Nicoll fa542bacc0 Translate user-defined exception when invoking JMX operation
This commit makes sure to respect the MBeanServer#invoke contract by
wrapping any user-defined exception in an MBeanException. Also, any
exception not from the JDK is translated, as it may lead to unexpected
issue on the client if that class isn't present. This is consistent
with our operation result mapping strategy.

Closes gh-10448
7 years ago
Stephane Nicoll fb60716e1b Merge branch '2.0.x' 7 years ago
Stephane Nicoll 2204d5f750 Polish 7 years ago
Stephane Nicoll 31441a7590 Add a note to explain how to disable the web server
See gh-12853
7 years ago
Stephane Nicoll 2fd5cebe31 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 7550f92ea5 Clarify DataSource metrics section for custom DataSources
Closes gh-12851
7 years ago
Brian Clozel 02b0b6ff9c Merge branch '2.0.x' 7 years ago
Brian Clozel 29a719dfb3 Upgrade to Undertow 1.4.24.Final
This commit also updates tests since UNDERTOW-1260 has been fixed in
this release.

Closes gh-12852
7 years ago
Brian Clozel 33c7401e10 Merge branch '2.0.x' 7 years ago
Brian Clozel b2e7be17ab Polish gh-11514
As pointed out by Rossen in gh-11514 comments, a handler might commit
the response and then send an error signal in the pipeline. In this
case, adding a callback to `beforeCommit` is useless because it won't be
triggered. In those cases, we need to collect metrics right away.
7 years ago
Madhura Bhave 20acd2a89b Merge branch '2.0.x' 7 years ago
Madhura Bhave 9c7612e681 Fix NPE in WaitStrategy used for test containers 7 years ago
Brian Clozel 5e1d0d7bdd Merge branch '2.0.x' 7 years ago
Brian Clozel b7695fabab Switch to Reactor Bismuth SNAPSHOTs 7 years ago
Vedran Pavic 7b9c5a3dc3 Use Jersey BOM in dependency management
Closes gh-12847
7 years ago
Vedran Pavic ec4f054497 Upgrade to Jersey 2.27
Closes gh-12847
7 years ago
Stephane Nicoll ed19f20ca0 Merge branch '2.0.x' 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 70826f5478 Merge branch '2.0.x' 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 efd4245785 Merge branch '2.0.x' 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
Stephane Nicoll 7198b038aa Merge branch '2.0.x' 7 years ago
DK Lee 1f91ae541f Fix WebClient example constructor name
Closes gh-12842
7 years ago
Madhura Bhave d27ad41a88 Merge branch '2.0.x' 7 years ago
Madhura Bhave 4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
7 years ago
Stephane Nicoll 8944fa503b Upgrade to AspectJ 1.9.0
Closes gh-12834
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