application test : chaos monkey
This commit is contained in:
@@ -39,6 +39,17 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>de.codecentric</groupId>
|
||||
<artifactId>chaos-monkey-spring-boot</artifactId>
|
||||
<version>2.1.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
@@ -62,8 +73,6 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user