application.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. eureka:
  27. client:
  28. serviceUrl:
  29. defaultZone: http://localhost:8761/eureka/
  30. server:
  31. undertow:
  32. accesslog:
  33. dir: target
  34. enabled: true
  35. pattern: combined
  36. compression:
  37. enabled: true
  38. min-response-size: 1
  39. logging:
  40. pattern:
  41. level: 'username:%X{username:-system} %5p'
  42. level:
  43. com.pemc.crss: INFO
  44. com.netflix: WARN
  45. org.springframework.cloud: WARN
  46. graylog:
  47. host: 10.176.11.123
  48. crss:
  49. api.gateway: http://edge-server.marathon.l4lb.thisdcos.directory:8080
  50. security.url: ${crss.api.gateway}/uaa
  51. dispatch.interval: 5