Commit Graph

91 Commits (97c91eee941538d9c9d4f273e299d79d437e5f71)

Author SHA1 Message Date
Brian Clozel 5f3c2bef50 Add CORS support to Actuator WebFlux
Closes gh-11308
7 years ago
Stephane Nicoll 5ef9364085 Polish 7 years ago
Johnny Lim 384819ab5f Add @Configuration to ScheduledTasksEndpointAutoConfiguration
Closes gh-11313
7 years ago
Johnny Lim 6d54072e04 Remove "final" keywords
Closes gh-11294
7 years ago
Andy Wilkinson c0e3ae9042 Polish 7 years ago
Johnny Lim d33c6773da Use volatile for ReactiveTokenValidator.cacheTokenKeys
Closes gh-11233
7 years ago
Johnny Lim ada4d13a4e Document spring.metrics.binders.*
Closes gh-11262
7 years ago
Stephane Nicoll a4913712cb Do not expose the composite ReactiveHealthIndicator as a bean
Previously, a `ReactiveHealthIndicator` bean was exposed to define the
health indicator to use for the reactive endpoint. Having it exposed as
a bean has the side effect that the regular `HealthIndicator` composite
is picked up and a "reactive" entry is added to the health details.

This commit creates such indicator internally as it should be.

Closes gh-11222
7 years ago
Stephane Nicoll 5dc28ec446 Merge branch '1.5.x' 7 years ago
Johnny Lim 44299bb980 Polish
Closes gh-11206
7 years ago
Johnny Lim 952224ef56 Polish
Closes gh-11193
7 years ago
Phillip Webb 2c959b8e2a Polish health indicators
Align reactive and non-reactive web extensions and update `showDetails`
so that it only applies to web exposure.

See gh-11113
See gh-11192
7 years ago
Madhura Bhave 9e95483645 Add cloudfoundry health extensions
Fixes gh-11192
7 years ago
Phillip Webb e1306c6228 Polish micrometer rc.5 upgrade
Closes gh-11071
7 years ago
Jon Schneider 2e0a915281 Upgrade to micrometer 1.0.0-rc.5
See gh-11071
7 years ago
Phillip Webb 960083bd33 Polish 7 years ago
Madhura Bhave 2319d01feb Prevent race condition in ReactiveTokenValidator 7 years ago
Andy Wilkinson 22a426fe39 Polish 7 years ago
Madhura Bhave 9f76832488 Optimize fetching tokenKeys for reactive actuators
Closes gh-10899
7 years ago
Johnny Lim 70d92037bd Use BeanIds.SPRING_SECURITY_FILTER_CHAIN
See gh-11162
7 years ago
Stephane Nicoll 480039f212 Fix default value of management.endpoints.web.expose 7 years ago
Stephane Nicoll a12bab453c Polish "Fix PropertiesConfigAdapter delegation logic"
Closes gh-11135
7 years ago
Nikolay Rybak 9163d65b0e Fix PropertiesConfigAdapter delegation logic
This change replaces fallback logic in PropertiesConfigAdapter and its
descendants such that instead of falling back to default "empty" config
it delegates to superinterface default implementation of the same class.

This allows default implementation to call back to other properties,
like DatadogConfig.uri() does.

See gh-11135
7 years ago
Stephane Nicoll 45e8c237de Polish 7 years ago
Johnny Lim 01a48412d2 Polish
Closes gh-11126
7 years ago
Stephane Nicoll 97bb70cd0c Polish 7 years ago
Stephane Nicoll 3a6a238ea9 Improve error metadata for Actuator 7 years ago
Vedran Pavic 63aef58d30 Fix references to management related properties
See gh-11091
7 years ago
Phillip Webb 07f71e889e Move `/application` to `/actuator`
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
7 years ago
Phillip Webb 3e2ede51d6 Delete `status` documentation
See gh-11113
7 years ago
Phillip Webb 31025d9f6c Drop status endpoint
Drop the status endpoint and merge functionality back into the health
endpoint. The `management.endpoint.health.show-details` property can
be used to change if full details, or just the status is displayed.

Fixes gh-11113
7 years ago
Phillip Webb e82913dd5a Align appendix edits with source code
Port editing changes from append to java source files to ensure that
IDE meta-data also reflects the improvements.

Closes gh-10870
7 years ago
Phillip Webb 64c5e8b6ed Rename @DurationUnit -> @DefaultDurationUnit
Rename `@DurationUnit` to `@DefaultDurationUnit` to make it clearer
that it only changes the unit if one isn't specified by the user.

Closes gh-11078
7 years ago
Andy Wilkinson bc98b84013 Reduce excessive logging by disabling Statsd metrics export
Closes gh-11009
7 years ago
Phillip Webb 8f4bf233b4 Update configuration properties to use Duration
Update appropriate configuration properties to use the `Duration`
type, rather than an ad-hoc mix of milliseconds or seconds.

Configuration properties can now be defined in a consistent and readable
way. For example `server.session.timeout=5m`.

Properties that were previously declared using seconds are annotated
with `@DurationUnit` to ensure a smooth upgrade experience. For example
`server.session.timeout=20` continues to mean 20 seconds.

Fixes gh-11080
7 years ago
Johnny Lim 73c65286ea Polish 7 years ago
Phillip Webb 7ff2cb5dc8 Polish 7 years ago
Madhura Bhave 49768e2b1f Register config classes once in reactive child context
Fixes gh-10939
7 years ago
Phillip Webb a6cefc5ba0 Polish 7 years ago
Madhura Bhave 5ce9067e30 Clean trailing slash from endpoints.web.base-path
Fixes gh-11021
7 years ago
Andy Wilkinson 3e46b5c5c7 Auto-configure endpoints in main context so they are always discovered
Closes gh-11046
7 years ago
Andy Wilkinson 3b45342359 Make Actuator Web API documentation compatible with Java 9
Closes gh-8042
7 years ago
Jay Bryant 706600c003 Polish Actuator Web API documentation
See gh-8042
7 years ago
Andy Wilkinson 4de208bc94 Provide reference documentation for Actuator web endpoints
Closes gh-8042
7 years ago
Johnny Lim e8563c54dd Polish
Closes gh-11050
7 years ago
Stephane Nicoll 54b54b7c30 Fix condition for Datadog's api key
Closes gh-11053
7 years ago
Johnny Lim cbb483735d Polish
Closes gh-10948
7 years ago
Stephane Nicoll bcab23e538 Polish "Separate endpoint concerns"
* Fix the endpoint prefix for generated metadata.
* Polish and improve configuration key descriptions.

Closes gh-10176
7 years ago
Phillip Webb fd5c43cdc9 Separate endpoint concerns
Update endpoint code to provide cleaner separation of concerns.
Specifically, the top level endpoint package is no longer aware of
the fact that JMX and HTTP are ultimately used to expose endpoints.
Caching concerns have also been abstracted behind a general purpose
`OperationMethodInvokerAdvisor` interface.

Configuration properties have been refined to further enforce
separation. The `management.endpoint.<name>` prefix provides
configuration for a  single endpoint (including enable and cache
time-to-live). These  properties are now technology agnostic (they
don't include `web` or `jmx` sub properties).

The `management.endpoints.<technology>` prefix provide exposure specific
configuration. For example, `management.endpoints.web.path-mapping`
allow endpoint URLs to be changed.

Endpoint enabled/disabled logic has been simplified so that endpoints
can't be disabled per exposure technology. Instead a filter based
approach is used to allow refinement of what endpoints are exposed over
a given technology.

Fixes gh-10176
7 years ago
Phillip Webb f647f5689f Polish 7 years ago