From 973dd6d182e1881701004410f241217388e5a26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=8B=E6=B1=9F=E5=A4=A9=E6=9E=A2?= Date: Thu, 14 Apr 2022 02:46:29 +0000 Subject: [PATCH] =?UTF-8?q?update=20dubhe-server/yaml/gateway.yaml.=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9Einference-route/dubhe-terminal=20=E7=BD=91?= =?UTF-8?q?=E5=85=B3=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dubhe-server/yaml/gateway.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dubhe-server/yaml/gateway.yaml b/dubhe-server/yaml/gateway.yaml index e52eced..16924b0 100644 --- a/dubhe-server/yaml/gateway.yaml +++ b/dubhe-server/yaml/gateway.yaml @@ -139,4 +139,18 @@ spring: predicates: - Path=/api/v1/tadl/** filters: + - StripPrefix=3 + # 路由至dubhe-terminal 天枢专业版终端 + - id: dubhe-terminal + uri: lb://dubhe-terminal + predicates: + - Path=/api/v1/terminal/** + filters: + - StripPrefix=3 + # 路由至dubhe-inference + - id: inference-route + uri: lb://dubhe-inference + predicates: + - Path=/api/v1/inference/** + filters: - StripPrefix=3 \ No newline at end of file