Browse Source

feature: 新增配置

Walker 1 year ago
parent
commit
23158f2346
1 changed files with 79 additions and 0 deletions
  1. 79 0
      src/main/resources/application-routes-openapi-qa.yml

+ 79 - 0
src/main/resources/application-routes-openapi-qa.yml

@@ -0,0 +1,79 @@
+spring:
+  cloud:
+    gateway:
+      routes:
+        - id: openapi-qa-druggist
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/druggist
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+
+        - id: openapi-qa
+          uri: ${servers-mapping.external-api-service}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+
+        - id: openapi-qa-hosp-notify-v2
+          uri: ${servers-mapping.dong-hua-rest-service}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/hosp/notify/v2
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+
+        - id: openapi-qa-hosp-nfyybyfy-notify-v2
+          uri: ${servers-mapping.nfyybyfy-rest-service}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/hosp/nfyybyfy/notify/v2
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+
+        - id: openapi-qa-hosp-wx-ins-pay-refund
+          uri: ${servers-mapping.wx-ins-pay-rest-service}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/hosp/wxInsPay/refund
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+        - id: openapi-qa-auth-wx-web-auth
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/auth/wxWebAuth
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+        - id: openapi-qa-hosp-notify-his-esb-api
+          uri: ${servers-mapping.his-esb-api-service}
+          predicates:
+            - Host=${host-name.openapi-qa}
+            - Path=/hosp/notify/hisEsbApi/v2
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+