application.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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: org.postgresql.Driver
  15. connectionTimeout: 10000
  16. maxPoolSize: 20
  17. test-on-borrow: true
  18. validation-query: SELECT 1
  19. redis:
  20. host: redis.marathon.l4lb.thisdcos.directory
  21. rabbitmq:
  22. host: rabbitmq.marathon.l4lb.thisdcos.directory
  23. security:
  24. oauth2:
  25. client:
  26. accessTokenUri: ${security.server.url:http://localhost:8082}/oauth/access_token
  27. userAuthorizationUri: ${security.server.url:http://localhost:8082}/oauth/authorize
  28. clientId: crss
  29. clientSecret: crsssecret
  30. authorized-grant-types: authorization_code,refresh_token,password
  31. scope: openid
  32. access-token-validity-seconds: 3600
  33. resource:
  34. filter-order: 3
  35. userInfoUri: ${security.server.url:http://localhost:8082}/user
  36. server:
  37. undertow:
  38. accesslog:
  39. dir: target
  40. enabled: true
  41. pattern: combined
  42. compression:
  43. enabled: true
  44. min-response-size: 1
  45. logging:
  46. pattern:
  47. level: 'username:%X{username:-system} %5p'
  48. level:
  49. com.pemc.crss: DEBUG
  50. com.netflix: WARN
  51. org.springframework.cloud: WARN
  52. graylog:
  53. host: logginggraylog.marathon.l4lb.thisdcos.directory
  54. crss:
  55. api.gateway: http://crssapplication-main-ui.marathon.l4lb.thisdcos.directory:8080