Class NarayanaRecoveryTerminationControllerAutoConfiguration
java.lang.Object
dev.snowdrop.boot.narayana.openshift.recovery.NarayanaRecoveryTerminationControllerAutoConfiguration
@AutoConfiguration(after=StatefulsetRecoveryControllerAutoConfiguration.class)
@ConditionalOnBean(PodStatusManager.class)
public class NarayanaRecoveryTerminationControllerAutoConfiguration
extends Object
Camel Narayana controller auto configuration.
- Author:
- Nicola Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlogScrapingRecoveryErrorDetector(StatefulsetRecoveryControllerProperties properties, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) narayanaRecoveryTerminationController(PodStatusManager podStatusManager, org.springframework.beans.factory.ObjectProvider<List<ServiceShutdownController>> shutdownControllers, org.springframework.beans.factory.ObjectProvider<List<RecoveryErrorDetector>> recoveryErrorDetectors)
-
Constructor Details
-
NarayanaRecoveryTerminationControllerAutoConfiguration
public NarayanaRecoveryTerminationControllerAutoConfiguration()
-
-
Method Details
-
narayanaRecoveryTerminationController
@Bean(initMethod="start", destroyMethod="stop") @DependsOn("recoveryManagerService") @ConditionalOnMissingBean(NarayanaRecoveryTerminationController.class) public NarayanaRecoveryTerminationController narayanaRecoveryTerminationController(PodStatusManager podStatusManager, org.springframework.beans.factory.ObjectProvider<List<ServiceShutdownController>> shutdownControllers, org.springframework.beans.factory.ObjectProvider<List<RecoveryErrorDetector>> recoveryErrorDetectors) -
logScrapingRecoveryErrorDetector
@Bean @ConditionalOnProperty(value="snowdrop.narayana.openshift.recovery.log-scraping-error-detection-enabled", matchIfMissing=true) @ConditionalOnMissingBean(LogScrapingRecoveryErrorDetector.class) public LogScrapingRecoveryErrorDetector logScrapingRecoveryErrorDetector(StatefulsetRecoveryControllerProperties properties, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
-