svr-pack-resolve.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. data-set:
  66. -
  67. HDSA00_01: 人口学数据集
  68. -
  69. HDSC01_01: 门诊-病人摘要
  70. -
  71. HDSC02_01: 住院-病人摘要
  72. meta-data:
  73. id-card-no: HDSA00_01_016_S # 身份类型
  74. id-card-type: HDSA00_01_017_S # 身份标识
  75. # 卡提取参数
  76. card:
  77. data-set:
  78. -
  79. HDSC01_01: 门诊-病人摘要
  80. -
  81. HDSC01_02: 门诊-挂号
  82. -
  83. HDSC02_01: 住院-病人摘要
  84. -
  85. HDSC02_02: 住院-首页
  86. meta-data:
  87. -
  88. CARD_NO: 就诊卡号
  89. -
  90. CARD_TYPE: 就诊卡类型
  91. #error code and message
  92. ---
  93. spring:
  94. profiles: dev
  95. redis:
  96. host: 192.168.1.220 # Redis server host.
  97. data:
  98. solr:
  99. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  100. 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.
  101. fast-dfs:
  102. tracker-server: 172.19.103.54:22122
  103. ---
  104. spring:
  105. profiles: test
  106. redis:
  107. host: 172.19.103.47 # Redis server host.
  108. data:
  109. solr:
  110. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  111. 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.
  112. fast-dfs:
  113. tracker-server: 172.19.103.13:22122
  114. ---
  115. spring:
  116. profiles: prod
  117. redis:
  118. host: 11.1.2.20 # Redis server host.
  119. data:
  120. solr:
  121. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  122. 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.
  123. fast-dfs:
  124. tracker-server: 11.1.2.9:22122