crss-edge-public.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. zuul:
  2. host.socket-timeout-millis: 60000
  3. ignoredServices: '*'
  4. sensitiveHeaders: ''
  5. ignoredHeaders: Access-Control-Allow-Credentials, Access-Control-Allow-Origin
  6. routes:
  7. admin:
  8. path: /admin/**
  9. serviceId: admin-service
  10. reg:
  11. path: /reg/**
  12. serviceId: registration-service
  13. uaa:
  14. path: /uaa/**
  15. stripPrefix: false
  16. serviceId: crss-uaa
  17. admin-service:
  18. ribbon:
  19. listOfServers: http://publiccrssadmin-service.marathon.l4lb.thisdcos.directory:8080
  20. registration-service:
  21. ribbon:
  22. listOfServers: http://publiccrssregistration-service.marathon.l4lb.thisdcos.directory:8080
  23. crss-uaa:
  24. ribbon:
  25. listOfServers: http://publiccrsscrss-uaa.marathon.l4lb.thisdcos.directory:9999
  26. hystrix:
  27. command:
  28. default:
  29. execution:
  30. isolation:
  31. thread:
  32. timeoutInMilliseconds: 300000
  33. #zuul.host.socket-timeout-millis: 30000
  34. ribbon:
  35. ConnectTimeout: 300000
  36. ReadTimeout: 600000
  37. maxAutoRetries: 5
  38. MaxAutoRetriesNextServer: 10
  39. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  40. # if size was modified please update also the registration's application.yml
  41. spring:
  42. profiles:
  43. include: client-sec
  44. http:
  45. multipart:
  46. enabled: true
  47. maxFileSize: "25Mb"
  48. maxRequestSize: "25Mb"
  49. fileSizeThreshold: "5Mb"
  50. resolveLazily: false
  51. resources:
  52. chain:
  53. gzipped: true
  54. server:
  55. compression:
  56. enabled: true
  57. min-response-size: 1
  58. undertow:
  59. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  60. buffer-size: 16384 # Socket buffer size. Default is 16kb
  61. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  62. worker-threads: 128 # CPU * 16