|
@@ -0,0 +1,53 @@
|
|
|
+spring:
|
|
|
+ cloud:
|
|
|
+ gateway:
|
|
|
+ routes:
|
|
|
+ - id: glasses-qa-api-auth-glasses-login
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api/auth/glasses/login
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-mg}
|
|
|
+
|
|
|
+ - id: glasses-qa-api-auth-change-psw
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api/auth/changepassword
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: glasses-qa
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: glasses-qa-mg
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/mg/orders/downloadOrdersListGet,/mg/goods/downloadGoodsListGet,/mg/orders/downloadAmountListGet
|
|
|
+
|
|
|
+
|
|
|
+ - id: glasses-qa-api
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|