You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of POST watchers actuator endpoint, when we specify any classes that needs to be excluded, in that case, those classes are not getting updated in watchers config. In this case, POST request will be completed successfully with 200 OK response but when you verify the watchers config using GET watchers endpoint, exclude classes array will appear as empty.
NOTE: Exclude classes functionality is working fine when we specify the same via application.properties chaos.monkey.watcher.exclude-classes=com.example.chaos.monkey.service.UsersService
Expected Behavior
In case of POST watchers actuator endpoint, when we specify any class/classes that needs to be excluded then the watcher config should be updated correctly with specified set of classes.
Current Behavior
Exclude classes config is not getting updated. Exclude classes will always appear as empty in case of GET watchers endpoint.
Steps to Reproduce
Specify a single class/set of classes that needs to be excluded in case of POST watchers endpoint "excludeClasses": ["com.example.chaos.monkey.service.UsersService"]
POST request will be completed with 200 ok response.
Hit GET watchers actuator endpoint, excludeClasses will appear as empty.
Context (Environment)
It will be helpful if we can directly update the exclude classes via actuator endpoint instead of specifying the same in application.properties and restarting the app each and every time.
The text was updated successfully, but these errors were encountered:
In case of POST watchers actuator endpoint, when we specify any classes that needs to be excluded, in that case, those classes are not getting updated in watchers config. In this case, POST request will be completed successfully with 200 OK response but when you verify the watchers config using GET watchers endpoint, exclude classes array will appear as empty.
NOTE: Exclude classes functionality is working fine when we specify the same via application.properties
chaos.monkey.watcher.exclude-classes=com.example.chaos.monkey.service.UsersService
Expected Behavior
In case of POST watchers actuator endpoint, when we specify any class/classes that needs to be excluded then the watcher config should be updated correctly with specified set of classes.
Current Behavior
Exclude classes config is not getting updated. Exclude classes will always appear as empty in case of GET watchers endpoint.
Steps to Reproduce
"excludeClasses": ["com.example.chaos.monkey.service.UsersService"]
Context (Environment)
It will be helpful if we can directly update the exclude classes via actuator endpoint instead of specifying the same in application.properties and restarting the app each and every time.
The text was updated successfully, but these errors were encountered: