| server: |
| port: 8080 |
| |
| ## logging |
| logging: |
| level: |
| root: INFO |
| org.springframework.web: INFO |
| org.springframework.cloud.openfeign: TRACE |
| com.supwisdom.infras.security: DEBUG |
| com.supwisdom.leaveschool: DEBUG |
| |
| spring: |
| application: |
| name: sample-client |
| thymeleaf: |
| cache: false |
| |
| feign: |
| client: |
| config: |
| default: |
| connectTimeout: 12000 |
| readTimeout: 12000 |
| loggerLevel: full |
| hystrix: |
| enabled: true |
| |
| hystrix: |
| command: |
| default: |
| execution: |
| timeout: |
| enabled: true |
| isolation: |
| thread: |
| timeoutInMilliseconds: 12000 |
| |
| #infras.security.cas.enabled: true |
| |
| ## CAS |
| #应用访问地址 |
| app.server.host.url: http://localhost:8080 |
| #应用登录地址 |
| app.login.url: /web/caslogin |
| #应用登出地址 |
| app.logout.url: /web/logout |
| |
| #CAS服务地址 |
| cas.server.host.url: http://101.231.81.202:9080/cas |
| #CAS服务登录地址 |
| cas.server.host.login_url: ${cas.server.host.url}/login |
| #CAS服务登出地址 |
| cas.server.host.logout_url: ${cas.server.host.url}/logout?service=${app.server.host.url} |
| |
| |
| gateway.api.url: http://localhost:5555 |
| |
| #sample-user.api.url: ${gateway.api.url}/sample-user |
| sample-user.api.url: http://localhost:10010 |