svr-ehr-basic.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. server:
  10. port: ${svr-ehr-basic.server.port}
  11. management:
  12. port: ${server.port}
  13. info:
  14. app:
  15. name: AppService
  16. description: EHR platform open service applicate administrative service.
  17. version: 1.0.0
  18. common.query.not.found: 该{0}不存在:{1}
  19. common.miss.parameter: 参数不能为空:{0}!
  20. common.notfound.entity: 没有找到{0}实体:{}
  21. std.version.invalid.stage: 该版本不处于编辑状态!
  22. fast-dfs:
  23. pool:
  24. init-size: 5
  25. max-size: 20
  26. wait-time: 500
  27. connect-timeout: 2
  28. network-timeout: 30
  29. charset: ISO8859-1
  30. http:
  31. tracker-http-port: 80
  32. anti-steal-token: no
  33. secret-key: FastDFS1234567890
  34. multipart:
  35. max-file-size: 100MB
  36. max-request-size: 100MB
  37. spring:
  38. datasource:
  39. driver-class-name: com.mysql.jdbc.Driver
  40. max-active: 20
  41. max-idle: 8
  42. min-idle: 8
  43. validation-query: SELECT 1
  44. test-on-borrow: true
  45. # REDIS
  46. redis:
  47. database: 0 # Database index used by the connection factory.
  48. port: 6379 # Redis server port.
  49. password: # Login password of the redis server.
  50. timeout: 0 # Connection timeout in milliseconds.
  51. #sentinel:
  52. # master: # Name of Redis server.
  53. # nodes: # Comma-separated list of host:port pairs.
  54. pool:
  55. 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.
  56. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  57. 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.
  58. 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.
  59. # SOLR (SolrProperties)
  60. data:
  61. solr:
  62. repositories.enabled: true # Enable Solr repositories.
  63. hadoop:
  64. hbase-properties:
  65. - hbase.zookeeper.property.clientPort: 2181
  66. - zookeeper.znode.parent: /hbase-unsecure
  67. ---
  68. spring:
  69. profiles: dev
  70. datasource:
  71. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  72. username: ha
  73. password: ha
  74. redis:
  75. host: 192.168.1.220 # Redis server host.
  76. data:
  77. solr:
  78. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  79. hadoop:
  80. hbase-properties:
  81. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  82. fast-dfs:
  83. tracker-server: 172.19.103.54:22122
  84. public-server: http://172.19.103.54
  85. ---
  86. spring:
  87. profiles: alpha
  88. datasource:
  89. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  90. username: ha
  91. password: ha
  92. redis:
  93. host: 172.19.103.47 # Redis server host.
  94. data:
  95. solr:
  96. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  97. hadoop:
  98. hbase-properties:
  99. - hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  100. fast-dfs:
  101. tracker-server: 172.19.103.54:22122
  102. public-server: http://172.19.103.54
  103. ---
  104. spring:
  105. profiles: test
  106. datasource:
  107. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  108. username: weifuwu
  109. password: weifuwu
  110. fast-dfs:
  111. tracker-server: 172.19.103.13:22122
  112. public-server: http://172.19.103.52:80
  113. ---
  114. spring:
  115. profiles: prod
  116. datasource:
  117. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  118. username: ha
  119. password: jkzlxm
  120. redis:
  121. host: 11.1.2.20 # Redis server host.
  122. data:
  123. solr:
  124. #zk-host: 11.1.2.51,11.1.2.52,11.1.2.53:2181/solr # ZooKeeper host address in the form HOST:PORT.
  125. zk-host: node1.hde.jkzlehr.com,node2.hde.jkzlehr.com,node3.hde.jkzlehr.com:2181/solr
  126. hadoop:
  127. hbase-properties:
  128. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  129. fast-dfs:
  130. tracker-server: 11.1.2.9:22122
  131. public-server: http://ds.ehr.yihu.com:22122