diff --git a/chaos-monkey-docs/src/main/asciidoc/changes.adoc b/chaos-monkey-docs/src/main/asciidoc/changes.adoc index 06e61419..6aad7603 100644 --- a/chaos-monkey-docs/src/main/asciidoc/changes.adoc +++ b/chaos-monkey-docs/src/main/asciidoc/changes.adoc @@ -1,13 +1,14 @@ [[changes]] -== Changes in {project-version} +== Changes in 3.1.1 -Built with Spring Boot {spring-boot-version} +Built with Spring Boot 3.2.3 === Bug Fixes // - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove. === Improvements // - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove. +- Increment level count exclusively for methods, classes or packages listed in WatchedCustomServices === New Features // - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove. @@ -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/eshaanganesh2[@eshaanganesh2] Thank you for your support! diff --git a/chaos-monkey-docs/src/main/asciidoc/faq.adoc b/chaos-monkey-docs/src/main/asciidoc/faq.adoc index 1c4089ca..fd8eaefe 100644 --- a/chaos-monkey-docs/src/main/asciidoc/faq.adoc +++ b/chaos-monkey-docs/src/main/asciidoc/faq.adoc @@ -53,5 +53,11 @@ To prevent these classes from being proxied, you can either: - mark them as final - don't mark them as spring `@Component` (or `@Service`, `@Controller`, ...). Instead, register them as `@Bean` inside a configuration. +=== My classes (or methods or packages) do not get assaulted after setting the WatchedCustomServices property + + - Ensure that the associated watcher property for the class/method/package is set to true + - Ensure that the fully qualified path of the class/method/package is set accurately + + diff --git a/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/component/ChaosMonkeyRequestScope.java b/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/component/ChaosMonkeyRequestScope.java index 3f803c7e..f65bb9bf 100644 --- a/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/component/ChaosMonkeyRequestScope.java +++ b/chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/component/ChaosMonkeyRequestScope.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2023 the original author or authors. + * Copyright 2018-2024 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. @@ -67,25 +67,31 @@ public ChaosMonkeyRequestScope(ChaosMonkeySettings chaosMonkeySettings, List