| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #正式环境配置文件
- 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
- server:
- port: 8080
- 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:172.16.90.214:8079}
- BmsFeign:
- url: ${BMSFEIGN_URL:172.16.90.214:8078}
- TmsFeign:
- url: ${TMSFEIGN_URL:localhost:8086}
- WMSFeign:
- url: ${WMSFEIGN_URL:172.16.90.214:8093}
- OMSFeign:
- url: ${OMSFEIGN_URL:172.16.90.214:8095}
- RmsFeign:
- url: ${RMSFEIGN_URL:localhost:8060}
- IntegrationFeign:
- url: ${INTEGRATIONFEIGN_URL:172.16.90.214:8066}
- OTMSFeign:
- url: ${OTMSFEIGN_URL:172.16.90.214:8038}
- EmsFeign:
- url: ${TMSFEIGN_URL:172.16.90.214:8096}
- #远程调用
- feign:
- hystrix:
- enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
- client:
- config:
- default: #默认配置,连接时间要短,读取时间要长
- connectTimeout: 1000 #单位毫秒
- readTimeout: 10000 #单位毫秒
- #熔断器
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒
|