crss-edge.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. crss-meterprocess-qatool:
  23. path: /qa-tool/**
  24. serviceId: crss-meterprocess-qatool
  25. crss-meterprocess-app:
  26. path: /meter-process/**
  27. serviceId: crss-meterprocess-app
  28. crss-settlement-app:
  29. path: /settlement/**
  30. serviceId: crss-settlement-app
  31. crss-dataflow-app:
  32. path: /data-flow/**
  33. serviceId: crss-dataflow-app
  34. crss-audit:
  35. path: /audit/**
  36. serviceId: crss-audit
  37. uaa:
  38. path: /uaa/**
  39. stripPrefix: false
  40. serviceId: crss-uaa
  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. crss-audit:
  66. ribbon:
  67. listOfServers: crss-audit.marathon.l4lb.thisdcos.directory:9094
  68. crss-uaa:
  69. ribbon:
  70. listOfSevers: crsscrss-uaa.marathon.l4lb.thisdcos.directory:9999
  71. hystrix:
  72. command:
  73. default:
  74. execution:
  75. isolation:
  76. thread:
  77. timeoutInMilliseconds: 300000
  78. zuul.host.socket-timeout-millis: 30000
  79. ribbon:
  80. ConnectTimeout: 3000
  81. ReadTimeout: 60000
  82. maxAutoRetries: 1
  83. MaxAutoRetriesNextServer: 2
  84. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  85. # if size was modified please update also the registration's application.yml
  86. spring:
  87. profiles:
  88. include: client-sec
  89. http:
  90. multipart:
  91. enabled: true
  92. maxFileSize: "25Mb"
  93. maxRequestSize: "25Mb"
  94. fileSizeThreshold: "5Mb"
  95. resolveLazily: false
  96. resources:
  97. chain:
  98. gzipped: true
  99. server:
  100. compression:
  101. enabled: true
  102. min-response-size: 1
  103. undertow:
  104. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  105. buffer-size: 16384 # Socket buffer size. Default is 16kb
  106. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  107. worker-threads: 128 # CPU * 16