crss-ui.yml 2.5 KB

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