blob: 8ad7215e4f32388af8531dc88e78531fb9d59434 [file] [log] [blame]
刘洪青e071d362019-08-16 09:39:49 +08001server:
刘洪青51768cb2019-09-08 10:06:17 +08002 port: 8081
3 ssl:
4 enabled: false
刘洪青e071d362019-08-16 09:39:49 +08005
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
刘洪青51768cb2019-09-08 10:06:17 +080018swagger2.apis.basePackage: com.supwisdom.institute
19
20
刘洪青e071d362019-08-16 09:39:49 +080021spring:
22 jackson:
23 time-zone: Asia/Shanghai
24
刘洪青51768cb2019-09-08 10:06:17 +080025
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
刘洪青e071d362019-08-16 09:39:49 +080048
49
刘洪青e071d362019-08-16 09:39:49 +080050##
51# infras.online-doc
52#
刘洪青51768cb2019-09-08 10:06:17 +080053infras.online-doc.enabled: true
刘洪青e071d362019-08-16 09:39:49 +080054infras.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##
刘洪青51768cb2019-09-08 10:06:17 +080059# server url for feign
刘洪青e071d362019-08-16 09:39:49 +080060#
刘洪青51768cb2019-09-08 10:06:17 +080061sw-backend-base-api:
62 uri: http://localhost:8082
刘洪青e071d362019-08-16 09:39:49 +080063
刘洪青51768cb2019-09-08 10:06:17 +080064sw-backend-system-api:
65 uri: http://localhost:8082
刘洪青e071d362019-08-16 09:39:49 +080066
刘洪青51768cb2019-09-08 10:06:17 +080067sw-backend-biz-api:
68 uri: http://localhost:8082