svr-pack-resolve.yml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. server:
  2. port: ${svr-pack-resolve.server.port}
  3. management:
  4. port: ${server.port}
  5. logging:
  6. level:
  7. com:
  8. netflix: INFO
  9. org:
  10. springframework:
  11. web: INFO
  12. hibernate: ERROR
  13. spring:
  14. datasource:
  15. driver-class-name: com.mysql.jdbc.Driver
  16. max-active: 20
  17. max-idle: 8
  18. min-idle: 8
  19. validation-query: SELECT 1
  20. test-on-borrow: true
  21. # REDIS
  22. redis:
  23. database: 0 # Database index used by the connection factory.
  24. port: 6379 # Redis server port.
  25. password: # Login password of the redis server.
  26. timeout: 0 # Connection timeout in milliseconds.
  27. #sentinel:
  28. # master: # Name of Redis server.
  29. # nodes: # Comma-separated list of host:port pairs.
  30. pool:
  31. 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.
  32. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  33. 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.
  34. 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.
  35. # SOLR (SolrProperties)
  36. data:
  37. solr:
  38. repositories.enabled: true # Enable Solr repositories.
  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. hadoop:
  52. hbase-properties:
  53. - hbase.zookeeper.property.clientPort: 2181
  54. - zookeeper.znode.parent: /hbase-unsecure
  55. user:
  56. name: root
  57. ehr:
  58. # 档案包数据提取器参数,从数据集中提取摘要、事件时间与身份标识
  59. pack-extractor:
  60. # 事件提取参数,用于生成事件摘要
  61. # 门诊从“门诊摘要”与“挂号”数据集提取事件
  62. # 住院从“病人摘要”,“入院记录”与“病案首页”提取事件 Clinic 0门诊 Resident 1住院 MedicalExam 2体检
  63. event:
  64. data-sets:
  65. - HDSC01_01: Clinic
  66. - HDSC01_02: Clinic
  67. - HDSC02_01: Resident
  68. - HDSC02_02: Resident
  69. - HDSC02_09: Resident
  70. meta-data:
  71. - HDSD00_01_457 # 挂号时间
  72. - HDSD00_01_575 # 入院时间
  73. #诊断信息
  74. diagnosis:
  75. data-sets:
  76. - HDSC01_03
  77. - HDSC02_17
  78. meta-data:
  79. - HDSD00_01_550 # 门诊/住院诊断
  80. # 身份提取参数,从人口学提取
  81. identity:
  82. data-sets:
  83. - HDSA00_01
  84. meta-data:
  85. id-card-no: HDSA00_01_017 # 身份标识
  86. id-card-type: HDSA00_01_016 # 身份类型
  87. patient-name: HDSD00_01_002 # 姓名
  88. # 卡提取参数,从就诊摘要提取
  89. card:
  90. data-sets:
  91. - HDSC01_01: 门诊-病人摘要
  92. - HDSC01_02: 门诊-挂号
  93. - HDSC02_01: 住院-病人摘要
  94. - HDSC02_02: 住院-首页
  95. meta-data:
  96. - card-no: CARD_NO #就诊卡号
  97. - card-type: CARD_TYPE #就诊卡类型
  98. #error code and message
  99. ---
  100. spring:
  101. profiles: dev
  102. # Mysql
  103. datasource:
  104. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  105. username: ha
  106. password: ha
  107. redis:
  108. host: 192.168.1.220 # Redis server host.
  109. data:
  110. solr:
  111. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  112. metrics:
  113. export:
  114. statsd:
  115. host: 192.168.1.221
  116. port: 8125
  117. fast-dfs:
  118. tracker-server: 172.19.103.54:22122
  119. public-server: http://172.19.103.54:22122
  120. hadoop:
  121. hbase-properties:
  122. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  123. ---
  124. spring:
  125. profiles: alpha
  126. # Mysql
  127. datasource:
  128. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  129. username: ha
  130. password: ha
  131. redis:
  132. host: 192.168.1.220 # Redis server host.
  133. data:
  134. solr:
  135. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  136. metrics:
  137. export:
  138. statsd:
  139. host: 192.168.1.221
  140. port: 8125
  141. fast-dfs:
  142. tracker-server: 172.19.103.54:22122
  143. public-server: http://172.19.103.54:22122
  144. hadoop:
  145. hbase-properties:
  146. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  147. ---
  148. spring:
  149. profiles: test
  150. datasource:
  151. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  152. username: weifuwu
  153. password: weifuwu
  154. redis:
  155. host: 172.19.103.47 # Redis server host.
  156. data:
  157. solr:
  158. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  159. metrics:
  160. export:
  161. statsd:
  162. host: 192.168.1.221
  163. port: 8125
  164. fast-dfs:
  165. tracker-server: 172.19.103.13:22122
  166. public-server: http://172.19.103.52:80
  167. hadoop:
  168. hbase-properties:
  169. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  170. ---
  171. spring:
  172. profiles: prod
  173. datasource:
  174. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  175. username: ha
  176. password: jkzlxm
  177. redis:
  178. host: 11.1.2.20 # Redis server host.
  179. data:
  180. solr:
  181. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  182. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  183. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  184. metrics:
  185. export:
  186. statsd:
  187. host: localhost
  188. port: 8125
  189. fast-dfs:
  190. tracker-server: 11.1.2.9:22122
  191. public-server: http://ds.ehr.yihu.com:22122
  192. hadoop:
  193. hbase-properties:
  194. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  195. - hbase.zookeeper.quorum: node1,node2,node3