刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 1 | server: |
| 2 | port: 8080 |
| 3 | |
| 4 | ## logging |
| 5 | logging: |
| 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 | |
| 13 | spring: |
| 14 | application: |
| 15 | name: sample-client |
| 16 | thymeleaf: |
| 17 | cache: false |
| 18 | |
| 19 | feign: |
| 20 | client: |
| 21 | config: |
| 22 | default: |
刘洪青 | 18c9332 | 2018-08-03 18:27:29 +0800 | [diff] [blame] | 23 | connectTimeout: 12000 |
| 24 | readTimeout: 12000 |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 25 | loggerLevel: full |
| 26 | hystrix: |
| 27 | enabled: true |
| 28 | |
| 29 | hystrix: |
| 30 | command: |
| 31 | default: |
| 32 | execution: |
| 33 | timeout: |
| 34 | enabled: true |
| 35 | isolation: |
| 36 | thread: |
刘洪青 | 18c9332 | 2018-08-03 18:27:29 +0800 | [diff] [blame] | 37 | timeoutInMilliseconds: 12000 |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 38 | |
刘洪青 | 34aaaad | 2018-08-19 22:19:26 +0800 | [diff] [blame] | 39 | #infras.security.cas.enabled: true |
| 40 | |
| 41 | ## CAS |
| 42 | #应用访问地址 |
| 43 | app.server.host.url: http://localhost:8080 |
| 44 | #应用登录地址 |
| 45 | app.login.url: /web/caslogin |
| 46 | #应用登出地址 |
| 47 | app.logout.url: /web/logout |
| 48 | |
| 49 | #CAS服务地址 |
| 50 | cas.server.host.url: http://101.231.81.202:9080/cas |
| 51 | #CAS服务登录地址 |
| 52 | cas.server.host.login_url: ${cas.server.host.url}/login |
| 53 | #CAS服务登出地址 |
| 54 | cas.server.host.logout_url: ${cas.server.host.url}/logout?service=${app.server.host.url} |
| 55 | |
| 56 | |
刘洪青 | 18c9332 | 2018-08-03 18:27:29 +0800 | [diff] [blame] | 57 | gateway.api.url: http://localhost:5555 |
刘洪青 | 620781f | 2018-08-18 08:28:03 +0800 | [diff] [blame] | 58 | |
刘洪青 | 34aaaad | 2018-08-19 22:19:26 +0800 | [diff] [blame] | 59 | #sample-user.api.url: ${gateway.api.url}/sample-user |
刘洪青 | 620781f | 2018-08-18 08:28:03 +0800 | [diff] [blame] | 60 | sample-user.api.url: http://localhost:10010 |