hello-world-jdbi-postgres.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 forgid gzip compression of the replies
  11. gzip:
  12. enabled: false
  13. requestLog:
  14. appenders: []
  15. logging:
  16. appenders: []
  17. database:
  18. # the name of your JDBC driver
  19. driverClass: org.postgresql.Driver
  20. # the username
  21. user: benchmarkdbuser
  22. # the password
  23. password: benchmarkdbpass
  24. # the JDBC URL
  25. url: jdbc:postgresql://TFB-database:5432/hello_world
  26. # any properties specific to your JDBC driver:
  27. properties:
  28. charSet: UTF-8
  29. # the maximum amount of time to wait on an empty pool before throwing an exception
  30. maxWaitForConnection: 1s
  31. # the initial number of connections
  32. initialSize: 8
  33. # the minimum number of connections to keep open
  34. minSize: 8
  35. # the maximum number of connections to keep open
  36. maxSize: 256
  37. # whether or not idle connections should be validated
  38. checkConnectionWhileIdle: false
  39. # disable comments in SQL queries
  40. autoCommentsEnabled: false
  41. # disable autocommit in the JDBC driver
  42. autoCommitByDefault: false