crss-ui.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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: 'Cookie,Set-Cookie'
  7. routes:
  8. admin:
  9. path: /admin/**
  10. serviceId: admin-service
  11. reg:
  12. path: /reg/**
  13. serviceId: registration-service
  14. metering:
  15. path: /metering/**
  16. serviceId: metering-service
  17. scheduler:
  18. path: /sched/**
  19. serviceId: scheduler-service
  20. data-extraction:
  21. path: /data-extraction/**
  22. serviceId: data-extraction-service
  23. settlement:
  24. path: /settlement/**
  25. serviceId: settlement-service
  26. admin-service:
  27. ribbon:
  28. listOfServers: http://admin:8080
  29. registration-service:
  30. ribbon:
  31. listOfServers: http://registration:8080
  32. metering-service:
  33. ribbon:
  34. listOfServers: http://metering:8080
  35. scheduler-service:
  36. ribbon:
  37. listOfServers: http://scheduler:8080
  38. data-extraction-service:
  39. ribbon:
  40. listOfServers: http://data-extraction:8080
  41. settlement-service:
  42. ribbon:
  43. listOfServers: http://app.reg.settlement.pemc.com
  44. hystrix:
  45. command:
  46. default:
  47. execution:
  48. isolation:
  49. thread:
  50. timeoutInMilliseconds: 300000
  51. zuul.host.socket-timeout-millis: 30000
  52. ribbon:
  53. ConnectTimeout: 3000
  54. ReadTimeout: 60000
  55. maxAutoRetries: 1
  56. MaxAutoRetriesNextServer: 2
  57. # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
  58. # if size was modified please update also the registration's application.yml
  59. spring:
  60. http:
  61. multipart:
  62. max-file-size: "25Mb"
  63. max-request-size: "25Mb"
  64. resources:
  65. chain:
  66. gzipped: true
  67. server:
  68. compression:
  69. enabled: true
  70. min-response-size: 1
  71. undertow:
  72. direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
  73. buffer-size: 16384 # Socket buffer size. Default is 16kb
  74. io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
  75. worker-threads: 128 # CPU * 16
  76. ---
  77. spring:
  78. profiles: dev
  79. admin-service:
  80. ribbon:
  81. listOfServers: http://localhost:8082
  82. registration-service:
  83. ribbon:
  84. listOfServers: http://localhost:8081
  85. metering-service:
  86. ribbon:
  87. listOfServers: http://localhost:8084
  88. scheduler-service:
  89. ribbon:
  90. listOfServers: http://localhost:8085
  91. data-extraction-service:
  92. ribbon:
  93. listOfServers: http://localhost:8086
  94. settlement-service:
  95. ribbon:
  96. listOfServers: http://app.reg.settlement.pemc.com