svr-quota.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. info:
  2. app:
  3. name: SVR-QUOTA
  4. description: EHR Platform Microservice.
  5. version: 1.0.0
  6. spring:
  7. # REDIS
  8. redis:
  9. database: 0 # Database index used by the connection factory.
  10. timeout: 0 # Connection timeout in milliseconds.
  11. pool:
  12. 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.
  13. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  14. 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.
  15. 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.
  16. datasource:
  17. driver-class-name: com.mysql.jdbc.Driver
  18. max-active: 20
  19. max-idle: 8
  20. min-idle: 8
  21. validation-query: SELECT 1
  22. test-on-borrow: true
  23. hadoop:
  24. hbase-properties:
  25. hbase.zookeeper.property.clientPort: 2181
  26. zookeeper.znode.parent: /hbase-unsecure
  27. user:
  28. name: root
  29. elasticsearch:
  30. pool:
  31. init-size: 5
  32. max-size: 10
  33. ---
  34. spring:
  35. profiles: dev
  36. datasource:
  37. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  38. username: chenweishan
  39. password: chenweishan
  40. redis:
  41. host: 172.19.103.47
  42. port: 6379
  43. password: redis!@456
  44. data:
  45. solr:
  46. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  47. elasticsearch:
  48. jest:
  49. uris: http://172.19.103.9:9200
  50. elasticsearch:
  51. cluster-name: elasticsearch
  52. cluster-nodes: 172.19.103.9:9300
  53. hadoop:
  54. hbase-properties:
  55. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  56. ---
  57. spring:
  58. profiles: prod
  59. datasource:
  60. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  61. username: chenweishan
  62. password: chenweishan
  63. redis:
  64. host: 172.19.103.47 # Redis server host.
  65. port: 6379
  66. password: redis!@456
  67. data:
  68. solr:
  69. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  70. elasticsearch:
  71. jest:
  72. uris: http://172.19.103.9:9200
  73. elasticsearch:
  74. cluster-name: elasticsearch
  75. cluster-nodes: 172.19.103.9:9300
  76. hadoop:
  77. hbase-properties:
  78. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com