svr-pack-resolve.yml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. redis:
  127. host: 192.168.1.220 # Redis server host.
  128. data:
  129. solr:
  130. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  131. metrics:
  132. export:
  133. statsd:
  134. host: 192.168.1.221
  135. port: 8125
  136. fast-dfs:
  137. tracker-server: 172.19.103.54:22122
  138. public-server: http://172.19.103.54:22122
  139. hadoop:
  140. hbase-properties:
  141. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  142. ---
  143. spring:
  144. profiles: test
  145. redis:
  146. host: 172.19.103.47 # Redis server host.
  147. data:
  148. solr:
  149. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  150. metrics:
  151. export:
  152. statsd:
  153. host: 192.168.1.221
  154. port: 8125
  155. fast-dfs:
  156. tracker-server: 172.19.103.13:22122
  157. public-server: http://172.19.103.52:80
  158. hadoop:
  159. hbase-properties:
  160. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  161. ---
  162. spring:
  163. profiles: prod
  164. redis:
  165. host: 11.1.2.20 # Redis server host.
  166. data:
  167. solr:
  168. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  169. #zk-host: node1,node2,node3:2181/solr # ZooKeeper host address in the form HOST:PORT.
  170. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  171. metrics:
  172. export:
  173. statsd:
  174. host: localhost
  175. port: 8125
  176. fast-dfs:
  177. tracker-server: 11.1.2.9:22122
  178. public-server: http://ds.ehr.yihu.com:22122
  179. hadoop:
  180. hbase-properties:
  181. #- hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  182. - hbase.zookeeper.quorum: node1,node2,node3