crss-reg.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. lease:
  31. duration: 5
  32. instance:
  33. leaseRenewalIntervalInSeconds: 1
  34. leaseExpirationDurationInSeconds: 2
  35. feign:
  36. hystrix:
  37. enabled: false
  38. logging:
  39. level:
  40. com.netflix: INFO
  41. org.springframework.cloud: DEBUG
  42. org.springframework.security: DEBUG
  43. server:
  44. undertow:
  45. accesslog:
  46. dir: target
  47. enabled: true
  48. pattern: combined
  49. compression:
  50. enabled: true
  51. min-response-size: 1
  52. jackson:
  53. # for further customization please consult the documentation:
  54. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  55. # https://github.com/FasterXML/jackson-databind/wiki
  56. # deserialization:
  57. # FAIL_ON_UNKNOWN_PROPERTIES: true
  58. # DEFAULT_VIEW_INCLUSION: true
  59. serialization:
  60. write_dates_as_timestamps: false