Sfoglia il codice sorgente

修复网关服务器的配置。

yangzhijie 6 anni fa
parent
commit
e1c2401c5a
1 ha cambiato i file con 7 aggiunte e 33 eliminazioni
  1. 7 33
      src/main/resources/Application.yml

+ 7 - 33
src/main/resources/Application.yml

@@ -35,11 +35,7 @@ spring:
         - id: application_server
           uri: lb://prodog-server
           predicates:
-            - Path=/api/**
-        - id: application_server_druid
-          uri: lb://prodog-server
-          predicates:
-            - Path=/druid/**
+            - Path=/api/**,/druid/**
         - id: dingtalk_server
           uri: lb://dingtalk-server
           predicates:
@@ -49,15 +45,7 @@ spring:
         - id: workflow_server_app
           uri: lb://workflow-server
           predicates:
-            - Path=/workflow-app/**
-        - id: workflow_server_prodog
-          uri: lb://workflow-server
-          predicates:
-            - Path=/workflow-prodog/**
-        - id: workflow_server_system
-          uri: lb://workflow-server
-          predicates:
-            - Path=/workflow-system/**
+            - Path=/workflow-app/**,/workflow-prodog/**,/workflow-system/**
         - id: report_server_ureport
           uri: lb://report-server
           predicates:
@@ -66,31 +54,17 @@ spring:
         - id: pc_client
           uri: http://127.0.0.1:8081
           predicates:
-            - Path=/pcapp/**
+            - Path=/pcapp/**,/static/**
         # 正式的环境去掉该配置
-        - id: pc_client_static
-          uri: http://127.0.0.1:8081
-          predicates:
-            - Path=/static/**
-        # 正式的环境去掉该配置
-        - id: wms_client_static
-          uri: http://127.0.0.1:8083
-          predicates:
-            - Path=/static-wms-app/**
-        - id: wms_client_eam
-          uri: http://127.0.0.1:8083
+        - id: eam_client
+          uri: http://127.0.0.1:8082
           predicates:
-            - Path=/EamApp/**
+            - Path=/eamapp/**
         # 正式的环境去掉该配置
         - id: wms_client
           uri: http://127.0.0.1:8083
           predicates:
-            - Path=/wmsapp/**
-        # 正式的环境去掉该配置
-        - id: eam_client
-          uri: http://127.0.0.1:8082
-          predicates:
-            - Path=/eamapp/**
+            - Path=/wmsapp/**,/static-wms-app/**,/EamApp/**
         # 文件服务器
         - id: file_server
           uri: lb://file-server