crss-ui.yml 2.5 KB

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