Skip to content

Commit

Permalink
Always register outgoing watchers so they can be enabled later (#402)
Browse files Browse the repository at this point in the history
* always register outgoing watchers so they can be enabled later

* Add changelog
  • Loading branch information
F43nd1r committed Oct 20, 2023
1 parent 203157c commit 7cbf14f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions chaos-monkey-docs/src/main/asciidoc/changes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Built with Spring Boot {spring-boot-version}

=== Bug Fixes
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.
- https://github.com/codecentric/chaos-monkey-spring-boot/pull/402[#402] Always register outgoing watchers so they can be enabled later

=== Improvements
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.
Expand All @@ -16,5 +17,6 @@ Built with Spring Boot {spring-boot-version}
This release was only possible because of these great humans ❤️:

// - https://github.com/octocat[@octocat]
- https://github.com/F43nd1r[@F43nd1r]

Thank you for your support!
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021-2022 the original author or authors.
* Copyright 2021-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,6 @@
import org.springframework.web.client.RestTemplate;

@Configuration
@ConditionalOnProperty(prefix = "chaos.monkey.watcher", value = "rest-template", havingValue = "true")
@ConditionalOnClass(value = RestTemplate.class)
class ChaosMonkeyRestTemplateConfiguration {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021-2022 the original author or authors.
* Copyright 2021-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,6 @@
import org.springframework.web.reactive.function.client.WebClient;

@Configuration
@ConditionalOnProperty(prefix = "chaos.monkey.watcher", value = "web-client", havingValue = "true")
@ConditionalOnClass(value = WebClient.class)
class ChaosMonkeyWebClientConfiguration {

Expand Down

0 comments on commit 7cbf14f

Please sign in to comment.