-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdemo-content.txt
53 lines (40 loc) · 1.25 KB
/
demo-content.txt
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
0. Prerequisites
Checkout branch "step1"
Open Postman
Open Git Bash (in Project Folder)
Increase Font-Size of IntellJ and Postman and Git Bash
Open Slides
1. Initial Step [1]
spring.profiles.active=chaos-monkey
chaos.monkey.enabled=true
chaos.monkey.watcher.service=true
chaos.monkey.assaults.level=1
chaos.monkey.assaults.latencyActive=true
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>chaos-monkey-spring-boot</artifactId>
<version>2.2.0</version>
</dependency>
2. Introduce Fixed Latency [5]
chaos.monkey.assaults.latencyRangeStart=3000
chaos.monkey.assaults.latencyRangeEnd=3000
3. Rest Controller [7]
chaos.monkey.watcher.restController=true
4. Enable Actuator and reset to basic configs [8]
spring.profiles.active=chaos-monkey
chaos.monkey.enabled=true
management.endpoint.chaosmonkey.enabled=true
management.endpoint.chaosmonkeyjmx.enabled=true
management.endpoints.web.exposure.include=*
5. Use Actuator To Configure Exception-Assault on Rest-Controller
Rest-Controller Watcher Postman
Exception Postman
6. DB-Outage - Use Actuator Watcher Config Repository [10]
Watcher Repository Postman
7. Run Chaos experiment [13]
chaos run experiments/experiments.json
8. Run Experiment again [16]
Switch branch
Restart App
Run experiment
9. Slides [17]