application.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. # session:
  40. # cookie:
  41. # secure: true
  42. logging:
  43. pattern:
  44. level: 'username:%X{username:-system} %5p'
  45. level:
  46. com.pemc.crss: INFO
  47. com.netflix: WARN
  48. org.springframework.cloud: WARN
  49. graylog:
  50. host: 10.176.11.123
  51. crss:
  52. api.gateway: http://edge-server.marathon.l4lb.thisdcos.directory:8080
  53. security.url: ${crss.api.gateway}/uaa
  54. dispatch.interval: 5
  55. cfg:
  56. general:
  57. interval: 5
  58. calcValidation: true
  59. # used by stl-calc and stl-inv-gen
  60. batch:
  61. partitionSize:
  62. amsEmf: 1500
  63. amsRmf: 1500