1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMilliseconds: 20000
- ribbon:
- ReadTimeout: 20000
- ConnectTimeout: 20000
- spring:
- #mq
- rabbitmq:
- host: 192.168.2.236
- port: 5672
- username: lantone
- password: lantone
- publisher-confirms: true
- virtual-host: /
- cloud:
- stream:
- bindings:
- outputLog:
- destination: myLog
- # contentType: text/plain # 实体 json string 在传递的类型装换 查看 http://docs.spring
- gateway:
- default-filters:
- routes:
- - id: user-service
- uri: lb://user-service
- predicates:
- - Path=/api/user/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: logger-service
- uri: lb://logger-service
- predicates:
- - Path=/api/log/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: bi-service
- uri: lb://bi-service
- predicates:
- - Path=/api/bi/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: diagbotman-service
- uri: lb://diagbotman-service
- predicates:
- - Path=/api/diagbotman/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: feedback-service
- uri: lb://feedback-service
- predicates:
- - Path=/api/feedback/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: knowledge-service
- uri: lb://knowledge-service
- predicates:
- - Path=/api/knowledge/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- - id: icss
- uri: http://192.168.2.165:8080
- predicates:
- - Path=/api/icss/**
- filters:
- - StripPrefix=2
- - id: triage-service
- uri: lb://triage-service
- predicates:
- - Path=/api/triage/**
- filters:
- - SwaggerHeaderFilter
- - StripPrefix=2
- server:
- port: 5050
- lantone:
- product: triage,1;icss,2
|