|
|
@@ -0,0 +1,65 @@
|
|
|
+zuul:
|
|
|
+ host.socket-timeout-millis: 60000
|
|
|
+ ignoredServices: '*'
|
|
|
+ sensitiveHeaders: ''
|
|
|
+ ignoredHeaders: Access-Control-Allow-Credentials, Access-Control-Allow-Origin
|
|
|
+ routes:
|
|
|
+ admin:
|
|
|
+ path: /admin/**
|
|
|
+ serviceId: admin-service
|
|
|
+ reg:
|
|
|
+ path: /reg/**
|
|
|
+ serviceId: registration-service
|
|
|
+ uaa:
|
|
|
+ path: /uaa/**
|
|
|
+ stripPrefix: false
|
|
|
+ serviceId: crss-uaa
|
|
|
+admin-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://publicadmin-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+registration-service:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://publicregistration-service.marathon.l4lb.thisdcos.directory:8080
|
|
|
+crss-uaa:
|
|
|
+ ribbon:
|
|
|
+ listOfServers: http://publiccrss-uaa.marathon.l4lb.thisdcos.directory:9999
|
|
|
+
|
|
|
+hystrix:
|
|
|
+ command:
|
|
|
+ default:
|
|
|
+ execution:
|
|
|
+ isolation:
|
|
|
+ thread:
|
|
|
+ timeoutInMilliseconds: 300000
|
|
|
+#zuul.host.socket-timeout-millis: 30000
|
|
|
+
|
|
|
+ribbon:
|
|
|
+ ConnectTimeout: 300000
|
|
|
+ ReadTimeout: 600000
|
|
|
+ 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
|