svr-health-profile.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  65. datasource:
  66. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  67. username: ha
  68. password: ha
  69. hadoop:
  70. hbase-properties:
  71. #- hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  72. - hbase.zookeeper.quorum: node1,node2,node3
  73. fast-dfs:
  74. tracker-server: 172.19.103.54:22122
  75. public-server: http://172.19.103.54:80
  76. ---
  77. spring:
  78. profiles: alpha
  79. redis:
  80. host: 192.168.1.220 # Redis server host.
  81. data:
  82. solr:
  83. #zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  84. zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  85. datasource:
  86. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  87. username: ha
  88. password: ha
  89. hadoop:
  90. hbase-properties:
  91. #- hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  92. - hbase.zookeeper.quorum: node1,node2,node3
  93. fast-dfs:
  94. tracker-server: 172.19.103.54:22122
  95. public-server: http://172.19.103.54:80
  96. ---
  97. spring:
  98. profiles: test
  99. redis:
  100. host: 172.19.103.47 # Redis server host.
  101. data:
  102. solr:
  103. #zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  104. zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  105. datasource:
  106. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  107. username: weifuwu
  108. password: weifuwu
  109. hadoop:
  110. hbase-properties:
  111. #- hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  112. - hbase.zookeeper.quorum: node1,node2,node3
  113. fast-dfs:
  114. tracker-server: 172.19.103.54:22122
  115. public-server: http://172.19.103.54:80
  116. ---
  117. spring:
  118. profiles: prod
  119. redis:
  120. host: 11.1.2.20 # Redis server host.
  121. data:
  122. solr:
  123. zk-host: 11.1.2.51,11.1.2.52,11.1.2.53:2181/solr # ZooKeeper host address in the form HOST:PORT.
  124. datasource:
  125. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  126. username: ha
  127. password: jkzlxm
  128. hadoop:
  129. hbase-properties:
  130. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  131. - hbase.zookeeper.quorum: node1,node2,node3
  132. fast-dfs:
  133. tracker-server: 11.1.2.9:22122
  134. public-server: http://ds.ehr.yihu.com:22122