| | |
| | | - id: report-jimu # 路由的编号(积木报表) |
| | | uri: grayLb://report-server |
| | | predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组 |
| | | - Path=/jmreport/** |
| | | - Path=/jmreport/**, /drag/** |
| | | ## statistics-server 服务 |
| | | - id: statistics-admin-api # 路由的编号 |
| | | uri: grayLb://statistics-server |
| | |
| | | - Path=/admin-api/model/** |
| | | filters: |
| | | - RewritePath=/admin-api/model/v3/api-docs, /v3/api-docs |
| | | ## shasteel 服务 |
| | | - id: shasteel-admin-api # 路由的编号 |
| | | uri: grayLb://shasteel-server |
| | | predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组 |
| | | - Path=/admin-api/shasteel/** |
| | | filters: |
| | | - RewritePath=/admin-api/shasteel/v3/api-docs, /v3/api-docs |
| | | ## xmcpms 服务 |
| | | - id: xmcpms-admin-api # 路由的编号 |
| | | uri: grayLb://xmcpms-server |
| | | predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组 |
| | | - Path=/admin-api/xmcpms/** |
| | | filters: |
| | | - RewritePath=/admin-api/xmcpms/v3/api-docs, /v3/api-docs |
| | | ## xmcsms 服务 |
| | | - id: xmcsms-admin-api # 路由的编号 |
| | | uri: grayLb://xmcsms-server |
| | | predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组 |
| | | - Path=/admin-api/xmcsms/** |
| | | filters: |
| | | - RewritePath=/admin-api/xmcsms/v3/api-docs, /v3/api-docs |
| | | x-forwarded: |
| | | prefix-enabled: true # 避免 Swagger 重复带上额外的 /admin-api/system 前缀 |
| | | |
| | | server: |
| | | port: 48080 |
| | | servlet: |
| | | context-path: / |
| | | session: |
| | | timeout: 120s |
| | | |
| | | logging: |
| | | file: |
| | |
| | | - name: model-server |
| | | service-name: model-server |
| | | url: /admin-api/model/v3/api-docs |
| | | - name: report-server |
| | | service-name: report-server |
| | | url: /admin-api/report/v3/api-docs |
| | | --- #################### 平台相关配置 #################### |
| | | |
| | | iailab: |