zuul-server-test.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. author:
  2. permit-all: /**/swagger-ui.html,/**/swagger-resources/**,/**/springfox-swagger-ui/**,/**/v2/**,/**/webjars/**,/platform/user/isUniquePhoneNo,/platform/user/login,/merchant/register,/platform/user/logout,/**/visitUpload/upload,/merchant/official/login,/merchant/merchant/sendSms,/wxpay/thridLogin/wechatLogin,/ali/thirdLogin/getAuthInfo,/mybank/upload/weChatUploadPhoto
  3. zuul:
  4. ignored-services: "*"
  5. sensitive-headers:
  6. add-host-header: true
  7. host:
  8. socket-timeout-millis: 10000
  9. connect-timeout-millis: 10000
  10. routes:
  11. api-q:
  12. path: /platform/**
  13. serviceId: platform-service
  14. semaphore:
  15. maxSemaphores: 200
  16. api-w:
  17. path: /api/**
  18. serviceId: api-service
  19. api-e:
  20. path: /wallet/**
  21. serviceId: wallet-service
  22. api-r:
  23. path: /order/**
  24. serviceId: order-service
  25. api-t:
  26. path: /equip/**
  27. serviceId: equip-service
  28. api-y:
  29. path: /wxpay/**
  30. serviceId: wxpay-service
  31. api-u:
  32. path: /protocol/**
  33. serviceId: protocol-service
  34. api-i:
  35. path: /instructions/**
  36. serviceId: instructions-service
  37. api-o:
  38. path: /server/**
  39. serviceId: server-service
  40. api-p:
  41. path: /ali/**
  42. serviceId: ali-service
  43. api-a:
  44. path: /sites/**
  45. serviceId: sites-service
  46. api-s:
  47. path: /merchant/**
  48. serviceId: merchant-service
  49. api-d:
  50. path: /gateway/**
  51. serviceId: zuul-server
  52. api-f:
  53. path: /visitUpload/**
  54. serviceId: upload-service
  55. api-g:
  56. path: /oauth/**
  57. serviceId: oauth-server
  58. semaphore:
  59. maxSemaphores: 300
  60. api-h:
  61. path: /zipkin/**
  62. serviceId: zipkin-service
  63. api-j:
  64. path: /log/**
  65. serviceId: logs-service
  66. api-k:
  67. path: /statement/**
  68. serviceId: statement-service
  69. api-l:
  70. path: /messagepush/**
  71. serviceId: messagepush-service
  72. api-z:
  73. path: /config/**
  74. serviceId: config-service
  75. api-x:
  76. path: /customer/**
  77. serviceId: customer-service
  78. api-c:
  79. path: /mybank/**
  80. serviceId: mybank-service
  81. api-v:
  82. path: /advertising/**
  83. serviceId: advertising-service
  84. api-sale:
  85. path: /sale/**
  86. serviceId: sale-service
  87. api-message:
  88. path: /message/**
  89. serviceId: message-service
  90. ribbon:
  91. ReadTimeout: 37000
  92. ConnectTimeout: 37000
  93. ServerListRefreshInterval: 37000
  94. hystrix:
  95. command:
  96. default:
  97. execution:
  98. isolation:
  99. thread:
  100. timeoutInMilliseconds: 60000