blob: ad1efe402b9617c82d3045ef757d97f5e26eeeb0 [file] [log] [blame]
刘洪青f6b66112018-08-02 15:42:43 +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:
刘洪青18c93322018-08-03 18:27:29 +080023 connectTimeout: 12000
24 readTimeout: 12000
刘洪青f6b66112018-08-02 15:42:43 +080025 loggerLevel: full
26 hystrix:
27 enabled: true
28
29hystrix:
30 command:
31 default:
32 execution:
33 timeout:
34 enabled: true
35 isolation:
36 thread:
刘洪青18c93322018-08-03 18:27:29 +080037 timeoutInMilliseconds: 12000
刘洪青f6b66112018-08-02 15:42:43 +080038
刘洪青34aaaad2018-08-19 22:19:26 +080039#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
刘洪青18c93322018-08-03 18:27:29 +080057gateway.api.url: http://localhost:5555
刘洪青620781f2018-08-18 08:28:03 +080058
刘洪青34aaaad2018-08-19 22:19:26 +080059#sample-user.api.url: ${gateway.api.url}/sample-user
刘洪青620781f2018-08-18 08:28:03 +080060sample-user.api.url: http://localhost:10010