svr-pack-resolve.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. spring:
  6. # REDIS
  7. redis:
  8. database: 0 # Database index used by the connection factory.
  9. port: 6379 # Redis server port.
  10. password: # Login password of the redis server.
  11. timeout: 0 # Connection timeout in milliseconds.
  12. #sentinel:
  13. # master: # Name of Redis server.
  14. # nodes: # Comma-separated list of host:port pairs.
  15. pool:
  16. 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.
  17. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  18. 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.
  19. 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.
  20. # SOLR (SolrProperties)
  21. data:
  22. solr:
  23. repositories.enabled: true # Enable Solr repositories.
  24. fast-dfs:
  25. pool:
  26. init-size: 5
  27. max-size: 20
  28. wait-time: 500
  29. connect-timeout: 2
  30. network-timeout: 30
  31. fast-dfs:
  32. charset: ISO8859-1
  33. http:
  34. tracker-http-port: 80
  35. anti-steal-token: no
  36. secret-key: FastDFS1234567890
  37. profile:
  38. data-buffer-size: 200 # HBase batch insert record buffer size.
  39. # 提取器参数,从数据集中提取摘要、事件时间与身份标识
  40. extractor:
  41. # 事件提取参数
  42. event:
  43. data-set:
  44. # 门诊从“门诊摘要”与“挂号”数据集提取事件
  45. # 住院从“病人摘要”,“入院记录”与“病案首页”提取事件
  46. # 值用于生成事件摘要
  47. -
  48. HDSC01_01: 门诊
  49. -
  50. HDSC01_02: 门诊
  51. -
  52. HDSC02_01: 住院
  53. -
  54. HDSC02_02: 住院
  55. -
  56. HDSC02_09: 住院
  57. meta-data:
  58. # 事件时间数据元
  59. -
  60. HDSD00_01_457_D: 挂号时间
  61. -
  62. HDSD00_01_185_D: 出院时间
  63. # 身份提取参数
  64. identity:
  65. datasets:
  66. - HDSA00_01 # 人口学
  67. - HDSC01_01 # 门诊摘要
  68. - HDSC02_01 # 住院摘要
  69. meta-data:
  70. id-card-no: HDSA00_01_016_S # 身份类型
  71. id-card-type: HDSA00_01_017_S # 身份标识
  72. # 卡提取参数
  73. card:
  74. data-set:
  75. -
  76. HDSC01_01: 门诊-病人摘要
  77. -
  78. HDSC01_02: 门诊-挂号
  79. -
  80. HDSC02_01: 住院-病人摘要
  81. -
  82. HDSC02_02: 住院-首页
  83. meta-data:
  84. -
  85. CARD_NO: 就诊卡号
  86. -
  87. CARD_TYPE: 就诊卡类型
  88. #error code and message
  89. ---
  90. spring:
  91. profiles: dev
  92. redis:
  93. host: 192.168.1.220 # Redis server host.
  94. data:
  95. solr:
  96. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  97. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  98. fast-dfs:
  99. tracker-server: 172.19.103.54:22122
  100. ---
  101. spring:
  102. profiles: test
  103. redis:
  104. host: 172.19.103.47 # Redis server host.
  105. data:
  106. solr:
  107. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  108. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  109. fast-dfs:
  110. tracker-server: 172.19.103.13:22122
  111. ---
  112. spring:
  113. profiles: prod
  114. redis:
  115. host: 11.1.2.20 # Redis server host.
  116. data:
  117. solr:
  118. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  119. zk-host: host-172-17-110-23,host-172-17-110-27,host-172-17-110-26:2181/solr # ZooKeeper host address in the form HOST:PORT.
  120. fast-dfs:
  121. tracker-server: 11.1.2.9:22122