blob: 8ad7215e4f32388af8531dc88e78531fb9d59434 [file] [log] [blame]
刘洪青ffe2f412019-10-11 10:25:26 +08001server:
2 port: 8081
3 ssl:
4 enabled: false
5
6
7##
8# logging
9#
10logging:
11 level:
12 root: INFO
13 com.supwisdom: DEBUG
14# org.springframework.web: INFO
15# org.springframework.cloud.openfeign: INFO
16
17
18swagger2.apis.basePackage: com.supwisdom.institute
19
20
21spring:
22 jackson:
23 time-zone: Asia/Shanghai
24
25
26feign:
27 client:
28 config:
29 default:
30 #errorDecoder: com.supwisdom.leaveschool.common.config.BaseExceptionErrorDecoder
31 connectTimeout: 12000
32 readTimeout: 12000
33 loggerLevel: full
34 hystrix:
35 enabled: true
36 httpclient:
37 enabled: true
38
39hystrix:
40 command:
41 default:
42 execution:
43 timeout:
44 enabled: true
45 isolation:
46 thread:
47 timeoutInMilliseconds: 12000
48
49
50##
51# infras.online-doc
52#
53infras.online-doc.enabled: true
54infras.online-doc.md-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/doc/
55infras.online-doc.api-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/api-docs/
56
57
58##
59# server url for feign
60#
61sw-backend-base-api:
62 uri: http://localhost:8082
63
64sw-backend-system-api:
65 uri: http://localhost:8082
66
67sw-backend-biz-api:
68 uri: http://localhost:8082