刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 1 | server: |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 2 | port: 8081 |
3 | ssl: | ||||
4 | enabled: false | ||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 5 | |
6 | |||||
7 | ## | ||||
8 | # logging | ||||
9 | # | ||||
10 | logging: | ||||
11 | level: | ||||
12 | root: INFO | ||||
13 | com.supwisdom: DEBUG | ||||
14 | # org.springframework.web: INFO | ||||
15 | # org.springframework.cloud.openfeign: INFO | ||||
16 | |||||
17 | |||||
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 18 | swagger2.apis.basePackage: com.supwisdom.institute |
19 | |||||
20 | |||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 21 | spring: |
22 | jackson: | ||||
23 | time-zone: Asia/Shanghai | ||||
24 | |||||
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 25 | |
26 | feign: | ||||
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 | |||||
39 | hystrix: | ||||
40 | command: | ||||
41 | default: | ||||
42 | execution: | ||||
43 | timeout: | ||||
44 | enabled: true | ||||
45 | isolation: | ||||
46 | thread: | ||||
47 | timeoutInMilliseconds: 12000 | ||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 48 | |
49 | |||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 50 | ## |
51 | # infras.online-doc | ||||
52 | # | ||||
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 53 | infras.online-doc.enabled: true |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 54 | infras.online-doc.md-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/doc/ |
55 | infras.online-doc.api-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/api-docs/ | ||||
56 | |||||
57 | |||||
58 | ## | ||||
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 59 | # server url for feign |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 60 | # |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 61 | sw-backend-base-api: |
62 | uri: http://localhost:8082 | ||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 63 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 64 | sw-backend-system-api: |
65 | uri: http://localhost:8082 | ||||
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 66 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 67 | sw-backend-biz-api: |
68 | uri: http://localhost:8082 |