blob: 001a0bda86ba64f2a62baae43cc90722a2beac55 [file] [log] [blame]
刘洪青ffe2f412019-10-11 10:25:26 +08001server:
2 port: 8090
3 ssl:
4 enabled: false
5
6
7##
8# logging
9#
10logging:
11 level:
12 root: INFO
13 com.supwisdom: DEBUG
14# org.springframework.web: INFO
15# org.springframework.cloud.openfeign: INFO
16
17
18swagger2.apis.basePackage: com.supwisdom.institute
19
20
21spring:
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#
46infras.online-doc.enabled: true
47infras.online-doc.md-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/doc/
48infras.online-doc.api-docs.staitc.path: /Users/loie/c/work/git/institute/sw-backend/api-docs/
49
50
51## 平台OpenAPI
52poa.server.url: https://poa.supwisdom.com
53
54poa.client.id: nV8US9uAdFQ0ovuYpFOloXtFkME=
55poa.client.secret: dDgZAzuNnOjfsbm8iDohyVCXBU1GwImeMsmkJzjyGh8=
56poa.scopes: user:v1:readUser,user:v1:readOrganization,user:v1:readGroup,user:v1:readLabel,authz:v1:readRole
57
58## 开放接口地址
59user-data-service.server.url: ${poa.server.url}/apis/user/v1
60user-authorization-service.server.url: ${poa.server.url}/apis/authz/v1
61
62## 用户授权服务
63user-authorization-service.applicationId: 2