Class ChaosMonkeyRestEndpoint


  • @RestControllerEndpoint(enableByDefault=false,
                            id="chaosmonkey")
    public class ChaosMonkeyRestEndpoint
    extends Object
    • Method Detail

      • updateAssaultProperties

        @PostMapping("/assaults")
        public org.springframework.http.ResponseEntity<String> updateAssaultProperties​(@RequestBody @Validated
                                                                                       AssaultPropertiesUpdate assaultProperties)
      • attack

        @PostMapping("/assaults/runtime/attack")
        public org.springframework.http.ResponseEntity<String> attack()
      • enableChaosMonkey

        @PostMapping("/enable")
        public org.springframework.http.ResponseEntity<ChaosMonkeyEnabledDto> enableChaosMonkey()
      • disableChaosMonkey

        @PostMapping("/disable")
        public org.springframework.http.ResponseEntity<ChaosMonkeyDisabledDto> disableChaosMonkey()
      • getStatus

        @GetMapping("/status")
        public org.springframework.http.ResponseEntity<String> getStatus()
      • updateWatcherProperties

        @PostMapping("/watchers")
        public org.springframework.http.ResponseEntity<String> updateWatcherProperties​(@RequestBody @Validated
                                                                                       WatcherPropertiesUpdate watcherProperties)
      • getWatcherSettings

        @GetMapping("/watchers")
        public WatcherProperties getWatcherSettings()