-
Notifications
You must be signed in to change notification settings - Fork 0
/
paascloud-provider-uac-dev.yml
131 lines (125 loc) · 3.82 KB
/
paascloud-provider-uac-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
spring:
mvc:
date-format: yyyy-MM-dd HH:mm:ss
jackson:
joda-date-time-format: yyyy-MM-dd HH:mm:ss
date-format: yyyy-MM-dd HH:mm:ss
datasource:
url: jdbc:mysql://paascloud-db-mysql:3306/paascloud_uac?characterEncoding=utf8&useSSL=false
mybatis:
type-aliases-package: com.paascloud.provider.model.domain
mapper-locations: classpath:mapper/*.xml,classpath*:sdk/mapper/*.xml
configuration:
map-underscore-to-camel-case: true
mapper:
mappers: com.paascloud.core.mybatis.MyMapper
not-empty: false
identity: MYSQL
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
liquibase:
change-log: classpath:liquibase/index.xml
user: ${spring.datasource.username}
password: ${spring.datasource.password}
url: ${spring.datasource.url}
security:
oauth2:
client:
clientId: paascloud-client-uac
clientSecret: paascloudClientSecret
access-token-uri: http://paascloud-gateway:7979/uac/oauth/token
user-authorization-uri: http://paascloud-gateway:7979/uac/oauth/authorize
resource:
id: paascloud-resource-uac
filter-order: 3
paascloud:
enableSqlLogInterceptor: false
aliyun:
rocketMq:
enable: true
reliableMessageConsumer: false
reliableMessageProducer: true
instanceName: paascloud-provider-uac
consumerGroup: CID_UAC
producerGroup: PID_UAC
auth:
rest-pwd-url: http://dev-login.paascloud.net/resetPwd?resetPwdKey=
active-user-url: http://dev-api.paascloud.net:7979/uac/auth/activeUser/
refresh-token-url: http://dev-api.paascloud.net:7979/uac/oauth/token
token:
interceptor:
enable: true
oauth2:
jwtSigningKey: paascloud
client:
id: ${security.oauth2.resource.id}
accessTokenUrl: ${security.oauth2.client.access-token-uri}
clientId: ${security.oauth2.client.clientId}
clientSecret: ${security.oauth2.client.clientSecret}
clientAuthenticationScheme: header
security:
social:
filterProcessesUrl: /auth/callback
qq:
app-id: 101431061
app-secret: 0154c848f45fc705412462d4f99a592c
providerId: qq
weixin:
app-id: wxd99431bbff8305a0
app-secret: 60f78681d063590a469f1b297feff3c4
providerId: weixin
code:
image:
expireIn: 180
url: /auth/register,/auth/submitResetPwdEmail,/auth/code/sms
sms:
expireIn: 600
url: /uac/auth/submitResetPwdPhone
mobileMaxSendCount: 1
ipMaxSendCount: 2
totalMaxSendCount: 3
oauth2:
tokenStore: jwt
clients[0]:
clientId: paascloud-client-uac
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[1]:
clientId: paascloud-browser
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[2]:
clientId: paascloud-client-gateway
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[3]:
clientId: paascloud-client-zipkin
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[4]:
clientId: paascloud-client-mdc
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[5]:
clientId: paascloud-client-omc
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[6]:
clientId: paascloud-client-opc
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"
clients[7]:
clientId: paascloud-client-tpc
clientSecret: paascloudClientSecret
accessTokenValidateSeconds: 7200
scope: "*"