|
|
@@ -0,0 +1,105 @@
|
|
|
+zuul:
|
|
|
+ host.socket-timeout-millis: 30000
|
|
|
+ ignoredServices: '*'
|
|
|
+ sensitiveHeaders: ''
|
|
|
+ ignoredHeaders: Access-Control-Allow-Credentials, Access-Control-Allow-Origin
|
|
|
+ routes:
|
|
|
+ admin:
|
|
|
+ path: /admin/**
|
|
|
+ serviceId: admin-service
|
|
|
+ reg:
|
|
|
+ path: /reg/**
|
|
|
+ serviceId: registration-service
|
|
|
+ metering:
|
|
|
+ path: /metering/**
|
|
|
+ serviceId: metering-service
|
|
|
+ scheduler:
|
|
|
+ path: /sched/**
|
|
|
+ serviceId: scheduler-service
|
|
|
+ data-extraction:
|
|
|
+ path: /data-extraction/**
|
|
|
+ serviceId: data-extraction-service
|
|
|
+ settlement:
|
|
|
+ path: /settlement/**
|
|
|
+ serviceId: settlement-service
|
|
|
+ crss-meterprocess-qatool:
|
|
|
+ path: /qa-tool/**
|
|
|
+ serviceId: crss-meterprocess-qatool
|
|
|
+ crss-meterprocess-app:
|
|
|
+ path: /meter-process/**
|
|
|
+ serviceId: crss-meterprocess-app
|
|
|
+ crss-settlement-app:
|
|
|
+ path: /settlement/**
|
|
|
+ serviceId: crss-settlement-app
|
|
|
+ crss-dataflow-app:
|
|
|
+ path: /data-flow/**
|
|
|
+ serviceId: crss-dataflow-app
|
|
|
+ uaa:
|
|
|
+ path: /uaa/**
|
|
|
+ stripPrefix: false
|
|
|
+ url: http://localhost:9999
|
|
|
+
|
|
|
+admin-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+registration-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crssregistration-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+metering-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crssmetering-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+scheduler-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crssscheduler-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+data-extraction-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crssdata-extraction-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+crss-meterprocess-app:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crss-meterprocess-app.marathon.l4lb.thisdcos.directory:8081
|
|
|
+crss-settlement-app:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crss-settlement-app.marathon.l4lb.thisdcos.directory:8082
|
|
|
+crss-dataflow-app:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://crss-dataflow-app.marathon.l4lb.thisdcos.directory:8082
|
|
|
+
|
|
|
+hystrix:
|
|
|
+ command:
|
|
|
+ default:
|
|
|
+ execution:
|
|
|
+ isolation:
|
|
|
+ thread:
|
|
|
+ timeoutInMilliseconds: 300000
|
|
|
+zuul.host.socket-timeout-millis: 30000
|
|
|
+
|
|
|
+ribbon:
|
|
|
+ ConnectTimeout: 3000
|
|
|
+ ReadTimeout: 60000
|
|
|
+ maxAutoRetries: 1
|
|
|
+ MaxAutoRetriesNextServer: 2
|
|
|
+
|
|
|
+# NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
|
|
|
+# if size was modified please update also the registration's application.yml
|
|
|
+spring:
|
|
|
+ profiles:
|
|
|
+ include: client-sec
|
|
|
+ http:
|
|
|
+ multipart:
|
|
|
+ enabled: true
|
|
|
+ maxFileSize: "25Mb"
|
|
|
+ maxRequestSize: "25Mb"
|
|
|
+ fileSizeThreshold: "5Mb"
|
|
|
+ resolveLazily: false
|
|
|
+ resources:
|
|
|
+ chain:
|
|
|
+ gzipped: true
|
|
|
+server:
|
|
|
+ compression:
|
|
|
+ enabled: true
|
|
|
+ min-response-size: 1
|
|
|
+ undertow:
|
|
|
+ direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
|
|
|
+ buffer-size: 16384 # Socket buffer size. Default is 16kb
|
|
|
+ io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
|
|
|
+ worker-threads: 128 # CPU * 16
|