ag-zuul.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. server:
  2. port: ${ag-zuul.server.port}
  3. management:
  4. port: ${server.port}
  5. info:
  6. app:
  7. name: Ag-Zuul
  8. description: EHR Platform Zuul Service.
  9. version: 1.0.0
  10. zuul:
  11. ignored-services: '*'
  12. routes:
  13. svr-dfs:
  14. path: /dfs/**
  15. serviceId: svr-dfs
  16. svr-ehr-basic:
  17. path: /basic/**
  18. serviceId: svr-ehr-basic
  19. svr-quota:
  20. path: /quota/**
  21. serviceId: svr-quota
  22. svr-redis:
  23. path: /redis/**
  24. serivceId: svr-redis
  25. svr-resource:
  26. path: /resource/**
  27. serviceId: svr-resource
  28. svr-standard:
  29. path: /standard/**
  30. serviceId: svr-standard
  31. svr-authentication:
  32. path: /authentication/**
  33. serviceId: svr-authentication
  34. #档案包相关
  35. svr-health-profile:
  36. path: /profile/**
  37. serviceId: svr-health-profile
  38. svr-pack-analyzer:
  39. path: /pack-analyzer/**
  40. serviceId: svr-pack-analyzer
  41. svr-pack-mgr:
  42. path: /pack-mgr/**
  43. serviceId: svr-pack-mgr
  44. svr-pack-resolv:
  45. path: /pack-resolve/**
  46. serviceId: svr-pack-resolve
  47. spring:
  48. redis:
  49. database: 0
  50. timeout: 0
  51. pool:
  52. max-active: 8
  53. max-idle: 8
  54. max-wait: -1
  55. min-idle: 1
  56. datasource:
  57. driver-class-name: com.mysql.jdbc.Driver
  58. max-active: 20
  59. max-idle: 8
  60. min-idle: 8
  61. validation-query: SELECT 1
  62. test-on-borrow: true
  63. dbcp2:
  64. max-active: 20
  65. max-idle: 8
  66. min-idle: 8
  67. validation-query: SELECT 1
  68. test-on-borrow: true
  69. ---
  70. spring:
  71. profiles: dev
  72. datasource:
  73. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  74. username: weifuwu
  75. password: weifuwu
  76. redis:
  77. host: 172.19.103.47
  78. port: 6379
  79. password: redis!@456
  80. zuul:
  81. routes:
  82. jkzl-server:
  83. path: /jkzl/**
  84. url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
  85. #正式环境URL
  86. # url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
  87. zuul:
  88. routes:
  89. jkzl-server:
  90. path: /jkzl/**
  91. url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
  92. ---
  93. spring:
  94. profiles: test
  95. datasource:
  96. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  97. username: weifuwu
  98. password: weifuwu
  99. redis:
  100. host: 172.19.103.47
  101. port: 6379
  102. password: redis!@456
  103. zuul:
  104. routes:
  105. jkzl-server:
  106. path: /jkzl/**
  107. url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
  108. ---
  109. spring:
  110. profiles: prod_fz
  111. datasource:
  112. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  113. username: healthcloud
  114. password: GP8Qz4qU
  115. redis:
  116. host: 11.1.2.22 # Redis server host.
  117. port: 6390
  118. password: Kb6wKDQP1W4
  119. zuul:
  120. routes:
  121. jkzl-server:
  122. path: /jkzl/**
  123. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
  124. ---
  125. spring:
  126. profiles: prod_sr
  127. datasource:
  128. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  129. username: healthcloud
  130. password: GP8Qz4qU
  131. redis:
  132. host: 10.176.97.5
  133. port: 6390
  134. password: q4YaQemf
  135. zuul:
  136. routes:
  137. jkzl-server:
  138. path: /jkzl/**
  139. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
  140. ---
  141. spring:
  142. profiles: prod_fzzy
  143. datasource:
  144. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  145. username: healthcloud
  146. password: GP8Qz4qU
  147. redis:
  148. host: 100.100.1.161
  149. port: 6390
  150. password: q4YaQemf
  151. zuul:
  152. routes:
  153. jkzl-server:
  154. path: /jkzl/**
  155. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/