crss-reg.yml 1.4 KB

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