@Configuration
@Profile(value="chaos-monkey")
@EnableConfigurationProperties(value={AssaultProperties.class,WatcherProperties.class})
@Import(value=EndpointConfiguration.class)
public class ChaosMonkeyConfiguration
extends Object
| Constructor and Description |
|---|
ChaosMonkeyConfiguration(WatcherProperties watcherProperties,
AssaultProperties assaultProperties) |
| Modifier and Type | Method and Description |
|---|---|
ChaosMonkey |
chaosMonkey() |
SpringControllerAspect |
controllerAspect() |
SpringRestControllerAspect |
restControllerAspect() |
SpringServiceAspect |
serviceAspect() |
ChaosMonkeySettings |
settings() |
public ChaosMonkeyConfiguration(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()
Copyright © 2018 codecentric AG. All rights reserved.