spring:
  application:
    name: javaServiceTreeFrameworkMiddleProxy
  sleuth:
    enabled: true
    sampler:
      probability: 1.0
  servlet:
    multipart:
      max-file-size: 10240MB
      max-request-size: 10240MB
  cloud:
    gateway:
      httpclient:
        connect-timeout: 7200000
        response-timeout: 7200000
        pool:
          max-connections: 500
          max-idle-time: 20000 #20 sec
          max-life-time: 60000 #60 sec


server:
  port: 13131
  address: 0.0.0.0
  netty:
    idle-timeout: 300000 #300 sec

logging:
  config: classpath:logback/logback-${spring.profiles.active}.xml

io:
  netty:
    resolver:
      dns:
        native: false

springfox:
  documentation:
    swagger:
      v2:
        path: /middle-proxy-api
    swagger-ui:
      base-url: /middle-proxy-api

feign:
  client:
    config:
      default:
        connectTimeout: 180000 #180sec
        readTimeout: 180000 #180sec