-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_experiment_delayed_responses.json
86 lines (86 loc) · 2.92 KB
/
example_experiment_delayed_responses.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"title": "ResilienceTestDescription",
"description": "ResilienceTestDescription",
"method": [
{
"type": "action",
"name": "configure_assaults",
"provider": {
"type": "python",
"module": "chaosspring.actions",
"func": "change_assaults_configuration",
"arguments": {
"base_url": "http://localhost:7081/actuator",
"assaults_configuration": {
"level": 2,
"deterministic": "True",
"latencyRangeStart": 100,
"latencyRangeEnd": 200,
"latencyActive": "True",
"exceptionsActive": "False",
"killApplicationActive": "False",
"restartApplicationActive": "False",
"watchedCustomServices": [
"io.leasingninja.riskapi.domain.RiskApiService.calculateVoteResult"
]
}
}
}
},
{
"type": "action",
"name": "configure_watchers",
"provider": {
"type": "python",
"module": "chaosspring.actions",
"func": "change_watchers_configuration",
"arguments": {
"base_url": "http://localhost:7081/actuator",
"watchers_configuration": {
"controller": "false",
"restController": "false",
"service": "true",
"repository": "false",
"component": "false",
"restTemplate": "false",
"webClient": "false",
"actuatorHealth": "false",
"beans": [],
"beanClasses": [],
"excludeClasses": []
}
}
}
},
{
"type": "action",
"name": "enable_chaosmonkey",
"provider": {
"type": "python",
"module": "chaosspring.actions",
"func": "enable_chaosmonkey",
"arguments": {
"base_url": "http://localhost:7081/actuator"
}
},
"pauses": {
"before": 10,
"after": 20
}
}
],
"rollbacks": [
{
"type": "action",
"name": "disable_chaosmonkey",
"provider": {
"type": "python",
"module": "chaosspring.actions",
"func": "disable_chaosmonkey",
"arguments": {
"base_url": "http://localhost:7081/actuator"
}
}
}
]
}