blob: ad1efe402b9617c82d3045ef757d97f5e26eeeb0 [file] [log] [blame]
chenbo0e267832018-08-21 11:19:05 +08001server:
2 port: 8080
3
4## logging
5logging:
6 level:
7 root: INFO
8 org.springframework.web: INFO
9 org.springframework.cloud.openfeign: TRACE
10 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
15 name: sample-client
16 thymeleaf:
17 cache: false
18
19feign:
20 client:
21 config:
22 default:
23 connectTimeout: 12000
24 readTimeout: 12000
25 loggerLevel: full
26 hystrix:
27 enabled: true
28
29hystrix:
30 command:
31 default:
32 execution:
33 timeout:
34 enabled: true
35 isolation:
36 thread:
37 timeoutInMilliseconds: 12000
38
39#infras.security.cas.enabled: true
40
41## CAS
42#应用访问地址
43app.server.host.url: http://localhost:8080
44#应用登录地址
45app.login.url: /web/caslogin
46#应用登出地址
47app.logout.url: /web/logout
48
49#CAS服务地址
50cas.server.host.url: http://101.231.81.202:9080/cas
51#CAS服务登录地址
52cas.server.host.login_url: ${cas.server.host.url}/login
53#CAS服务登出地址
54cas.server.host.logout_url: ${cas.server.host.url}/logout?service=${app.server.host.url}
55
56
57gateway.api.url: http://localhost:5555
58
59#sample-user.api.url: ${gateway.api.url}/sample-user
60sample-user.api.url: http://localhost:10010