FEBS-Gateway.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. spring:
  2. boot:
  3. admin:
  4. client:
  5. url: http://${febs-monitor-admin}:8401
  6. username: febs
  7. password: 123456
  8. mvc:
  9. throw-exception-if-no-handler-found: true
  10. autoconfigure:
  11. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
  12. zuul:
  13. routes:
  14. auth:
  15. path: /auth/**
  16. serviceId: FEBS-Auth
  17. sensitiveHeaders: "*"
  18. system:
  19. path: /system/**
  20. serviceId: FEBS-Server-System
  21. sensitiveHeaders: "*"
  22. test:
  23. path: /test/**
  24. serviceId: FEBS-Server-Test
  25. sensitiveHeaders: "*"
  26. retryable: false
  27. ignored-services: "*"
  28. ribbon:
  29. eager-load:
  30. enabled: true
  31. host:
  32. connect-timeout-millis: 5000
  33. socket-timeout-millis: 5000
  34. add-proxy-headers: true
  35. SendErrorFilter:
  36. error:
  37. disable: true
  38. ribbon:
  39. ConnectTimeout: 3000
  40. ReadTimeout: 5000
  41. info:
  42. app:
  43. name: ${spring.application.name}
  44. description: "@project.description@"
  45. version: "@project.version@"
  46. management:
  47. endpoints:
  48. web:
  49. exposure:
  50. include: '*'
  51. endpoint:
  52. health:
  53. show-details: ALWAYS