From 6b13839488edcd06046e26a41fe897358176689c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期五, 13 十二月 2024 17:56:41 +0800 Subject: [PATCH] 采集质量 --- iailab-cloud/iailab-gateway/src/main/resources/application.yaml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml index 0923fc7..f0c4867 100644 --- a/iailab-cloud/iailab-gateway/src/main/resources/application.yaml +++ b/iailab-cloud/iailab-gateway/src/main/resources/application.yaml @@ -122,6 +122,20 @@ - 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 前缀 -- Gitblit v1.9.3