Class CloudFoundryActuatorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryActuatorAutoConfiguration
@AutoConfiguration(after={ServletManagementContextAutoConfiguration.class,HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class})
@ConditionalOnProperty(prefix="management.cloudfoundry",
name="enabled",
matchIfMissing=true)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(org.springframework.web.servlet.DispatcherServlet.class)
@ConditionalOnBean(org.springframework.web.servlet.DispatcherServlet.class)
@ConditionalOnCloudPlatform(CLOUD_FOUNDRY)
public class CloudFoundryActuatorAutoConfiguration
extends Object
Auto-configuration
to expose actuator endpoints for
Cloud Foundry to use.- Since:
- 2.0.0
- Author:
- Madhura Bhave
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
WebSecurityConfigurer
to tell Spring Security to ignore cloudfoundry specific paths. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloudFoundryHealthEndpointWebExtension
(HealthEndpointWebExtension healthEndpointWebExtension) cloudFoundryInfoEndpointWebExtension
(GitProperties properties, ObjectProvider<InfoContributor> infoContributors) org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryWebEndpointServletHandlerMapping
cloudFoundryWebEndpointServletHandlerMapping
(ParameterValueMapper parameterMapper, EndpointMediaTypes endpointMediaTypes, RestTemplateBuilder restTemplateBuilder, ServletEndpointsSupplier servletEndpointsSupplier, ControllerEndpointsSupplier controllerEndpointsSupplier, ApplicationContext applicationContext)
-
Constructor Details
-
CloudFoundryActuatorAutoConfiguration
public CloudFoundryActuatorAutoConfiguration()
-
-
Method Details
-
cloudFoundryHealthEndpointWebExtension
@Bean @ConditionalOnMissingBean @ConditionalOnAvailableEndpoint @ConditionalOnBean({HealthEndpoint.class,HealthEndpointWebExtension.class}) public CloudFoundryHealthEndpointWebExtension cloudFoundryHealthEndpointWebExtension(HealthEndpointWebExtension healthEndpointWebExtension) -
cloudFoundryInfoEndpointWebExtension
@Bean @ConditionalOnMissingBean @ConditionalOnAvailableEndpoint @ConditionalOnBean({InfoEndpoint.class,GitProperties.class}) public CloudFoundryInfoEndpointWebExtension cloudFoundryInfoEndpointWebExtension(GitProperties properties, ObjectProvider<InfoContributor> infoContributors) -
cloudFoundryWebEndpointServletHandlerMapping
@Bean public org.springframework.boot.actuate.autoconfigure.cloudfoundry.servlet.CloudFoundryWebEndpointServletHandlerMapping cloudFoundryWebEndpointServletHandlerMapping(ParameterValueMapper parameterMapper, EndpointMediaTypes endpointMediaTypes, RestTemplateBuilder restTemplateBuilder, ServletEndpointsSupplier servletEndpointsSupplier, ControllerEndpointsSupplier controllerEndpointsSupplier, ApplicationContext applicationContext)
-