刘洪青 | ffe2f41 | 2019-10-11 10:25:26 +0800 | [diff] [blame^] | 1 | server: |
| 2 | port: 8090 |
| 3 | ssl: |
| 4 | enabled: false |
| 5 | |
| 6 | |
| 7 | ## |
| 8 | # logging |
| 9 | # |
| 10 | logging: |
| 11 | level: |
| 12 | root: INFO |
| 13 | com.supwisdom: DEBUG |
| 14 | # org.springframework.web: INFO |
| 15 | # org.springframework.cloud.openfeign: INFO |
| 16 | |
| 17 | |
| 18 | swagger2.apis.basePackage: com.supwisdom.institute |
| 19 | |
| 20 | |
| 21 | spring: |
| 22 | jackson: |
| 23 | time-zone: Asia/Shanghai |
| 24 | |
| 25 | ## |
| 26 | # spring.redis |
| 27 | # |
| 28 | redis: |
| 29 | database: 0 |
| 30 | host: localhost |
| 31 | port: 6379 |
| 32 | password: |
| 33 | timeout: 10000 |
| 34 | |
| 35 | jedis: |
| 36 | pool: |
| 37 | maxIdle: 8 |
| 38 | minIdle: 0 |
| 39 | maxActive: 8 |
| 40 | maxWait: -1 |
| 41 | |
| 42 | |
| 43 | ## |
| 44 | # infras.online-doc |
| 45 | # |
| 46 | infras.online-doc.enabled: true |
| 47 | infras.online-doc.md-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/doc/ |
| 48 | infras.online-doc.api-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/api-docs/ |
| 49 | |
| 50 | |
| 51 | ## 平台OpenAPI |
| 52 | poa.server.url: https://poa.supwisdom.com |
| 53 | |
| 54 | poa.client.id: nV8US9uAdFQ0ovuYpFOloXtFkME= |
| 55 | poa.client.secret: dDgZAzuNnOjfsbm8iDohyVCXBU1GwImeMsmkJzjyGh8= |
| 56 | poa.scopes: user:v1:readUser,user:v1:readOrganization,user:v1:readGroup,user:v1:readLabel,authz:v1:readRole |
| 57 | |
| 58 | ## 开放接口地址 |
| 59 | user-data-service.server.url: ${poa.server.url}/apis/user/v1 |
| 60 | user-authorization-service.server.url: ${poa.server.url}/apis/authz/v1 |
| 61 | |
| 62 | ## 用户授权服务 |
| 63 | user-authorization-service.applicationId: 2 |