2230 Commits

Author SHA1 Message Date
Stephane Nicoll
fb8a5a9864 Polish "Add cache actuator endpoint"
This commit improves the initial proposal by providing a by name read
operation that returns the detail of a particular cache. It also adds
more tests and complete API documentation for the feature.

Closes gh-12216
2018-04-30 16:34:00 +02:00
Johannes Edmeier
1a57673345 Add cache actuator endpoint
This commits adds an actuator endpoint which lists the caches per
context and cacheManager and provides a delete operation to clear the
caches. As the statistics are exposed via the metrics endpoint they are
not included

See gh-12216
2018-04-30 16:34:00 +02:00
Andy Wilkinson
0699f65969 Merge branch '2.0.x' 2018-04-30 12:26:38 +01:00
Sebastien Deleuze
933f0bbca8 Upgrade to Kotlin 1.2.41
Includes KT-23973 critical regression fix.
2018-04-30 12:25:00 +01:00
Stephane Nicoll
22b99a90de Polish
See gh-12906
2018-04-28 10:36:41 +02:00
Madhura Bhave
acc1793e96 Merge branch '2.0.x' 2018-04-27 13:19:46 -07:00
Madhura Bhave
0385bd4131 Use spring.session.timeout for Spring Session timeout
Fallback to server.servlet.session.timeout for backwards compatibility.

Fixes gh-12906
2018-04-27 13:16:17 -07:00
Brian Clozel
1ef0098ab5 Add WebClient metrics support
This commit adds support for Actuator Metrics for WebClient.
This support mirrors the current behavior for `RestTemplate`, reusing
the same metric name `"http.client.requests"` and tags.

`WebClient` is instrumented by a `MetricsWebClientFilterFunction` which
is applied by a `WebClientCustomizer`. This instrumentation happens
automatically only if you create an instance of `WebClient` using an
auto-configured `WebClient.Builder` bean.

This infrastructure is reusing de facto the `MeterFilter` that has been
added for `RestTemplate` in order to limit the "uri" tag cardinality.

Closes gh-12228
2018-04-27 13:54:14 +02:00
Stephane Nicoll
621874708d Merge branch '2.0.x' 2018-04-27 10:20:18 +02:00
Stephane Nicoll
36fb078935 Merge branch '1.5.x' into 2.0.x 2018-04-27 10:19:45 +02:00
Stephane Nicoll
c8843947fe Polish 2018-04-27 10:14:51 +02:00
Stephane Nicoll
1a41ff941a Polish 2018-04-27 10:14:31 +02:00
Johnny Lim
b45c5f1a27 Polish
See gh-12981
2018-04-27 09:34:32 +02:00
Stephane Nicoll
4d0fe5bbe6 Merge branch '2.0.x' 2018-04-27 09:33:48 +02:00
Johnny Lim
b941c5f1a6 Polish
Closes gh-12981
2018-04-27 09:29:16 +02:00
Madhura Bhave
59b7c50c3c Merge branch '2.0.x' 2018-04-26 15:55:38 -07:00
Madhura Bhave
f2d8ca8b3a Fix failing NettyReactiveWebServerFactoryTests
NettyReactiveWebServerFactoryTests.portInUseExceptionIsThrownWhenPortIsAlreadyInUse
started failing on CI following this change in reactor netty:
e6634c27f6
Instead of a `BindException`, a `NativeIoException` is thrown. Since that Exception
is for internal use only, we throw a generic `WebServerException`
instead of the `PortInUseException`.
2018-04-26 15:39:08 -07:00
Madhura Bhave
dafe8823cc Merge branch '2.0.x' 2018-04-26 13:46:06 -07:00
Madhura Bhave
24ce3ecb43 Fix typo in docs 2018-04-26 13:43:51 -07:00
Madhura Bhave
6bebb931e5 Merge branch '2.0.x' 2018-04-26 12:21:51 -07:00
Madhura Bhave
228c85fe67 Improve List and Map binding documentation
Closes gh-12444
2018-04-26 12:18:49 -07:00
Stephane Nicoll
11d583ab46 Merge branch '2.0.x' 2018-04-26 16:45:03 +02:00
Stephane Nicoll
fbe88c483e Prevent rabbitmq starter to bring webflux on the classpath
This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as
the former brings spring webflux for an optional feature. This also
prevents Spring Boot to consider that a web server should be started as
all the necessary pieces are unexpectedly present.

Closes gh-12853
2018-04-26 16:44:42 +02:00
Stephane Nicoll
25414d1b58 Merge branch '2.0.x' 2018-04-25 17:20:30 +02:00
Stephane Nicoll
9cf8080a17 Polish "Document Kotlin custom metadata generation"
Closes gh-12960
2018-04-25 17:19:55 +02:00
sdeleuze
c24e7a5930 Document Kotlin custom metadata generation
See gh-12960
2018-04-25 17:19:38 +02:00
Stephane Nicoll
03cf4fbb10 Polish "Add actuator endpoint for exposing the Spring Integration graph"
Closes gh-12331
2018-04-25 16:16:43 +02:00
Tim Ysewyn
8c67ef1079 Add actuator endpoint for exposing the Spring Integration graph
See gh-12331
2018-04-25 16:16:43 +02:00
Stephane Nicoll
518f41a4ae Improve @ConditionalOnEnabledEndpoint to be used on any component
This commit adds an `endpoint` attribute so that the condition can be
used on arbitrary components, not only endpoints or extensions.

Closes gh-12945
2018-04-25 13:54:04 +02:00
Stephane Nicoll
b090280b0c Improve Couchbase auto-configuration
This commit improves the couchbase auto-configuration so that it is
easier to customize the way the connection to the couchbase server is
initiated.

See gh-11146
2018-04-25 13:35:49 +02:00
Andy Wilkinson
66872a0f96 Merge branch '2.0.x' 2018-04-25 11:58:45 +01:00
Andy Wilkinson
a358f3f0e8 Merge branch '1.5.x' into 2.0.x 2018-04-25 11:58:31 +01:00
Stephane Nicoll
080e189d06 Fix broken syntax 2018-04-25 10:40:23 +02:00
Stephane Nicoll
65fda8d3d6 Merge branch '2.0.x' 2018-04-25 09:43:43 +02:00
Stephane Nicoll
11ad9bfebf Upgrade version of gradle-git-properties in doc
Closes gh-12955
2018-04-25 09:43:19 +02:00
Stephane Nicoll
fd47b728c1 Properly handle values with spaces
Closes gh-10741
2018-04-24 16:26:51 +02:00
Stephane Nicoll
d4729f5389 Polish 2018-04-24 15:52:47 +02:00
Stephane Nicoll
40b7e02793 Polish "Add support for environment variables"
Closes gh-12800
2018-04-24 15:48:54 +02:00
Dmytro Nosan
95f7e3ca37 Add support for environment variables
See gh-12800
2018-04-24 14:48:54 +02:00
Stephane Nicoll
5dd4a7e91e Merge branch '2.0.x' 2018-04-24 13:31:36 +02:00
Stephane Nicoll
55ef9e6dc9 Deprecate excludeArtifactIds
While being able to exclude all artifacts of a given group is a handy
feature, excluding all artifacts with a given artifactId does not make
much sense as it should refer to a single artifact anyway. Also the
general "exclude" mechanism is meant to do the exact same thing.

Closes gh-12885
2018-04-24 13:25:58 +02:00
Andy Wilkinson
099f61ae6d Merge branch '2.0.x' 2018-04-24 11:04:23 +01:00
Andy Wilkinson
c9f04c3977 Avoid race between container starting and getting mapped port 2018-04-24 11:03:54 +01:00
Stephane Nicoll
03539d8e16 Polish "Add system properties support using explicit configuration tag"
Closes gh-10741
2018-04-24 11:46:20 +02:00
Vadeg
ba34bf6470 Add system properties support using explicit configuration tag
See gh-10741
2018-04-24 11:46:20 +02:00
Andy Wilkinson
fe497d70b8 Merge branch '2.0.x' 2018-04-24 10:39:11 +01:00
Andy Wilkinson
f6cc1cbd76 Make Testcontainer wait strategies final 2018-04-24 10:38:57 +01:00
Andy Wilkinson
c9b2afbd1e Merge branch '2.0.x' 2018-04-24 10:27:32 +01:00
Andy Wilkinson
f39cea0428 Try to stabilize build by giving Cassandra longer to start 2018-04-24 10:27:11 +01:00
Andy Wilkinson
6c504a5098 Fix deprecation warnings in Testcontainers wait strategies
See gh-12821
2018-04-24 10:27:11 +01:00