Skip to content

Commit 24be6ab

Browse files
authored
Remove deprecated runtimeAssaultCronExpression configuration property (#629)
2 parents 06cb314 + 0841ac7 commit 24be6ab

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

chaos-monkey-docs/src/main/asciidoc/changes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Built with Spring Boot {spring-boot-version}
88

99
=== Improvements
1010
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.
11+
- https://github.com/codecentric/chaos-monkey-spring-boot/pull/629[#629] Remove deprecated runtimeAssaultCronExpression configuration property
1112

1213
=== New Features
1314
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.

chaos-monkey-docs/src/main/asciidoc/endpoints.adoc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ management:
122122
"cpuActive": true,
123123
"cpuMillisecondsHoldLoad": 90000,
124124
"cpuLoadTargetFraction": 0.9,
125-
"runtimeAssaultCronExpression": "OFF"
126125
},
127126
"watcherProperties": {
128127
"controller": false,
@@ -253,8 +252,7 @@ Watcher config has changed
253252
"cpuActive": true,
254253
"cpuMillisecondsHoldLoad": 90000,
255254
"cpuLoadTargetFraction": 0.9,
256-
"cpuCronExpression": "OFF",
257-
"runtimeAssaultCronExpression": "OFF"
255+
"cpuCronExpression": "OFF"
258256
}
259257
----
260258
===== POST Assaults
@@ -312,7 +310,7 @@ Assault config has changed
312310
"killApplicationActive": false,
313311
"exception": {
314312
"type": "java.lang.IllegalArgumentException",
315-
"method": "<init>",
313+
"method": "<init>",
316314
"arguments": [
317315
{
318316
"className": "java.lang.String",
@@ -420,4 +418,3 @@ chaos.monkey:
420418
----
421419

422420
Chaosmonkey will now show up as a group in your Swagger UI.
423-

chaos-monkey-spring-boot/src/main/java/de/codecentric/spring/boot/chaos/monkey/endpoints/dto/AssaultPropertiesUpdate.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ public class AssaultPropertiesUpdate {
118118
@Nullable
119119
private String cpuCronExpression;
120120

121-
/**
122-
* @deprecated please use {@link #killApplicationCronExpression},
123-
* {@link #memoryCronExpression} or {@link #cpuCronExpression}
124-
* instead
125-
*/
126-
@Deprecated
127-
@Nullable
128-
private String runtimeAssaultCronExpression;
129-
130121
@Nullable
131122
private List<String> watchedCustomServices;
132123

0 commit comments

Comments
 (0)