Class ConnectSdkHealthIndicatorAutoConfiguration
java.lang.Object
com.github.robtimus.connect.sdk.java.springboot.autoconfigure.ConnectSdkHealthIndicatorAutoConfiguration
@Configuration
@AutoConfigureBefore(org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration.class)
@AutoConfigureAfter(ConnectSdkMerchantClientAutoConfiguration.class)
@ConditionalOnClass(org.springframework.boot.actuate.health.HealthIndicator.class)
@ConditionalOnMissingBean(ConnectSdkHealthIndicator.class)
@ConditionalOnBean(com.worldline.connect.sdk.java.v1.merchant.MerchantClient.class)
@ConditionalOnEnabledHealthIndicator("connect-sdk")
public class ConnectSdkHealthIndicatorAutoConfiguration
extends Object
- Author:
- Rob Spoor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnectSdkHealthIndicator
(MerchantClient merchantClient, int minInterval)
-
Constructor Details
-
ConnectSdkHealthIndicatorAutoConfiguration
public ConnectSdkHealthIndicatorAutoConfiguration()
-
-
Method Details
-
connectSdkHealthIndicator
@Bean public HealthIndicator connectSdkHealthIndicator(MerchantClient merchantClient, @Value("${connect.api.health.min-interval:60}") int minInterval)
-