svr-pack-resolve.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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-sets:
  44. # 门诊从“门诊摘要”与“挂号”数据集提取事件
  45. # 住院从“病人摘要”,“入院记录”与“病案首页”提取事件
  46. # 值用于生成事件摘要
  47. - HDSC01_01: 门诊
  48. - HDSC01_02: 门诊
  49. - HDSC02_01: 住院
  50. - HDSC02_02: 住院
  51. - HDSC02_09: 住院
  52. meta-data:
  53. # 事件时间数据元
  54. - HDSD00_01_457_D # 挂号时间
  55. - HDSD00_01_185_D # 出院时间
  56. # 身份提取参数
  57. identity:
  58. data-sets:
  59. - HDSA00_01 # 人口学
  60. meta-data:
  61. id-card-no: HDSA00_01_017_S # 身份标识
  62. id-card-type: HDSA00_01_016_S # 身份类型
  63. # 卡提取参数
  64. card:
  65. data-sets:
  66. - HDSC01_01: 门诊-病人摘要
  67. - HDSC01_02: 门诊-挂号
  68. - HDSC02_01: 住院-病人摘要
  69. - HDSC02_02: 住院-首页
  70. meta-data:
  71. - CARD_NO # 就诊卡号
  72. - CARD_TYPE # 就诊卡类型
  73. #error code and message
  74. ---
  75. spring:
  76. profiles: dev
  77. redis:
  78. host: 192.168.1.220 # Redis server host.
  79. data:
  80. solr:
  81. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  82. 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.
  83. fast-dfs:
  84. tracker-server: 172.19.103.54:22122
  85. ---
  86. spring:
  87. profiles: test
  88. redis:
  89. host: 172.19.103.47 # Redis server host.
  90. data:
  91. solr:
  92. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  93. 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.
  94. fast-dfs:
  95. tracker-server: 172.19.103.13:22122
  96. ---
  97. spring:
  98. profiles: prod
  99. redis:
  100. host: 11.1.2.20 # Redis server host.
  101. data:
  102. solr:
  103. host: http://172.19.103.10:8983/solr # Solr host. Ignored if "zk-host" is set.
  104. 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.
  105. fast-dfs:
  106. tracker-server: 11.1.2.9:22122