blob: c395a5a4b3a917290069ca36e4ea9900cdef2253 [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
刘洪青777fdbb2018-08-22 10:32:04 +080039infras.security.api.basic.enabled: true
40
chenbo0e267832018-08-21 11:19:05 +080041#infras.security.cas.enabled: true
42
43## CAS
44#应用访问地址
45app.server.host.url: http://localhost:8080
46#应用登录地址
47app.login.url: /web/caslogin
48#应用登出地址
49app.logout.url: /web/logout
50
51#CAS服务地址
52cas.server.host.url: http://101.231.81.202:9080/cas
53#CAS服务登录地址
54cas.server.host.login_url: ${cas.server.host.url}/login
55#CAS服务登出地址
56cas.server.host.logout_url: ${cas.server.host.url}/logout?service=${app.server.host.url}
57
58
59gateway.api.url: http://localhost:5555
60
61#sample-user.api.url: ${gateway.api.url}/sample-user
62sample-user.api.url: http://localhost:10010