From 7e0a0142e0e79e3934bc4ccc5ecb065f376b6394 Mon Sep 17 00:00:00 2001 From: yujt Date: Sat, 9 May 2020 09:40:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Egateway=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 ++ src/main/resources/application.yml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index 93925b9..843f906 100644 --- a/pom.xml +++ b/pom.xml @@ -240,6 +240,8 @@ lb://epdc-points-server lb://epdc-analysis-server + lb://epdc-property-server + 0 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 2baead3..0df0964 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -195,6 +195,13 @@ spring: - Path=${server.servlet.context-path}/analysis/** filters: - StripPrefix=1 + - id: epdc-property-server + uri: @gateway.routes.epdc-property-server.uri@ + order: 22 + predicates: + - Path=${server.servlet.context-path}/property/** + filters: + - StripPrefix=1 nacos: discovery: server-addr: @nacos.server-addr@