svr-health-profile.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. hadoop:
  10. hbase-properties:
  11. - hbase.zookeeper.property.clientPort: 2181
  12. - zookeeper.znode.parent: /hbase-unsecure
  13. spring:
  14. # REDIS
  15. redis:
  16. database: 0 # Database index used by the connection factory.
  17. port: 6379 # Redis server port.
  18. password: # Login password of the redis server.
  19. timeout: 0 # Connection timeout in milliseconds.
  20. #sentinel:
  21. # master: # Name of Redis server.
  22. # nodes: # Comma-separated list of host:port pairs.
  23. pool:
  24. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  25. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  26. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  27. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  28. # SOLR (SolrProperties)
  29. data:
  30. solr:
  31. repositories.enabled: true # Enable Solr repositories.
  32. datasource:
  33. driver-class-name: com.mysql.jdbc.Driver
  34. max-active: 20
  35. max-idle: 8
  36. min-idle: 8
  37. validation-query: SELECT 1
  38. test-on-borrow: true
  39. fast-dfs:
  40. pool:
  41. init-size: 5
  42. max-size: 20
  43. wait-time: 500
  44. connect-timeout: 2
  45. network-timeout: 30
  46. charset: ISO8859-1
  47. http:
  48. tracker-http-port: 80
  49. anti-steal-token: no
  50. secret-key: FastDFS1234567890
  51. # 就诊事件与CDA文档类型关联
  52. cda-document-type-options:
  53. event-type:
  54. - "0": 0dae00065684c9920dc35654490aa9ac # 门诊
  55. - "1": 0dae00065684cb220dc35654490aa9ae # 住院
  56. ---
  57. spring:
  58. profiles: dev
  59. redis:
  60. host: 192.168.1.220 # Redis server host.
  61. data:
  62. solr:
  63. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  64. datasource:
  65. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  66. username: ha
  67. password: ha
  68. hadoop:
  69. hbase-properties:
  70. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  71. fast-dfs:
  72. tracker-server: 172.19.103.54:22122
  73. public-server: http://172.19.103.54:80
  74. ---
  75. spring:
  76. profiles: alpha
  77. redis:
  78. host: 192.168.1.220 # Redis server host.
  79. data:
  80. solr:
  81. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  82. datasource:
  83. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  84. username: ha
  85. password: ha
  86. hadoop:
  87. hbase-properties:
  88. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  89. fast-dfs:
  90. tracker-server: 172.19.103.54:22122
  91. public-server: http://172.19.103.54:80
  92. ---
  93. spring:
  94. profiles: test
  95. redis:
  96. host: 172.19.103.47 # Redis server host.
  97. data:
  98. solr:
  99. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  100. datasource:
  101. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  102. username: weifuwu
  103. password: weifuwu
  104. hadoop:
  105. hbase-properties:
  106. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  107. fast-dfs:
  108. tracker-server: 172.19.103.54:22122
  109. public-server: http://172.19.103.54:80
  110. ---
  111. spring:
  112. profiles: prod
  113. redis:
  114. host: 11.1.2.20 # Redis server host.
  115. data:
  116. solr:
  117. zk-host: 11.1.2.51,11.1.2.52,11.1.2.53:2181/solr # ZooKeeper host address in the form HOST:PORT.
  118. datasource:
  119. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  120. username: ha
  121. password: jkzlxm
  122. hadoop:
  123. hbase-properties:
  124. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  125. fast-dfs:
  126. tracker-server: 11.1.2.9:22122
  127. public-server: http://ds.ehr.yihu.com:22122