|
|
@ -64,11 +64,11 @@ import org.springframework.web.servlet.DispatcherServlet;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
@ConditionalOnWebApplication(type = Type.SERVLET)
|
|
|
|
@ConditionalOnWebApplication(type = Type.SERVLET)
|
|
|
|
|
|
|
|
@ConditionalOnBean(HealthEndpoint.class)
|
|
|
|
@ConditionalOnAvailableEndpoint(endpoint = HealthEndpoint.class, exposure = EndpointExposure.WEB)
|
|
|
|
@ConditionalOnAvailableEndpoint(endpoint = HealthEndpoint.class, exposure = EndpointExposure.WEB)
|
|
|
|
class HealthEndpointWebExtensionConfiguration {
|
|
|
|
class HealthEndpointWebExtensionConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
@ConditionalOnBean(HealthEndpoint.class)
|
|
|
|
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
HealthEndpointWebExtension healthEndpointWebExtension(HealthContributorRegistry healthContributorRegistry,
|
|
|
|
HealthEndpointWebExtension healthEndpointWebExtension(HealthContributorRegistry healthContributorRegistry,
|
|
|
|
HealthEndpointGroups groups) {
|
|
|
|
HealthEndpointGroups groups) {
|
|
|
|