crss-ui.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. data-extraction:
  21. path: /data-extraction/**
  22. serviceId: data-extraction-service
  23. admin-service:
  24. ribbon:
  25. listOfServers: http://admin:8080
  26. registration-service:
  27. ribbon:
  28. listOfServers: http://registration:8080
  29. metering-service:
  30. ribbon:
  31. listOfServers: http://metering:8080
  32. scheduler-service:
  33. ribbon:
  34. listOfServers: http://scheduler:8080
  35. data-extraction-service:
  36. ribbon:
  37. listOfServers: http://data-extraction:8080
  38. hystrix:
  39. command:
  40. default:
  41. execution:
  42. isolation:
  43. thread:
  44. timeoutInMilliseconds: 300000
  45. zuul.host.socket-timeout-millis: 30000
  46. ribbon:
  47. ConnectTimeout: 3000
  48. ReadTimeout: 60000
  49. maxAutoRetries: 1
  50. MaxAutoRetriesNextServer: 2
  51. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  52. # if size was modified please update also the registration's application.yml
  53. spring:
  54. http:
  55. multipart:
  56. max-file-size: "25Mb"
  57. max-request-size: "25Mb"
  58. resources:
  59. chain:
  60. gzipped: true
  61. server:
  62. compression:
  63. enabled: true
  64. min-response-size: 1
  65. undertow:
  66. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  67. buffer-size: 16384 # Socket buffer size. Default is 16kb
  68. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  69. worker-threads: 128 # CPU * 16
  70. ---
  71. spring:
  72. profiles: dev
  73. admin-service:
  74. ribbon:
  75. listOfServers: http://localhost:8082
  76. registration-service:
  77. ribbon:
  78. listOfServers: http://localhost:8081
  79. metering-service:
  80. ribbon:
  81. listOfServers: http://localhost:8084
  82. scheduler-service:
  83. ribbon:
  84. listOfServers: http://localhost:8085
  85. data-extraction-service:
  86. ribbon:
  87. listOfServers: http://localhost:8086