#测试环境配置文件 spring: datasource: url: jdbc:oracle:thin:@172.16.90.214:1521/gxmes password: gxmestest username: gxmestest driver-class-name: oracle.jdbc.OracleDriver application: name: antai-api mvc: async: request-timeout: 15000 # redis: # # Redis本地服务器地址,注意要开启redis服务,即那个redis-server.exe # host: 127.0.0.1 # # Redis服务器端口,默认为6379.若有改动按改动后的来 # port: 6379 # #Redis服务器连接密码,默认为空,若有设置按设置的来 # password: # jedis: # pool: # # 连接池最大连接数,若为负数则表示没有任何限制 # max-active: 8 # # 连接池最大阻塞等待时间,若为负数则表示没有任何限制 # max-wait: -1 # # 连接池中的最大空闲连接 # max-idle: 8 server: port: 9080 tomcat: max-threads: 1000 accept-count: 800 eureka: client: registerWithEureka: false fetchRegistry: false openfeign: ColumnDataFeign: url: ${COLUMNDATAFEIGN_URL:172.16.90.214:8083} AmsFeign: url: ${AMSFEIGN_URL:localhost:8079} BmsFeign: url: ${BMSFEIGN_URL:172.16.90.214:8078} TmsFeign: url: ${TMSFEIGN_URL:localhost:8086} WMSFeign: url: ${WMSFEIGN_URL:localhost:8093} OMSFeign: url: ${OMSFEIGN_URL:172.16.90.214:8095} RmsFeign: url: ${RMSFEIGN_URL:localhost:8060} IntegrationFeign: url: ${INTEGRATIONFEIGN_URL:localhost:8066} OTMSFeign: url: ${OTMSFEIGN_URL:localhost:8038} EmsFeign: url: ${TMSFEIGN_URL:localhost:8096} WebSocketFeign: url: ${WEBSOCKETFEIGN_URL:localhost:8000} SSOFeign: url: ${SSOFEIGN_URL:172.16.90.214:9001} REPORTFeign: url: ${REPORTFEIGN_URL:localhost:8055} #远程调用 feign: hystrix: enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效 client: config: default: #默认配置,连接时间要短,读取时间要长 connectTimeout: 1000 #单位毫秒 readTimeout: 150000 #单位毫秒 #熔断器 hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒 strategy: SEMAPHORE semaphore: maxConcurrentRequests: 1