Johnny Lim
8383b76138
Move CorsEndpointProperties to the parent package
...
`CorsEndpointProperties` lives in `endpoint.web.servlet` but is also used
in `endpoint.web.reactive`, so this PR moves it to its common parent
package.
This commit also extracts `CorsConfiguration` creation logic duplicated
in `WebMvcEndpointManagementContextConfiguration` and
`WebFluxEndpointManagementContextConfiguration` into
`CorsEndpointProperties`.
See gh-11439
2017-12-28 10:40:51 +01:00
Johnny Lim
3c5ccb1166
Polish
...
Closes gh-11418
2017-12-26 09:47:10 +01:00
Johnny Lim
b35348b41d
Remove org.flywaydb.core.internal.util.StringUtils import
...
Closes gh-11396
2017-12-24 12:20:03 +01:00
Johnny Lim
3a276d2a87
Rename CloudFoundryHealthWebEndpointManagementContextConfiguration
...
Closes gh-11400
2017-12-23 14:23:24 +01:00
Johnny Lim
240aaadd83
Fix package name for InfluxDB
...
Closes gh-11364
2017-12-23 13:27:58 +01:00
Eddú Meléndez
cc9b2a9786
Fix property key to enable influxdb health endpoint
...
Closes gh-11365
2017-12-23 12:51:24 +01:00
Phillip Webb
6cb331ed2c
Cache endpoint enabled-by-default result
...
Update `OnEnabledEndpointCondition` so that the result of
`management.endpoints.enabled-by-default` is cached between calls.
Fixes gh-11407
2017-12-22 20:52:07 -08:00
Phillip Webb
befdbaaaa9
Polish
2017-12-15 14:57:25 -08:00
Stephane Nicoll
2ed162a0be
Fix outdated references to server.context-path
...
Closes gh-11358
2017-12-15 10:24:14 +01:00
Stephane Nicoll
a33c3eec3f
Polish "Add InfluxDb health indicator"
...
Closes gh-11159
2017-12-14 15:16:00 +01:00
Eddú Meléndez
cdbdc1cb7f
Add InfluxDb health indicator
...
See gh-11159
2017-12-14 15:15:08 +01:00
Stephane Nicoll
ef78cb33b3
Move metrics properties to "management.metrics"
...
Closes gh-11340
2017-12-14 12:27:24 +01:00
Stephane Nicoll
de8fe7550f
Polish
2017-12-14 12:16:22 +01:00
Stephane Nicoll
41720ca93d
Improve extension of Neo4jHealthIndicator
...
This commit makes it easier to extend `Neo4jHealthIndicator` for cases
where a custom cypher needs to be executed.
Closes gh-11120
2017-12-14 10:01:57 +01:00
Phillip Webb
3273859fde
Polish
2017-12-13 14:32:55 -08:00
Stephane Nicoll
681fdb1ee8
Property detect Health web extension with management context
...
Previously, the Health web extension was defined in the management
context and, as a result, it wasn't found when a separate port was
required. The side effect is that anything that the health web extension
does was not active anymore in that case.
This commit makes sure that the extension is always defined as part of
the main context where operations are discovered and merged.
Closes gh-11285
2017-12-13 17:47:18 +01:00
Johnny Lim
de72f2ae32
Polish
...
Closes gh-11327
2017-12-13 09:38:20 +01:00
Brian Clozel
175f451b0f
Polish
2017-12-12 16:41:44 +01:00
Alessandro Ciccimarra
e1def637ae
Apply configurers on MeterRegistry before injection
...
MeterRegistryConfigurers are now applied within the Bean method
creating the CompositeMeterRegistry, instead of applying them
later in its lifecycle, when the bean itself could have been
injected somewhere.
Fixes gh-11319
2017-12-12 16:03:37 +01:00
Stephane Nicoll
23218add90
Polish
2017-12-12 11:57:30 +01:00
Brian Clozel
5f3c2bef50
Add CORS support to Actuator WebFlux
...
Closes gh-11308
2017-12-11 22:33:51 +01:00
Stephane Nicoll
5ef9364085
Polish
2017-12-11 17:55:12 +01:00
Johnny Lim
384819ab5f
Add @Configuration to ScheduledTasksEndpointAutoConfiguration
...
Closes gh-11313
2017-12-11 17:46:16 +01:00
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
2017-12-08 11:13:07 -08:00
Andy Wilkinson
c0e3ae9042
Polish
2017-12-07 18:27:52 +00:00
Johnny Lim
d33c6773da
Use volatile for ReactiveTokenValidator.cacheTokenKeys
...
Closes gh-11233
2017-12-06 15:10:01 +00:00
Johnny Lim
ada4d13a4e
Document spring.metrics.binders.*
...
Closes gh-11262
2017-12-05 15:57:46 -08:00
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
2017-12-02 08:29:07 +01:00
Stephane Nicoll
5dc28ec446
Merge branch '1.5.x'
2017-11-30 18:01:36 +01:00
Johnny Lim
44299bb980
Polish
...
Closes gh-11206
2017-11-29 09:37:36 -08:00
Johnny Lim
952224ef56
Polish
...
Closes gh-11193
2017-11-29 10:50:42 +01:00
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
2017-11-28 21:19:53 -08:00
Madhura Bhave
9e95483645
Add cloudfoundry health extensions
...
Fixes gh-11192
2017-11-28 18:49:17 -08:00
Phillip Webb
e1306c6228
Polish micrometer rc.5 upgrade
...
Closes gh-11071
2017-11-28 16:58:53 -08:00
Jon Schneider
2e0a915281
Upgrade to micrometer 1.0.0-rc.5
...
See gh-11071
2017-11-28 16:58:53 -08:00
Phillip Webb
960083bd33
Polish
2017-11-28 16:21:09 -08:00
Madhura Bhave
2319d01feb
Prevent race condition in ReactiveTokenValidator
2017-11-28 14:24:22 -08:00
Andy Wilkinson
22a426fe39
Polish
2017-11-28 10:50:28 +00:00
Madhura Bhave
9f76832488
Optimize fetching tokenKeys for reactive actuators
...
Closes gh-10899
2017-11-27 12:32:21 -08:00
Johnny Lim
70d92037bd
Use BeanIds.SPRING_SECURITY_FILTER_CHAIN
...
See gh-11162
2017-11-27 10:31:32 +01:00
Stephane Nicoll
480039f212
Fix default value of management.endpoints.web.expose
2017-11-24 15:22:57 +01:00
Stephane Nicoll
a12bab453c
Polish "Fix PropertiesConfigAdapter delegation logic"
...
Closes gh-11135
2017-11-24 13:48:06 +01:00
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
2017-11-24 13:31:00 +01:00
Stephane Nicoll
45e8c237de
Polish
2017-11-24 11:16:46 +01:00
Johnny Lim
01a48412d2
Polish
...
Closes gh-11126
2017-11-23 16:00:55 +00:00
Stephane Nicoll
97bb70cd0c
Polish
2017-11-23 16:28:00 +01:00
Stephane Nicoll
3a6a238ea9
Improve error metadata for Actuator
2017-11-23 15:59:51 +01:00
Vedran Pavic
63aef58d30
Fix references to management related properties
...
See gh-11091
2017-11-23 10:48:37 +01:00
Phillip Webb
07f71e889e
Move /application
to /actuator
...
Change the endpoint default path from `/application` to `/actuator`.
Fixes gh-10970
2017-11-22 23:18:22 -08:00
Phillip Webb
3e2ede51d6
Delete status
documentation
...
See gh-11113
2017-11-22 23:18:21 -08:00