ag-zuul.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. ---
  81. spring:
  82. profiles: test
  83. datasource:
  84. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  85. username: weifuwu
  86. password: weifuwu
  87. redis:
  88. host: 172.19.103.47
  89. port: 6379
  90. password: redis!@456
  91. ---
  92. spring:
  93. profiles: prod_fz
  94. datasource:
  95. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  96. username: healthcloud
  97. password: GP8Qz4qU
  98. redis:
  99. host: 11.1.2.22 # Redis server host.
  100. port: 6390
  101. password: Kb6wKDQP1W4
  102. ---
  103. spring:
  104. profiles: prod_sr
  105. datasource:
  106. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  107. username: healthcloud
  108. password: GP8Qz4qU
  109. redis:
  110. host: 10.176.97.5
  111. port: 6390
  112. password: q4YaQemf
  113. ---
  114. spring:
  115. profiles: prod_fzzy
  116. datasource:
  117. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  118. username: healthcloud
  119. password: GP8Qz4qU
  120. redis:
  121. host: 100.100.1.161
  122. port: 6390
  123. password: q4YaQemf