diff --git a/application-test/app-test/pom.xml b/application-test/app-test/pom.xml
index e6d23bb4..e3ad73ad 100644
--- a/application-test/app-test/pom.xml
+++ b/application-test/app-test/pom.xml
@@ -39,6 +39,17 @@
lombok
+
+ de.codecentric
+ chaos-monkey-spring-boot
+ 2.1.1
+
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
org.springframework.boot
spring-boot-starter-test
@@ -62,8 +73,6 @@
test
-
-
org.junit.vintage
junit-vintage-engine
diff --git a/application-test/app-test/src/main/resources/application.yml b/application-test/app-test/src/main/resources/application.yml
index 22eeb9ad..3437ec1f 100644
--- a/application-test/app-test/src/main/resources/application.yml
+++ b/application-test/app-test/src/main/resources/application.yml
@@ -1,4 +1,7 @@
spring:
+ profiles:
+ active: chaos-monkey
+
datasource:
url: jdbc:postgresql://localhost:5432/study
username: study
@@ -6,10 +9,24 @@ spring:
jpa:
hibernate:
- ddl-auto: create
+ ddl-auto: update
generate-ddl: true
properties:
format_sql: true
hibernate:
show-sql: true
+
+management:
+ endpoint:
+ chaosmonkey:
+ enabled: true
+ endpoints:
+ web:
+ exposure:
+ include: health,info,chaosmonkey
+
+chaos:
+ monkey:
+ watcher:
+ repository: true
\ No newline at end of file