File tree 1 file changed +53
-1
lines changed
1 file changed +53
-1
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,62 @@ data:
10
10
application:
11
11
name: ${service.name:cosec-gateway}
12
12
application.yaml : |-
13
+ management:
14
+ endpoint:
15
+ health:
16
+ show-details: always
17
+
13
18
server:
19
+ port: 8080
14
20
error:
15
21
whitelabel:
16
22
enabled: false
23
+ spring:
24
+ cloud:
25
+ gateway:
26
+ httpclient:
27
+ pool:
28
+ max-idle-time: 60S
29
+ globalcors:
30
+ corsConfigurations:
31
+ '[/**]':
32
+ allowedOrigins: "*"
33
+ allowedMethods: "*"
34
+ allowedHeaders: "*"
35
+ maxAge: 1800000
36
+ default-filters:
37
+ - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
38
+ routes:
39
+ - id: iam-service
40
+ uri: http://iam-service
41
+ predicates:
42
+ - Path=/iam/**
43
+ filters:
44
+ - StripPrefix=1
45
+
46
+
47
+ cosid:
48
+ namespace: ${spring.application.name}
49
+ machine:
50
+ enabled: true
51
+ distributor:
52
+ type: redis
53
+ generator:
54
+ enabled: true
55
+ namespace: saas
56
+
17
57
cosec:
18
58
authentication:
19
- enabled: false
59
+ enabled: false
60
+ jwt:
61
+ algorithm: hmac256
62
+ secret: ouoD7zTMwBqY5d5BKowOKz9__Q6z9__Q
63
+ ip2region:
64
+ enabled: false
65
+ authorization:
66
+ cache:
67
+ key-prefix: saas
68
+ logging:
69
+ level:
70
+ root: info
71
+ me.ahoo.cosec.authorization.SimpleAuthorization: debug
You can’t perform that action at this time.
0 commit comments