Skip to content

Commit a479dc0

Browse files
committed
Remove deprecated runtimeAssaultCronExpression configuration property
1 parent f80c65f commit a479dc0

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

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)