application.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. server:
  2. port: ${svr-basic.server.port}
  3. info:
  4. app:
  5. name: SVR-BASIC
  6. description: EHR Platform Microservice.
  7. version: 1.0.0
  8. spring:
  9. datasource:
  10. driver-class-name: com.mysql.jdbc.Driver
  11. max-active: 20
  12. max-idle: 8
  13. min-idle: 8
  14. validation-query: SELECT 1
  15. test-on-borrow: true
  16. redis:
  17. database: 0 # Database index used by the connection factory.
  18. timeout: 0 # Connection timeout in milliseconds.
  19. #sentinel:
  20. # master: # Name of Redis server.
  21. # nodes: # Comma-separated list of host:port pairs.
  22. pool:
  23. 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.
  24. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  25. 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.
  26. 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.
  27. fast-dfs:
  28. connect-timeout: 10
  29. network-timeout: 60
  30. charset: ISO8859-1
  31. pool:
  32. init-size: 1
  33. max-size: 20
  34. wait-time: 500
  35. http:
  36. tracker-http-port: 80
  37. anti-steal-token: no
  38. secret-key: FastDFS1234567890
  39. eip:
  40. tenant: jkzl
  41. #健康上饶app-卫计委机构编码--用于居民注册设置默认权限
  42. jksr-app:
  43. orgcode: PDY026797
  44. registerRoleClientId: WYo0l73F8e,HPnz4GXfYA #用于创建这些应用的默认角色(健康上饶app,公众健康服务)
  45. hadoop:
  46. hbase-properties:
  47. hbase.zookeeper.property.clientPort: 2181
  48. zookeeper.znode.parent: /hbase-unsecure
  49. user:
  50. name: root
  51. ---
  52. spring:
  53. profiles: dev
  54. datasource:
  55. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  56. username: chenweishan
  57. password: chenweishan
  58. # -- unknown use --
  59. ldap:
  60. host: 172.19.103.87
  61. port: 389
  62. bindDn: cn=admin,dc=ehr,dc=jkzl
  63. password: jkzl
  64. root: dc=ehr,dc=jkzl
  65. # -- unknown use --
  66. redis:
  67. host: 172.19.103.47 # Redis server host.
  68. port: 6379
  69. password: redis!@456
  70. data:
  71. mongodb:
  72. host: 192.168.1.220
  73. port: 27017
  74. username: admin
  75. password: admin
  76. authenticationDatabase: admin
  77. database: ehr
  78. solr:
  79. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  80. elasticsearch:
  81. jest:
  82. uris: http://172.19.103.68:9200
  83. fast-dfs:
  84. tracker-server: 172.19.103.13:22122
  85. public-server: http://172.19.103.52:80
  86. es:
  87. index: wlyy_quota_test
  88. type: wlyy_quota_test
  89. host: http://172.19.103.68:9200
  90. tHost: 172.19.103.68:9300
  91. clusterName: jkzl
  92. h5:
  93. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  94. appId: 9000401
  95. clientId: WYo0l73F8e
  96. #福州总部网关参数配置
  97. fz-gateway:
  98. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  99. clientId: 9000401
  100. clientVersion: 1.0
  101. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  102. handlerId: 50871
  103. hadoop:
  104. hbase-properties:
  105. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com