blob: 8ad7215e4f32388af8531dc88e78531fb9d59434 [file] [log] [blame]
server:
port: 8081
ssl:
enabled: false
##
# logging
#
logging:
level:
root: INFO
com.supwisdom: DEBUG
# org.springframework.web: INFO
# org.springframework.cloud.openfeign: INFO
swagger2.apis.basePackage: com.supwisdom.institute
spring:
jackson:
time-zone: Asia/Shanghai
feign:
client:
config:
default:
#errorDecoder: com.supwisdom.leaveschool.common.config.BaseExceptionErrorDecoder
connectTimeout: 12000
readTimeout: 12000
loggerLevel: full
hystrix:
enabled: true
httpclient:
enabled: true
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 12000
##
# infras.online-doc
#
infras.online-doc.enabled: true
infras.online-doc.md-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/doc/
infras.online-doc.api-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/api-docs/
##
# server url for feign
#
sw-backend-base-api:
uri: http://localhost:8082
sw-backend-system-api:
uri: http://localhost:8082
sw-backend-biz-api:
uri: http://localhost:8082