Explorar el Código

增加MES调度服务器。

yangzhijie hace 5 años
padre
commit
f248956811
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      src/main/resources/Application.yml

+ 9 - 0
src/main/resources/Application.yml

@@ -50,6 +50,10 @@ spring:
           uri: lb://report-server
           uri: lb://report-server
           predicates:
           predicates:
             - Path=/ureport/**
             - Path=/ureport/**
+        - id: mes_schedule_server
+          uri: lb://mes-schedule-server
+          predicates:
+            - Path=/mesSchedule/**
         # 正式的环境去掉该配置
         # 正式的环境去掉该配置
         - id: pc_client
         - id: pc_client
           uri: http://127.0.0.1:8081
           uri: http://127.0.0.1:8081
@@ -61,6 +65,11 @@ spring:
           predicates:
           predicates:
             - Path=/EamApp/**
             - Path=/EamApp/**
         # 正式的环境去掉该配置
         # 正式的环境去掉该配置
+        - id: middleware_client
+          uri: http://127.0.0.1:78
+          predicates:
+            - Path=/mid/**
+        # 正式的环境去掉该配置
         - id: wms_client
         - id: wms_client
           uri: http://127.0.0.1:8083
           uri: http://127.0.0.1:8083
           predicates:
           predicates: