ag-zuul.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. ---
  86. spring:
  87. profiles: test
  88. datasource:
  89. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  90. username: weifuwu
  91. password: weifuwu
  92. redis:
  93. host: 172.19.103.47
  94. port: 6379
  95. password: redis!@456
  96. zuul:
  97. routes:
  98. jkzl-server:
  99. path: /jkzl/**
  100. url: http://ssotest.yihu.cn/OpenPlatform/cgiBin/1.0/
  101. ---
  102. spring:
  103. profiles: prod_fz
  104. datasource:
  105. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  106. username: healthcloud
  107. password: GP8Qz4qU
  108. redis:
  109. host: 11.1.2.22 # Redis server host.
  110. port: 6390
  111. password: Kb6wKDQP1W4
  112. zuul:
  113. routes:
  114. jkzl-server:
  115. path: /jkzl/**
  116. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
  117. ---
  118. spring:
  119. profiles: prod_sr
  120. datasource:
  121. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  122. username: healthcloud
  123. password: GP8Qz4qU
  124. redis:
  125. host: 10.176.97.5
  126. port: 6390
  127. password: q4YaQemf
  128. zuul:
  129. routes:
  130. jkzl-server:
  131. path: /jkzl/**
  132. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/
  133. ---
  134. spring:
  135. profiles: prod_fzzy
  136. datasource:
  137. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  138. username: healthcloud
  139. password: GP8Qz4qU
  140. redis:
  141. host: 100.100.1.161
  142. port: 6390
  143. password: q4YaQemf
  144. zuul:
  145. routes:
  146. jkzl-server:
  147. path: /jkzl/**
  148. url: http://apitest.yihu.com.cn/OpenPlatform/cgiBin/1.0/