hello-world-jdbi-postgres.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. server:
  2. type: simple
  3. applicationContextPath: /
  4. connector:
  5. type: http
  6. port: 9090
  7. useServerHeader: true
  8. # There is no proxy in front of the server
  9. useForwardedHeaders: false
  10. # Test requirements forbid gzip compression of the replies
  11. gzip:
  12. enabled: false
  13. requestLog:
  14. appenders: []
  15. logging:
  16. level: WARN
  17. appenders:
  18. - type: console
  19. database:
  20. # the name of your JDBC driver
  21. driverClass: org.postgresql.Driver
  22. # the username
  23. user: benchmarkdbuser
  24. # the password
  25. password: benchmarkdbpass
  26. # the JDBC URL
  27. url: jdbc:postgresql://tfb-database:5432/hello_world
  28. # any properties specific to your JDBC driver:
  29. properties:
  30. charSet: UTF-8
  31. # the maximum amount of time to wait on an empty pool before throwing an exception
  32. maxWaitForConnection: 1s
  33. # the initial number of connections
  34. initialSize: 8
  35. # the minimum number of connections to keep open
  36. minSize: 8
  37. # the maximum number of connections to keep open
  38. maxSize: 256
  39. # whether or not idle connections should be validated
  40. checkConnectionWhileIdle: false
  41. # disable comments in SQL queries
  42. autoCommentsEnabled: false
  43. # disable autocommit in the JDBC driver
  44. autoCommitByDefault: false