|
@@ -13,26 +13,26 @@ spring:
|
|
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
|
|
- Path=/admin-api/system/**
|
|
|
filters:
|
|
|
- - RewritePath=/admin-api/system/v3/api-docs, /v3/api-docs # 配置,保证转发到 /v3/api-docs
|
|
|
+ - RewritePath=/admin-api/system/v3/api-docs, /v3/api-docs # 配置,保证转发到 /v3/api-docs
|
|
|
- id: system-app-api # 路由的编号
|
|
|
uri: grayLb://system-server
|
|
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
|
|
- Path=/app-api/system/**
|
|
|
filters:
|
|
|
- - RewritePath=/app-api/system/v3/api-docs, /v3/api-docs
|
|
|
+ - RewritePath=/app-api/system/v3/api-docs, /v3/api-docs
|
|
|
## infra-server 服务
|
|
|
- id: infra-admin-api # 路由的编号
|
|
|
uri: grayLb://infra-server
|
|
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
|
|
- Path=/admin-api/infra/**
|
|
|
filters:
|
|
|
- - RewritePath=/admin-api/infra/v3/api-docs, /v3/api-docs
|
|
|
+ - RewritePath=/admin-api/infra/v3/api-docs, /v3/api-docs
|
|
|
- id: infra-app-api # 路由的编号
|
|
|
uri: grayLb://infra-server
|
|
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|
|
|
- Path=/app-api/infra/**
|
|
|
filters:
|
|
|
- - RewritePath=/app-api/infra/v3/api-docs, /v3/api-docs
|
|
|
+ - RewritePath=/app-api/infra/v3/api-docs, /v3/api-docs
|
|
|
- id: infra-spring-boot-admin # 路由的编号(Spring Boot Admin)
|
|
|
uri: grayLb://infra-server
|
|
|
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
|