- 15 Oct, 2018 16 commits
-
-
Phillip Webb authored
Update the `EndpointId` constraints to allow '.' in names. Closes gh-14773
-
Stephane Nicoll authored
Closes gh-13195
-
Andy Wilkinson authored
Closes gh-13832
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-14727
-
Stephane Nicoll authored
Closes gh-14721
-
Andy Wilkinson authored
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
-
Stephane Nicoll authored
Closes gh-14728
-
Andy Wilkinson authored
Closes gh-14828
-
Andy Wilkinson authored
Closes gh-14829
-
Stephane Nicoll authored
Closes gh-14722
-
Stephane Nicoll authored
Closes gh-14826
-
Phillip Webb authored
* pr/14822: Fix typo in EndpointIdTests
-
Hanope authored
Closes gh-14822
-
Phillip Webb authored
Closes gh-14808
-
- 14 Oct, 2018 8 commits
-
-
Phillip Webb authored
Closes gh-14773
-
Phillip Webb authored
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
-
Phillip Webb authored
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
-
Phillip Webb authored
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
-
Phillip Webb authored
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
-
Phillip Webb authored
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
-
Phillip Webb authored
-
Stephane Nicoll authored
See gh-14808
-
- 13 Oct, 2018 3 commits
-
-
Andy Wilkinson authored
Closes gh-14444
-
Madhura Bhave authored
-
Madhura Bhave authored
-
- 12 Oct, 2018 6 commits
-
-
Stephane Nicoll authored
* pr/14744: Polish "Add support for @ResponseStatus in DefaultErrorAttributes" Add support for @ResponseStatus in DefaultErrorAttributes
-
Stephane Nicoll authored
Closes gh-14744
-
Michele Mancioppi authored
This commit adds support for @ResponseStatus in DefaultErrorAttributes mimicking the semantics of @ResponseStatus in SpringMVC. Throwables annotated with @ResponseStatus handled by DefaultErrorAttributes will result in the following error attributes: * 'status' set as the return value of the HttpStatus#value() defined as @ResponseStatus#value() * 'error' set to the default reason phrase of the HttpStatus defined as @ResponseStatus#value() * 'message' defined as the value of @ResponseStatus#reason(), or the default HttpStatus's reason phrase if left unspecified See gh-14744
-
Stephane Nicoll authored
Closes gh-14797
-
Andy Wilkinson authored
Closes gh-14787
-
Phillip Webb authored
Ensure that if the user has set `failCtxIfServletStartFails` to `true` using a `ContextCustomizers` any Servlet init exceptions stop the application from running. Closes gh-14448
-
- 11 Oct, 2018 7 commits
-
-
Madhura Bhave authored
Closes gh-14447
-
Phillip Webb authored
Update the reference documentation with a warning about the `webDriver` scope that we create. Closes gh-13093
-
Phillip Webb authored
Update the reference documentation with a section about encrypting properties and a link to Spring Cloud Vault. Closes gh-13618
-
Phillip Webb authored
Update the reference documentation to suggest that devtools uses a custom `developmentOnly` scope, rather than `compileOnly`. Closes gh-14451
-
Phillip Webb authored
* pr/14497: Polish "Stop MetricsEndpoint from summing up same metrics" Stop MetricsEndpoint from summing up same metrics
-
Phillip Webb authored
See gh-14497
-
pmehra authored
Update `MetricsEndpoint` so that only the first matching meter is used when calculating the sum of of statistics. Prior this this commit the endpoint would consider all Meters. This caused incorrect statistics when multiple back-end systems were being used since the registries contained in the `CompositeMeterRegistry` would be iterated, and the same effective metric would be counted more than once. Closes gh-14497
-