@@ -19,46 +19,48 @@ logging:
1919spring :
2020 cloud :
2121 gateway :
22- httpclient :
23- ssl :
24- useInsecureTrustManager : true
25- discovery :
26- locator :
27- enabled : true
28- routes :
29- - id : employee-service
30- uri : lb://employee-service
31- predicates :
32- - Path=/employee/**, /demo-microservices/employee/**
33- filters :
34- - ContextPathRewritePath=/demo-microservices/employee/(?<path>.*), /$\{path}
35- - RewritePath=/employee/(?<path>.*), /$\{path}
36- - id : department-service
37- uri : lb://department-service
38- predicates :
39- - Path=/department/**, /demo-microservices/department/**
40- filters :
41- - ContextPathRewritePath=/demo-microservices/department/(?<path>.*), /$\{path}
42- - RewritePath=/department/(?<path>.*), /$\{path}
43- - id : organization-service
44- uri : lb://organization-service
45- predicates :
46- - Path=/organization/**, /demo-microservices/organization/**
47- filters :
48- - ContextPathRewritePath=/demo-microservices/organization/(?<path>.*), /$\{path}
49- - RewritePath=/organization/(?<path>.*), /$\{path}
50- - id : openapi-proxy
51- uri : https://demos.springdoc.org
52- predicates :
53- - Path=/demo-microservices/v3/api-docs/**
54- filters :
55- - RewritePath=/demo-microservices/v3/api-docs/(?<path>.*), /demo-microservices/$\{path}/v3/api-docs
56- - id : openapi
57- uri : http://localhost:${server.port}
58- predicates :
59- - Path=/v3/api-docs/**
60- filters :
61- - RewritePath=/v3/api-docs/(?<path>.*), /$\{path}/v3/api-docs
22+ server :
23+ webflux :
24+ httpclient :
25+ ssl :
26+ useInsecureTrustManager : true
27+ discovery :
28+ locator :
29+ enabled : true
30+ routes :
31+ - id : employee-service
32+ uri : lb://employee-service
33+ predicates :
34+ - Path=/employee/**, /demo-microservices/employee/**
35+ filters :
36+ - ContextPathRewritePath=/demo-microservices/employee/(?<path>.*), /$\{path}
37+ - RewritePath=/employee/(?<path>.*), /$\{path}
38+ - id : department-service
39+ uri : lb://department-service
40+ predicates :
41+ - Path=/department/**, /demo-microservices/department/**
42+ filters :
43+ - ContextPathRewritePath=/demo-microservices/department/(?<path>.*), /$\{path}
44+ - RewritePath=/department/(?<path>.*), /$\{path}
45+ - id : organization-service
46+ uri : lb://organization-service
47+ predicates :
48+ - Path=/organization/**, /demo-microservices/organization/**
49+ filters :
50+ - ContextPathRewritePath=/demo-microservices/organization/(?<path>.*), /$\{path}
51+ - RewritePath=/organization/(?<path>.*), /$\{path}
52+ - id : openapi-proxy
53+ uri : https://demos.springdoc.org
54+ predicates :
55+ - Path=/demo-microservices/v3/api-docs/**
56+ filters :
57+ - RewritePath=/demo-microservices/v3/api-docs/(?<path>.*), /demo-microservices/$\{path}/v3/api-docs
58+ - id : openapi
59+ uri : http://localhost:${server.port}
60+ predicates :
61+ - Path=/v3/api-docs/**
62+ filters :
63+ - RewritePath=/v3/api-docs/(?<path>.*), /$\{path}/v3/api-docs
6264
6365springdoc :
6466 cache :
0 commit comments