application.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. error:
  40. whitelabel:
  41. enabled: false
  42. # session:
  43. # cookie:
  44. # secure: true
  45. logging:
  46. pattern:
  47. level: 'username:%X{username:-system} %5p'
  48. level:
  49. com.pemc.crss: INFO
  50. com.netflix: WARN
  51. org.springframework.cloud: WARN
  52. graylog:
  53. host: 10.176.11.123
  54. crss:
  55. api.gateway: http://edge-server.marathon.l4lb.thisdcos.directory:8080
  56. security.url: ${crss.api.gateway}/uaa
  57. dispatch.interval: 5
  58. cfg:
  59. general:
  60. interval: 5
  61. calcValidation: true
  62. ams:
  63. invoice-date-restrict-days: 15
  64. due-date-restrict-days: 15
  65. remarks-max-length: 200
  66. addtl-comp-max-number-installment: 12
  67. # used by stl-calc and stl-inv-gen
  68. batch:
  69. partitionSize:
  70. amsEmf: 1500
  71. amsRmf: 1500