crss-edge.yml 3.0 KB

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