Просмотр исходного кода

feature: 新增 m-qa 部分配置

Walker 1 год назад
Родитель
Сommit
900c17f04e
1 измененных файлов с 219 добавлено и 9 удалено
  1. 219 9
      src/main/resources/application-routes-m-qa.yml

+ 219 - 9
src/main/resources/application-routes-m-qa.yml

@@ -17,7 +17,7 @@ spring:
                 setHeaders: [ ]
         # 太和公众号 start
         # 门诊业务
-        - id: m-qa-nfthapi-auth-outpatient
+        - id: m-qa-nfthapi-outpatient
           uri: ${lb-servers.outpatient-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -28,7 +28,7 @@ spring:
               args:
                 authResponse401: true
                 auth: ${auths-name.ywt-wechat-nfth-mp}
-        - id: m-qa-nfthapi-no-auth-outpatient
+        - id: m-qa-nfthapi-auth-wechat
           uri: ${lb-servers.outpatient-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -40,7 +40,7 @@ spring:
                 refreshAuth: ${auths-name.ywt-wechat-nfth-mp}
                 setHeaders: [ 'pl-terminal', '8' ]
         # 其他转发到互联网业务
-        - id: m-qa-nfthapi-auth-internethosp
+        - id: m-qa-nfthapi-internethosp
           uri: ${lb-servers.internethospital-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -52,7 +52,7 @@ spring:
                 authResponse401: true
                 auth: ${auths-name.ywt-wechat-nfth-mp}
         # 静态页面
-        - id: m-qa-nfthwe-auth
+        - id: m-qa-nfthwe
           uri: ${servers-mapping.web-static}
           predicates:
             - Host=${host-name.m-qa}
@@ -70,7 +70,7 @@ spring:
 
         # 南方医务通公众号 start
         # 门诊业务
-        - id: m-qa-api-auth-outpatient
+        - id: m-qa-api-outpatient
           uri: ${lb-servers.outpatient-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -82,7 +82,7 @@ spring:
                 authResponse401: true
                 auth: ${auths-name.ywt-wechat-nfywt-mp}
                 setHeaders: [ 'pl-terminal', '2' ]
-        - id: m-qa-api-no-auth-outpatient
+        - id: m-qa-api-auth-wechat
           uri: ${lb-servers.outpatient-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -94,7 +94,7 @@ spring:
                 refreshAuth: ${auths-name.ywt-wechat-nfywt-mp}
                 setHeaders: [ 'pl-terminal', '2' ]
         # 其他转发到互联网业务
-        - id: m-qa-api-auth-internethosp
+        - id: m-qa-api-internethosp
           uri: ${lb-servers.internethospital-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -106,7 +106,7 @@ spring:
                 authResponse401: true
                 auth: ${auths-name.ywt-wechat-nfywt-mp}
         # 静态页面
-        - id: m-qa-nfywtwe-auth
+        - id: m-qa-nfywtwe
           uri: ${servers-mapping.web-static}
           predicates:
             - Host=${host-name.m-qa}
@@ -124,7 +124,7 @@ spring:
             - name: Auth
               args:
                 auth: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
-        - id: m-qa-nfywtwe-auth-wechat-base
+        - id: m-qa-api-auth-wechat-base
           uri: ${lb-servers.outpatient-web}
           predicates:
             - Host=${host-name.m-qa}
@@ -143,6 +143,216 @@ spring:
             - Path=/nfywtwe/notify
         # 南方医务通公众号 end
 
+        # 医生端 我的工作站 公众号 start
+        - id: m-qa-drapi-doctor-info
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/drapi/ysmp/doctor/info
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-doc-mp}
+        - id: m-qa-doctorwe-share-doctor-info
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/doctorwe/share/doctorInfo
+
+        - id: m-qa-drapi-auth-wechat
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/drapi/auth/wechat
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-doc-mp}
+                setHeaders: [ 'pl-terminal', '7' ]
+        - id: m-qa-drapi
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/drapi
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-doc-mp}
+                setHeaders: [ 'pl-terminal', '7' ]
+                authResponse401: true
+
+        - id: m-qa-doctorwe
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/doctorwe
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-doc-mp}
+        # 医生端 我的工作站 公众号 end
+
+        # 医生端 南方医院太和互联网医院医生版 公众号 start
+        - id: m-qa-thnetdocapi-doctor-info
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocapi/doctor/info
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-thnetdoc-mp}
+        - id: m-qa-thnetdocwe-share-doctor-info
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocwe/share/doctorInfo
+
+        - id: m-qa-thnetdocapi-auth-wechat
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocapi/auth/wechat
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-thnetdoc-mp}
+                setHeaders: [ 'pl-terminal', '13' ]
+        - id: m-qa-thnetdocapi
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocapi
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-thnetdoc-mp}
+                setHeaders: [ 'pl-terminal', '13' ]
+                authResponse401: true
+
+        - id: m-qa-thnetdocwe
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocwe
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-thnetdoc-mp}
+        # 医生端 南方医院太和互联网医院医生版 公众号 end
+
+        # 医生端 南方医院太和互联网医院医生版 公众号 start
+        - id: m-qa-nfyybyfydocapi-doctor-info
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/nfyybyfydocapi/doctor/info
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
+        - id: m-qa-nfyybyfydocwe-share-doctor-info
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/nfyybyfydocwe/share/doctorInfo
+
+        - id: m-qa-nfyybyfydocapi-auth-wechat
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/nfyybyfydocapi/auth/wechat
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                refreshAuth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
+                setHeaders: [ 'pl-terminal', '22' ]
+        - id: m-qa-nfyybyfydocapi
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/nfyybyfydocapi
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
+                setHeaders: [ 'pl-terminal', '22' ]
+                authResponse401: true
+
+        - id: m-qa-nfyybyfydocwe
+          uri: ${servers-mapping.web-static}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/nfyybyfydocwe
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
+        # 医生端 南方医院太和互联网医院医生版 公众号 end
+
+        # 顺丰推送 start
+        - id: m-qa-sf-route-back
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/sf/route/back
+        # 顺丰推送 end
+
+        # 乐普回调 start
+        - id: m-qa-lepu-notfiy
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/lepu/notify
+            -
+        # 乐普回调 end
+
+        # 流调 start
+        - id: m-qa-epid-survey-api
+          uri: ${lb-servers.internethospital-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/epidSurveyApi
+          filters:
+            - StripPrefix=1
+            - name: Auth
+              args:
+                setHeaders: [ 'ttoken', 'UunV9#!4VSB7n424' ]
+
+        # 流调 end
+
+        - id: m-qa-ainavi
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/ainavi
+
+        - id: m-qa-cloudfilm
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/cloudfilm
+          filters:
+            - name: Auth
+              args:
+                auth: ${auths-name.external-api}
+
+        - id: m-qa-bank-service
+          uri: ${lb-servers.ywt-platform-rest}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/bankService
+
+