@Configuration
@Profile(value="chaos-monkey")
@EnableConfigurationProperties(value={ChaosMonkeyProperties.class,AssaultProperties.class,WatcherProperties.class})
public class ChaosMonkeyConfiguration
extends Object
| Constructor and Description |
|---|
ChaosMonkeyConfiguration(ChaosMonkeyProperties chaosMonkeyProperties,
WatcherProperties watcherProperties,
AssaultProperties assaultProperties) |
| Modifier and Type | Method and Description |
|---|---|
ChaosMonkey |
chaosMonkey() |
ChaosMonkeyJmxEndpoint |
chaosMonkeyJmxEndpoint() |
ChaosMonkeyRestEndpoint |
chaosMonkeyRestEndpoint() |
SpringComponentAspect |
componentAspect() |
SpringControllerAspect |
controllerAspect() |
SpringRestControllerAspect |
restControllerAspect() |
SpringServiceAspect |
serviceAspect() |
ChaosMonkeySettings |
settings() |
public ChaosMonkeyConfiguration(ChaosMonkeyProperties chaosMonkeyProperties, WatcherProperties watcherProperties, AssaultProperties assaultProperties)
@Bean public ChaosMonkeySettings settings()
@Bean public ChaosMonkey chaosMonkey()
@Bean @Conditional(value=AttackControllerCondition.class) public SpringControllerAspect controllerAspect()
@Bean @Conditional(value=AttackRestControllerCondition.class) public SpringRestControllerAspect restControllerAspect()
@Bean @Conditional(value=AttackServiceCondition.class) public SpringServiceAspect serviceAspect()
@Bean @Conditional(value=AttackComponentCondition.class) public SpringComponentAspect componentAspect()
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint public ChaosMonkeyRestEndpoint chaosMonkeyRestEndpoint()
@Bean @ConditionalOnMissingBean @ConditionalOnEnabledEndpoint public ChaosMonkeyJmxEndpoint chaosMonkeyJmxEndpoint()
Copyright © 2018 codecentric AG. All rights reserved.