blob: cb599f1d82fe3af53338144147543b2622dbeb6b [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
刘洪青b180b2c2018-08-22 10:33:54 +080039
40infras.security.api.basic.enabled: true
41
刘洪青34aaaad2018-08-19 22:19:26 +080042#infras.security.cas.enabled: true
43
44## CAS
45#应用访问地址
46app.server.host.url: http://localhost:8080
47#应用登录地址
48app.login.url: /web/caslogin
49#应用登出地址
50app.logout.url: /web/logout
51
52#CAS服务地址
53cas.server.host.url: http://101.231.81.202:9080/cas
54#CAS服务登录地址
55cas.server.host.login_url: ${cas.server.host.url}/login
56#CAS服务登出地址
57cas.server.host.logout_url: ${cas.server.host.url}/logout?service=${app.server.host.url}
58
59
刘洪青18c93322018-08-03 18:27:29 +080060gateway.api.url: http://localhost:5555
刘洪青620781f2018-08-18 08:28:03 +080061
刘洪青34aaaad2018-08-19 22:19:26 +080062#sample-user.api.url: ${gateway.api.url}/sample-user
刘洪青620781f2018-08-18 08:28:03 +080063sample-user.api.url: http://localhost:10010