-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmicroservice-commandes.properties
30 lines (21 loc) · 1.11 KB
/
microservice-commandes.properties
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
#Configurations H2
spring.jpa.show-sql=true
spring.h2.console.enabled=true
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.url=jdbc:h2:mem:mytestdb
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
#Eureka :indique l'URL d'Eureka à laquelle il faut s'enregistrer
eureka.client.serviceUrl.defaultZone=http://localhost:9102/eureka/
#Actuator
management.endpoints.web.exposure.include=health,info,refresh
management.endpoint.refresh.enabled=true
#Les configurations personnalisés
mes-config.limitDeCommandes=12
#Resilience4j Circuit Breaker Configuration
resilience4j.circuitbreaker.instances.commandesCircuitBreaker.registerHealthIndicator=true
resilience4j.circuitbreaker.instances.commandesCircuitBreaker.failureRateThreshold=50
resilience4j.circuitbreaker.instances.commandesCircuitBreaker.waitDurationInOpenState=10000
resilience4j.circuitbreaker.instances.commandesCircuitBreaker.slidingWindowSize=100
resilience4j.circuitbreaker.instances.commandesCircuitBreaker.permittedNumberOfCallsInHalfOpenState=10