crss-reg.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. spring:
  2. jpa:
  3. properties:
  4. jadira.usertype.autoRegisterUserTypes: true
  5. hibernate.integration.envers.enabled: true
  6. http:
  7. multipart:
  8. maxFileSize: "25Mb"
  9. maxRequestSize: "25Mb"
  10. resources:
  11. chain:
  12. gzipped: true
  13. app:
  14. docmgt:
  15. root-folder: /crss/docmgt
  16. security:
  17. oauth2:
  18. client:
  19. accessTokenUri: http://app:8080/admin/oauth/access_token
  20. userAuthorizationUri: http://app:8080/admin/oauth/authorize
  21. clientId: crss
  22. clientSecret: crsssecret
  23. authorized-grant-types: authorization_code,refresh_token,password
  24. scope: openid
  25. access-token-validity-seconds: 3600
  26. resource:
  27. userInfoUri: http://app:8080/admin/user
  28. eureka:
  29. client:
  30. serviceUrl:
  31. defaultZone: http://discovery:8080/eureka/
  32. # healthcheck:
  33. # enabled: true
  34. feign:
  35. hystrix:
  36. enabled: false
  37. logging:
  38. level:
  39. com.netflix: INFO
  40. org.springframework.cloud: INFO
  41. org.springframework.security: INFO
  42. server:
  43. undertow:
  44. accesslog:
  45. dir: target
  46. enabled: true
  47. pattern: combined
  48. compression:
  49. enabled: true
  50. min-response-size: 1
  51. jackson:
  52. # for further customization please consult the documentation:
  53. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  54. # https://github.com/FasterXML/jackson-databind/wiki
  55. # deserialization:
  56. # FAIL_ON_UNKNOWN_PROPERTIES: true
  57. # DEFAULT_VIEW_INCLUSION: true
  58. serialization:
  59. write_dates_as_timestamps: false