application.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. spring:
  2. jpa:
  3. properties:
  4. hibernate.integration.envers.enabled: true
  5. jadira.usertype.autoRegisterUserTypes: true
  6. show-sql: false
  7. hibernate:
  8. ddl-auto: none
  9. dialect: org.hibernate.dialect.PostgreSQLDialect
  10. hbm2ddl:
  11. import_files:
  12. datasource:
  13. platform : postgres
  14. driverClassName: com.edb.Driver
  15. test-on-borrow: true
  16. validation-query: SELECT 1
  17. hikari:
  18. maximumPoolSize: 5 # default 10; since microservice with more than 1 instance, we set this lower
  19. connectionTimeout: 10000 # 10s; default 30s
  20. idleTimeout: 300000 # 5m; default 10 mins
  21. maxLifetime: 900000 # 15m; default 30 mins
  22. redis:
  23. host: redis.marathon.l4lb.thisdcos.directory
  24. rabbitmq:
  25. host: rabbitmq.marathon.l4lb.thisdcos.directory
  26. server:
  27. undertow:
  28. accesslog:
  29. dir: target
  30. enabled: true
  31. pattern: combined
  32. compression:
  33. enabled: true
  34. min-response-size: 1
  35. logging:
  36. pattern:
  37. level: 'username:%X{username:-system} %5p'
  38. level:
  39. com.pemc.crss: INFO
  40. com.netflix: WARN
  41. org.springframework.cloud: WARN
  42. graylog:
  43. host: logginggraylog.marathon.l4lb.thisdcos.directory
  44. crss:
  45. api.gateway: http://crssapplication-main-ui.marathon.l4lb.thisdcos.directory:8080
  46. security.url: ${crss.api.gateway}/uaa