-
Notifications
You must be signed in to change notification settings - Fork 510
/
Copy pathpaascloud-provider-opc-dev.yml
97 lines (91 loc) · 2.55 KB
/
paascloud-provider-opc-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
spring:
http:
encoding:
force: true
charset: UTF-8
enabled: true
multipart:
enabled: true
max-request-size: 50MB
max-file-size: 50MB
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_opc?useUnicode=true&characterEncoding=UTF-8
liquibase:
change-log: classpath:liquibase/index.xml
user: ${spring.datasource.username}
password: ${spring.datasource.password}
url: ${spring.datasource.url}
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
security:
oauth2:
client:
clientId: paascloud-client-opc
clientSecret: paascloudClientSecret
access-token-uri: http://paascloud-gateway:7979/uac/oauth/token
user-authorization-uri: http://paascloud-gateway:7979/uac/oauth/authorize
resource:
user-info-uri: http://paascloud-gateway:7979/uac/user
prefer-token-info: false
jwt:
key-uri: http://paascloud-provider-uac:8000/oauth/token_key
paascloud:
enableSqlLogInterceptor: false
token:
interceptor:
enable: true
zk:
zkAddressList: paascloud-provider-zk:2181
qiniu:
key:
accessKey: yourQiniuAccessKey
secretKey: yourQiniuSecretKey
oss:
privateHost:
publicHost:
fileMaxSize: 104857600
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
tokenStore: jwt
aliyun:
key:
accessKeyId: yourAliyunAccessKey
accessKeySecret: yourAliyunKeySecret
rocketMq:
enable: true
reliableMessageConsumer: true
reliableMessageProducer: false
namesrvAddr: paascloud-mq-rocket:9876
instanceName: paascloud-provider-opc
consumerGroup: CID_OPC
producerGroup: PID_OPC
sms:
signName: 快乐学习网
regionId: cn-beijing
endpoint:
endpointName: cn-beijing
product: Dysmsapi
domain: dysmsapi.aliyuncs.com