Commit Graph

21208 Commits

Author SHA1 Message Date
Stephane Nicoll
102bffc711 Merge branch '2.0.x' 2018-10-15 15:10:18 +02:00
Stephane Nicoll
99dcdd7dbf Merge branch '1.5.x' into 2.0.x 2018-10-15 15:09:54 +02:00
Stephane Nicoll
ce84068e91 Upgrade to Spring Data Ingalls SR16
Closes gh-14727
2018-10-15 15:09:07 +02:00
Stephane Nicoll
0ac6542696 Upgrade to Spring Framework 4.3.20.RELEASE
Closes gh-14721
2018-10-15 15:08:32 +02:00
Andy Wilkinson
a4eb636913 Merge branch '2.0.x' 2018-10-15 13:58:17 +01:00
Andy Wilkinson
6d98851fb5 Use Couchbase's DiagnosticsReport to determine its health
Previously, Couchbase's health was determined by retrieving the bucket info
from the cluster info. This retrieval could take over one minute in some
cases even when Couchbase is health. This latency is too large for a health
check.

The Couchbase team have recommended the of a Cluster#diagnostics instead.
This provides a much lower latency view of the cluster's health. This
commit updates CouchbaseHealthIndicator to use Cluster#diagnostics while
retaining support, in a deprecated form, for the old info-based mechanism
should anyone want to opt back into that in 2.0.x.

Closes gh-14685
2018-10-15 13:44:42 +01:00
Stephane Nicoll
2ae81fe4a2 Merge branch '2.0.x' 2018-10-15 14:15:50 +02:00
Stephane Nicoll
b7b9bf209e Upgrade to Spring Data Kay SR11
Closes gh-14728
2018-10-15 14:15:27 +02:00
Stephane Nicoll
89349c6eb9 Auto-configure KairosDB metrics
Closes gh-14821
2018-10-15 14:13:10 +02:00
Andy Wilkinson
267eff15f1 Merge branch '2.0.x' 2018-10-15 12:24:39 +01:00
Andy Wilkinson
ab7c1af3ec Auto-configure SpringSecurityDialect for v5 and deprecate v4
Closes gh-14828
2018-10-15 12:18:40 +01:00
Andy Wilkinson
a25e4a860c Upgrade to Thymeleaf Extras Spring Security 3.0.3.RELEASE
Closes gh-14829
2018-10-15 12:02:16 +01:00
Andy Wilkinson
eaf38e9355 Upgrade to Spring Data Lovelace-SR1
Closes gh-14729
2018-10-15 11:46:27 +01:00
Stephane Nicoll
aef167f14f Merge branch '2.0.x' 2018-10-15 11:27:17 +02:00
Stephane Nicoll
0fdf96da3b Upgrade to Spring Framework 5.0.10.RELEASE
Closes gh-14722
2018-10-15 11:26:16 +02:00
Brian Clozel
d5236b91ce Polish 2018-10-15 10:59:38 +02:00
artsiom
9e5f171510 Support cachecontrol config property in WebFlux
Closes gh-14724
2018-10-15 10:59:38 +02:00
Stephane Nicoll
66af20f940 Upgrade to Spring Framework 5.0.10.RELEASE
Closes gh-14722
2018-10-15 10:51:14 +02:00
Stephane Nicoll
1103e93b2d Merge branch '2.0.x' 2018-10-15 10:50:43 +02:00
Stephane Nicoll
eeb7cab661 Upgrade to Neo4j Ogm 3.1.4
Closes gh-14826
2018-10-15 10:50:06 +02:00
Stephane Nicoll
f86ed38abf Upgrade to Groovy 2.5.3
Closes gh-14825
2018-10-15 10:03:42 +02:00
Stephane Nicoll
1a0d53dec0 Replace ReflectionTestUtils usage by hasFieldOrPropertyWithValue
Closes gh-14696
2018-10-15 08:25:10 +02:00
Phillip Webb
cfa130b2ef Merge branch '2.0.x' 2018-10-14 19:14:04 -07:00
Phillip Webb
bb4e9a5bc1 Merge pull request #14822 from Hanope
* pr/14822:
  Fix typo in EndpointIdTests
2018-10-14 19:13:07 -07:00
Hanope
535dd7470f Fix typo in EndpointIdTests
Closes gh-14822
2018-10-14 19:11:56 -07:00
Phillip Webb
98cbea5279 Merge branch '2.0.x' 2018-10-14 19:08:42 -07:00
Phillip Webb
3eb877425e Upgrade to Micrometer 1.0.7
Closes gh-14808
2018-10-14 19:07:50 -07:00
Phillip Webb
18319ac276 Remove deprecated Endpoint ID methods
See gh-14773
2018-10-14 13:55:13 -07:00
Phillip Webb
1bf97e9b5e Merge branch '2.0.x' 2018-10-14 13:53:28 -07:00
Phillip Webb
3b49bdecb3 Merge branch 'gh-14773' into 2.0.x
Closes gh-14773
2018-10-14 13:51:45 -07:00
Phillip Webb
a00ee15e16 Use lowercase default endpoint paths
Update `MappingWebEndpointPathMapper` to use the lowercase version of
the endpoint ID when no explicit path mapping has been set. An endpoint
with the ID 'myEndpoint' will now be mapped to the path 'myendpoint'.

See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
df5dfbf4be Support mixed case endpoint includes/excludes
Update `ExposeExcludePropertyEndpointFilter` so that mixed case
endpoint IDs are supported. Prior to this commit it was not easy for
an endpoint to be missed by the filter due to the formatting of the
property value.

See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
674a909bab Support mixed case endpoint IDs with enabled
Update `OnEnabledEndpointCondition` so that mixed case endpoint IDs
are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when trying
to enabled or disable an endpoint with a camel case ID.

See gh-14773
2018-10-14 13:45:05 -07:00
Phillip Webb
138d85477d Support mixed case endpoint IDs with time-to-live
Update the endpoint time-to-live binding logic so that mixed case
endpoint IDs are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when using
a camel case endpoint ID.

See gh-14773
2018-10-14 13:45:04 -07:00
Phillip Webb
3105a38884 Introduce EndpointID to enforce naming rules
Add an `EndpointID` class to enforce the naming rules that we support
for actuator endpoints. We now ensure that all endpoint names contain
only letters and numbers and must begin with a lower-case letter.

Existing public classes and interfaces have been changes so that String
based `endpointId` methods are deprecated and strongly typed versions
are preferred instead. A few public classes that we're not expecting
to be used directly have been changed without deprecated methods being
introduced.

See gh-14773
2018-10-14 13:45:04 -07:00
Phillip Webb
88ac7f1d65 Polish 2018-10-14 12:43:00 -07:00
Phillip Webb
c5786c218d Polish 2018-10-14 11:24:10 -07:00
Andy Wilkinson
e151dbf003 Document Jersey metrics' new outcome tag and polish formatting
See gh-12482
2018-10-14 14:21:37 +01:00
Andy Wilkinson
d6de58f257 Merge pull request #14816 from Johnny Lim
* gh-14816:
  Fix copyright end years
2018-10-14 14:13:41 +01:00
Johnny Lim
c1ad1f7638 Fix copyright end years
Closes gh-14816
2018-10-14 14:13:19 +01:00
Andy Wilkinson
892a21acea Merge pull request #14657 from Dave Syer
* gh-14657:
  Polish "Use non-reflective APIs to retrieve config prop binding converters"
  Use non-reflective APIs to retrieve config prop binding converters
2018-10-14 14:11:21 +01:00
Andy Wilkinson
83692a22da Polish "Use non-reflective APIs to retrieve config prop binding converters"
Closes gh-14657
2018-10-14 14:09:21 +01:00
Dave Syer
2094e54ef2 Use non-reflective APIs to retrieve config prop binding converters
See gh-14657
2018-10-14 14:09:16 +01:00
Stephane Nicoll
a0bbb98b51 Merge branch '2.0.x' 2018-10-14 10:43:52 +02:00
Stephane Nicoll
f96d73f3cc Start building against Micrometer 1.0.7 snapshots
See gh-14808
2018-10-14 10:42:59 +02:00
Andy Wilkinson
6e5310900b Switch from thymeleaf-extras-springsecurity4 to extras-springsecurity5
Closes gh-14806
2018-10-13 19:57:04 +01:00
Andy Wilkinson
1ac48ee876 Merge branch '2.0.x' 2018-10-13 16:56:21 +01:00
Andy Wilkinson
b78c7aca3e Allow ALPNServerConnectionFactory to negotiate use of HTTP/1.1
Closes gh-14444
2018-10-13 16:56:10 +01:00
Andy Wilkinson
7ad94299d6 Stop relying on server customizer ordering for Tomcat metrics binding
Closes gh-14784
2018-10-13 11:52:51 +01:00
Andy Wilkinson
2b11ee4389 Auto-configure binding of Micrometer's JettyServerThreadPoolMetrics
Closes gh-14591
2018-10-13 11:52:51 +01:00