-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathead-authuser-service-prod.yaml
60 lines (54 loc) · 1.15 KB
/
ead-authuser-service-prod.yaml
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
server:
port: ${PORT}
servlet:
context-path: '/ead-authuser/'
spring:
application:
name: ead-authuser-service
datasource:
url: ${JDBC_DATABASE_URL}
username: ${JDBC_DATABASE_USERNAME}
password: ${JDBC_DATABASE_PASSWORD}
jpa:
hibernate:
ddl-auto: update
dialect: org.hibernate.dialect.PostgreSQLDialect
jdbc:
lob.non-contextual-creation: true
properties:
hibernate:
show_sql: true
rabbitmq:
addresses: ${CLOUDAMQP_URL}
ead:
api:
url:
course: 'http://ead-course-service/ead-course'
broker:
exchange:
userEvent: ead.userevent
authuser:
refreshscope:
name: UPDATE Gustavo
management:
endpoints:
web:
exposure:
include:
- refresh
- health
resilience4j:
circuitbreaker:
instances:
circuitbreakerInstance:
slidingWindowSize: 30
permittedNumberOfCallsInHalfOpenState: 2
slidingWindowType: TIME_BASED
minimumNumberOfCalls: 2
waitDurationInOpenState: 30s
failureRateThreshold: 80
retry:
instances:
retryInstance:
maxAttempts: 3
waitDuration: 5s