crss-ui.yml 2.3 KB

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