crss-ui.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. zuul:
  2. host.socket-timeout-millis: 30000
  3. ignoredServices: '*'
  4. #default is Cookie,Set-Cookie,Authorization.
  5. #removed Authorization from senstiive headers
  6. sensitiveHeaders: 'Cookie,Set-Cookie'
  7. routes:
  8. admin:
  9. path: /admin/**
  10. serviceId: admin-service
  11. reg:
  12. path: /reg/**
  13. serviceId: registration-service
  14. metering:
  15. path: /metering/**
  16. serviceId: metering-service
  17. scheduler:
  18. path: /sched/**
  19. serviceId: scheduler-service
  20. admin-service:
  21. ribbon:
  22. listOfServers: http://admin:8080
  23. registration-service:
  24. ribbon:
  25. listOfServers: http://registration:8080
  26. metering-service:
  27. ribbon:
  28. listOfServers: http://metering:8080
  29. scheduler-service:
  30. ribbon:
  31. listOfServers: http://scheduler:8080
  32. hystrix:
  33. command:
  34. default:
  35. execution:
  36. isolation:
  37. thread:
  38. timeoutInMilliseconds: 300000
  39. zuul.host.socket-timeout-millis: 30000
  40. ribbon:
  41. ConnectTimeout: 3000
  42. ReadTimeout: 60000
  43. maxAutoRetries: 1
  44. MaxAutoRetriesNextServer: 2
  45. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  46. # if size was modified please update also the registration's application.yml
  47. spring:
  48. http:
  49. multipart:
  50. max-file-size: "25Mb"
  51. max-request-size: "25Mb"
  52. resources:
  53. chain:
  54. gzipped: true
  55. server:
  56. compression:
  57. enabled: true
  58. min-response-size: 1
  59. undertow:
  60. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  61. buffer-size: 16384 # Socket buffer size. Default is 16kb
  62. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  63. worker-threads: 128 # CPU * 16
  64. ---
  65. spring:
  66. profiles: dev
  67. admin-service:
  68. ribbon:
  69. listOfServers: http://localhost:8082
  70. registration-service:
  71. ribbon:
  72. listOfServers: http://localhost:8081
  73. metering-service:
  74. ribbon:
  75. listOfServers: http://localhost:8084
  76. scheduler-service:
  77. ribbon:
  78. listOfServers: http://localhost:8085