hello-world-mysql.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. appenders: []
  17. database:
  18. # the name of your JDBC driver
  19. driverClass: com.mysql.jdbc.Driver
  20. # the username
  21. user: benchmarkdbuser
  22. # the password
  23. password: benchmarkdbpass
  24. # the JDBC URL
  25. url: jdbc:mysql://TFB-database:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
  26. # any properties specific to your JDBC driver:
  27. properties:
  28. charSet: UTF-8
  29. hibernate.dialect: org.hibernate.dialect.MySQLDialect
  30. # the maximum amount of time to wait on an empty pool before throwing an exception
  31. maxWaitForConnection: 1s
  32. # the minimum number of connections to keep open
  33. minSize: 8
  34. # the maximum number of connections to keep open
  35. maxSize: 256
  36. # whether or not idle connections should be validated
  37. checkConnectionWhileIdle: false