Class PlatformHealthIndicatorConfiguration
java.lang.Object
com.cumulocity.microservice.monitoring.health.indicator.PlatformHealthIndicatorConfiguration
@AutoConfiguration
@ConditionalOnBean(value=java.lang.Object.class,
annotation=EnableHealthIndicator.class)
@ConditionalOnProperty(value="management.health.platform.enabled",
havingValue="true")
@EnableConfigurationProperties(PlatformHealthIndicatorProperties.class)
public class PlatformHealthIndicatorConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionplatformHealthIndicator
(ContextService<MicroserviceCredentials> microservice, PlatformProperties properties, PlatformHealthIndicatorProperties configuration)
-
Constructor Details
-
PlatformHealthIndicatorConfiguration
public PlatformHealthIndicatorConfiguration()
-
-
Method Details
-
platformHealthIndicator
@Bean @ConditionalOnBean({PlatformProperties.class,ContextService.class}) public PlatformHealthIndicator platformHealthIndicator(ContextService<MicroserviceCredentials> microservice, PlatformProperties properties, PlatformHealthIndicatorProperties configuration)
-