crss-reg.yml 1.5 KB

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