-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yml
160 lines (140 loc) · 4.2 KB
/
application.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
spring:
config:
import: application-service-discovery.yml
application:
name: gateway
cloud:
gateway:
routes:
- id: get-authik-openapi-api-yml
uri: lb://authik
predicates:
- Method=GET
- Path=/openapi/authik/api.yml
filters:
- RewritePath=/openapi/authik/api.yml, /openapi/api.yml
- id: get-matchmaker-openapi-api-yml
uri: lb://matchmaker
predicates:
- Method=GET
- Path=/openapi/matchmaker/api.yml
filters:
- RewritePath=/openapi/matchmaker/api.yml, /openapi/api.yml
- id: get-people-openapi-api-yml
uri: lb://people
predicates:
- Method=GET
- Path=/openapi/people/api.yml
filters:
- RewritePath=/openapi/people/api.yml, /openapi/api.yml
- id: put-authik-auth-telegram-web-app
uri: lb://authik
predicates:
- Method=PUT
- Path=/api/auth/telegram/web-app
- id: get-matchmaker-suggestions
uri: lb://matchmaker
predicates:
- Method=GET
- Path=/api/suggestions
- id: post-matchmaker-people-attitudes-incoming
uri: lb://matchmaker
predicates:
- Method=POST
- Path=/api/people/*/attitudes/incoming/*
- id: delete-matchmaker-attitudes
uri: lb://matchmaker
predicates:
- Method=DELETE
- Path=/api/attitudes
- id: get-matchmaker-people-matches
uri: lb://matchmaker
predicates:
- Method=GET
- Path=/api/people/{person_id}/matches
- id: get-people-person-id
uri: lb://people
predicates:
- Method=GET
- Path=/api/people/*
- id: delete-people-person-id
uri: lb://people
predicates:
- Method=DELETE
- Path=/api/people/*
- id: patch-people-person-id
uri: lb://people
predicates:
- Method=PATCH
- Path=/api/people/*
- id: post-people-person-id-photos
uri: lb://people
predicates:
- Method=POST
- Path=/api/people/*/photos
- id: get-people-person-id-photos-picture-id
uri: lb://people
predicates:
- Method=GET
- Path=/api/people/*/photos/*
- id: delete-people-person-id-photos-picture-id
uri: lb://people
predicates:
- Method=DELETE
- Path=/api/people/*/photos/*
- id: put-people-person-id-interests-topic-id
uri: lb://people
predicates:
- Method=PUT
- Path=/api/people/*/interests/*
- id: delete-people-person-id-interests-topic-id
uri: lb://people
predicates:
- Method=DELETE
- Path=/api/people/*/interests/*
- id: get-people-topics
uri: lb://people
predicates:
- Method=GET
- Path=/api/topics
- id: get-people-faculties
uri: lb://people
predicates:
- Method=GET
- Path=/api/faculties
- id: get-people-locations
uri: lb://people
predicates:
- Method=GET
- Path=/api/locations
server:
ssl:
enabled: true
key-store-type: PKCS12
key-store: classpath:keystore/itmo-dating-external.p12
key-store-password: ${KEY_STORE_PASSWORD}
protocol: TLSv1.3
enabled-protocols: TLSv1.3
client:
ssl:
key-store-type: PKCS12
key-store: classpath:keystore/itmo-dating-backend.p12
key-store-password: ${KEY_STORE_PASSWORD}
protocol: TLSv1.3
springdoc:
swagger-ui:
path: /swagger-ui.html
urls:
- name: authik
url: openapi/authik/api.yml
- name: matchmaker
url: openapi/matchmaker/api.yml
- name: people
url: openapi/people/api.yml
logging:
level:
gateway: WARN
group:
gateway: org.springframework.cloud.gateway.route
pattern:
console: "%clr(%d{yyyy-MM-dd'T'HH:mm:ss.SSS}){faint} %clr([%level]) %clr(%logger{36}){blue}: %msg%n"