crss-ui.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. zuul:
  2. ignoredServices: '*'
  3. #default is Cookie,Set-Cookie,Authorization.
  4. #removed Authorization from senstiive headers
  5. sensitiveHeaders: 'Cookie,Set-Cookie'
  6. routes:
  7. admin:
  8. path: /admin/**
  9. serviceId: crss-admin
  10. reg:
  11. path: /reg/**
  12. serviceId: crss-reg
  13. metering:
  14. path: /metering/**
  15. serviceId: crss-metering
  16. scheduler:
  17. path: /sched/**
  18. serviceId: crss-sched
  19. hystrix:
  20. command:
  21. default:
  22. execution:
  23. isolation:
  24. thread:
  25. timeoutInMilliseconds: 300000
  26. ribbon:
  27. ConnectTimeout: 3000
  28. ReadTimeout: 60000
  29. maxAutoRetries: 1
  30. MaxAutoRetriesNextServer: 2
  31. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  32. # if size was modified please update also the registration's application.yml
  33. spring:
  34. http:
  35. multipart:
  36. max-file-size: "25Mb"
  37. max-request-size: "25Mb"
  38. resources:
  39. chain:
  40. gzipped: true
  41. server:
  42. compression:
  43. enabled: true
  44. min-response-size: 1
  45. undertow:
  46. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  47. buffer-size: 16384 # Socket buffer size. Default is 16kb
  48. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  49. worker-threads: 128 # CPU * 16