1820 Commits

Author SHA1 Message Date
Brian Clozel
02b0b6ff9c Merge branch '2.0.x' 2018-04-13 11:50:03 +02:00
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
2018-04-13 11:48:09 +02:00
Brian Clozel
33c7401e10 Merge branch '2.0.x' 2018-04-12 22:52:51 +02:00
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.
2018-04-12 22:50:16 +02:00
Madhura Bhave
20acd2a89b Merge branch '2.0.x' 2018-04-12 10:33:11 -07:00
Madhura Bhave
9c7612e681 Fix NPE in WaitStrategy used for test containers 2018-04-12 10:30:36 -07:00
Brian Clozel
5e1d0d7bdd Merge branch '2.0.x' 2018-04-12 18:02:04 +02:00
Brian Clozel
b7695fabab Switch to Reactor Bismuth SNAPSHOTs 2018-04-12 18:01:33 +02:00
Vedran Pavic
7b9c5a3dc3 Use Jersey BOM in dependency management
Closes gh-12847
2018-04-12 15:58:32 +02:00
Vedran Pavic
ec4f054497 Upgrade to Jersey 2.27
Closes gh-12847
2018-04-12 15:56:19 +02:00
Stephane Nicoll
ed19f20ca0 Merge branch '2.0.x' 2018-04-12 15:48:57 +02:00
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
2018-04-12 15:48:20 +02:00
Stephane Nicoll
e4e56bbcc3 Migrate to ApplicationContextRunner 2018-04-12 15:48:20 +02:00
Brian Clozel
70826f5478 Merge branch '2.0.x' 2018-04-12 14:51:34 +02:00
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
2018-04-12 12:08:44 +02:00
Brian Clozel
efd4245785 Merge branch '2.0.x' 2018-04-12 11:44:45 +02:00
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
2018-04-12 11:30:43 +02:00
Stephane Nicoll
7198b038aa Merge branch '2.0.x' 2018-04-12 09:44:49 +02:00
DK Lee
1f91ae541f Fix WebClient example constructor name
Closes gh-12842
2018-04-12 09:44:03 +02:00
Madhura Bhave
d27ad41a88 Merge branch '2.0.x' 2018-04-11 10:42:22 -07:00
Madhura Bhave
4fab679829 Upgrade testcontainers to 1.7.0
Closes gh-12821
2018-04-11 10:40:54 -07:00
Stephane Nicoll
8944fa503b Upgrade to AspectJ 1.9.0
Closes gh-12834
2018-04-11 18:28:10 +02:00
Stephane Nicoll
f55753c1dc Add reference to Axon Framework 2018-04-11 17:43:33 +02:00
Stephane Nicoll
5cba7400e1 Add reference to Flowable 2018-04-11 11:53:33 +02:00
Stephane Nicoll
3c169b4e0a Fix bean name of EnvironmentEndpointWebExtension
Closes gh-12827
2018-04-11 11:34:44 +02:00
Ken Kwon
16ad34aa19 Fix typo
Closes gh-12825
2018-04-11 10:51:20 +02:00
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
2018-04-10 20:23:55 +02:00
Stephane Nicoll
86b96254a1 Migrate to ApplicationContextRunner 2018-04-10 20:23:54 +02:00
Stephane Nicoll
f83934e192 Polish contribution
Closes gh-12812
2018-04-10 11:46:16 +02:00
Johnny Lim
f03849d502 Polish
See gh-12812
2018-04-10 11:46:16 +02:00
Andy Wilkinson
4fbe0b1283 Add dependency management for Kafka
Closes gh-12815
2018-04-10 09:07:19 +01:00
Phillip Webb
ba85cefce3 Polish 2018-04-09 14:50:03 -07:00
Andy Wilkinson
8d5b9f37d5 Merge branch '1.5.x' 2018-04-09 17:59:53 +01:00
Andy Wilkinson
8b1a101cb6 Merge branch '1.5.x' 2018-04-09 17:39:26 +01:00
Stephane Nicoll
6692301d51 Polish "Replace Couchbase's deprecated methods"
Closes gh-12655
2018-04-09 16:17:46 +02:00
Yulin Qin
3236306e53 Replace Couchbase's deprecated methods
See gh-12655
2018-04-09 13:22:22 +02:00
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
2018-04-09 10:34:23 +02:00
Madhura Bhave
2f5ab50367 Add @QuartzDataSource for quartz auto-configuration
Closes gh-12755
2018-04-05 16:49:04 -07:00
Andy Wilkinson
c3bf8541d7 Do not rely on findAvailableTcpPort finding an available port
Closes gh-12779
2018-04-05 11:35:58 +01:00
Jichun Liu
34986ed12f Add docker-api starter to 3rd party list
See https://github.com/jliu666/docker-api-spring-boot

Closes gh-12605
2018-04-05 11:12:29 +02:00
Andy Wilkinson
f335ec00bf Polish 2018-04-05 09:31:17 +01:00
Andy Wilkinson
71df9c8618 Upgrade to Spring Kafka 2.1.5.RELEASE
Closes gh-12775
2018-04-05 07:51:52 +01:00
Andy Wilkinson
b42325f388 Upgrade to Spring Amqp 2.0.3.RELEASE
Closes gh-12774
2018-04-05 07:51:51 +01:00
Andy Wilkinson
0c6a09201d Upgrade to Couchbase Client 2.5.7
Closes gh-12773
2018-04-05 07:51:50 +01:00
Andy Wilkinson
87aef1c379 Merge branch '1.5.x' 2018-04-05 07:50:17 +01:00
Andy Wilkinson
a8bbf7120e Merge branch '1.5.x' 2018-04-05 07:11:34 +01:00
Phillip Webb
0c98d0e7d3 Polish "Allow validation api without implementation"
Closes gh-12669
2018-04-04 21:24:25 -07:00
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
2018-04-04 21:24:20 -07:00
Phillip Webb
41dc70146a Polish "Prevent warnings when running embedded Artemis"
Closes gh-12680
2018-04-04 21:10:35 -07:00
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
2018-04-04 21:03:04 -07:00