ccyunchina-deploy/roles/proprietary-cloud/templates/nacos/config.sql

2830 lines
92 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

use nacos;
DELETE FROM tenant_info where tenant_id='uat';
INSERT INTO tenant_info (kp, tenant_id, tenant_name, tenant_desc, create_source, gmt_create, gmt_modified) VALUES ('1', 'uat', 'uat', 'uat环境', 'nacos', 1576311829687, 1618381452880);
DELETE FROM config_info where tenant_id='uat';
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-user-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 5000
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /user-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
# 短信平台配置
#jackieonway:
#sms:
#sms-type: ucpass #可以不填默认是ali
#access-key:
#security-key: d954431e93cc6e7378b1f9eb7c4e59ae
#appid: 300a17a874d84c11814e214b5e8c28b0
#sign: afbe195555074e11b0c177cbbb9244a8
#rest-sserver: open.ucpaas.com
jackieonway:
sms:
sms-type: tencent #可以不填默认是ali
access-key:
security-key: a21a39d8cc91c6cddb8a04469fbd051d
appid: 1400270771
sign: CCYUNCHINA
templateId: 442091
yiwei:
sms:
account: hncc
password: hncc8888
url: http://47.106.150.165:8088/sms.aspx
userid: 690
sms-marketing:
account: hnccyx
password: hncc8888
url: http://120.25.217.84:8888/sms.aspx
userid: 770
default-sms-provider: jackieonway
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
beetl:
templatesPath: templates
enabled: true
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs
#===================================================================
#Fastdfs Nginx配置(外部访问地址) !!!作废!!!
#===================================================================
nginx:
ipAddr: 42.48.104.46:15043
web: http://42.48.104.46:15043/
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-user
url: ''''
description: ''''
title: pumkin-user
url: ''''
version: 1.0
wxpay:
config:
app_id: wxe9a2a628c27c7cbd
app_secret: 3971b37fcde85b8a959a49fab7c89158
pay:
key: qwertyuiop123456789asdfghjklzxcv
mch_id: 1560078681
notifyUrl: http:/uat-in.ccyunchina.com/user-api/wxPay/payNotify
refundNotifyUrl: http://uat-in.ccyunchina.com/user-api/wxPay/payNotify
# ===================================================================
# 微信配置
# ===================================================================
wx:
open:
appId: wx7f65c95095fab1d5
appSecret: c67defb535a444612f01f7d3409dc73e
webCallback: https://www.ccyunchina.com/portal/wechat/callback
public:
appId: wxe9a2a628c27c7cbd
appSecret: 3971b37fcde85b8a959a49fab7c89158
webCallback: https://www.ccyunchina.com/mobile/wechat/callback
mp:
appId: wx6a6edf9db24196c1
appSecret: 521fb7a46769a8c38fc0547f960acca5
trustie:
open:
appId: de08dd1599568e4b5135770c545c72ec990eed021a78aa083831ebdddc7cae0d
appSecret: 64bbde4c6352f99bc801f0363222360022f8bf93cb653629b1e6d9658121ad68
serverCallback: https://www.ccyunchina.com/user-api/trustieOpenPlatform/
webCallback: https://www.ccyunchina.com/portal/trustie/callback
serverUrl: https://www.trustie.net/
greatwall:
showVersionBanner: true
adapterDockingPeople: 刘俊山
open:
webCallback: https://www.ccyunchina.com/portal/greatwall/callback
feiShu:
appId: cli_9e89d2ba92f15107
appSecret: P5MbSW6ucmXOvT3UPYfhafvVjZe8C6VU
tenantAccessTokenUrl: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal/
sendMessageUrl: https://open.feishu.cn/open-apis/message/v4/send/
chatIds: 1008:oc_76ca4e0e477989434fe682e7f5360f99,2005:oc_252f7ddfbe2ee3756854b8baba2696da,1014:oc_7f63ef21894b663f48aaefa427ea1dc3
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv
# Producer 配置项
producer:
group: uat-producer-group # 生产者分组
send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
access-key: # Access Key ,可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/acl/user_guide.md 文档
secret-key: # Secret Key
enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/msg_trace/user_guide.md 文档
customized-trace-topic: RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
# Consumer 配置项
consumer:
listeners: # 配置某个消费分组,是否监听指定 Topic 。结构为 Map<消费者分组, <Topic, Boolean>> 。默认情况下,不配置表示监听。
test-consumer-group:
topic1: false # 关闭 test-consumer-group 对 topic1 的监听消费
send:
message:
topic:
create-cloud-resource: uat-create-cloud-resource
dingtalk:
url: https://oapi.dingtalk.com/robot/send?access_token=
audit_secret: SECbab1732d35519e6810119fbd89263bf7469cb8ff9c4b6ad5215e92feb26ecf52
audit_access_token: 3ffc07fabc6a1580b2a8d2621762386e2cc30a79e660b6db2146b88eeda03d81
access_token: 1ff5c5c89be74351ea7d7652312d775ff2d18b3fc4c8b0208825809f2148d167
bookDraftsAuditUrl: https://www.ccyunchina.com/admin/#
book_audit_secret: SECaf919d01af0f94ac846f249ff251970891a23f2ebbab117c840282fdd78adcea
book_audit_access_token: f9d5810c30c96ad2b0dae3da36d1f9e3909102f2ddd66f8104a53628b20e8659
dr:
harbor:
basePath: http://10.2.1.200:6700/api
username: admin
password: Harbor12345
countLimit: 100
storageLimit: 5
namespaceCountLimit: 5
pay:
signAppkey: hnccxx2020
channel:
# 渠道模块负责企业id 目前取值为中电长城对应的企业id 请自行创建好企业后取得企业id
responsibleEnterpriseId: 933
monitor:
email:
host: smtp.163.com
username: 13366969235@163.com
password: dubianxia1215
port: 465
default-encoding: UTF-8
html: true
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
', '2977eb74c3983226245f44eba0fc275e', '2019-12-15 06:29:00', '2023-05-08 22:11:59', 'nacos', '172.20.1.0', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-seo-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 8734
# tomcat配置
tomcat:
uri-encoding: UTF-8
max-http-header-size: 4048576
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
beetl:
templatesPath: templates
enabled: true', '4e293d3ce01695b5bf8259409aaf78dc', '2020-10-11 05:09:18', '2021-05-25 18:51:53', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-app-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6009
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /app-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-app?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs80
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-app
url: ''''
description: ''''
title: pumpkin-app
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
dingtalk:
appAuditUrl: https://www.ccyunchina.com/adminNew/#
url: https://oapi.dingtalk.com/robot/send?access_token=
audit_secret: SEC9cddb75650aa090883887852588d291242fed24ec0bd21a6df3f428b8572ea1d
audit_access_token: 427d1f6e9d9c4efee632e712ece78ebbbf2d3ec71d7e625dfddea81cbe79e8dc
jsch:
apt-mirror:
host: 10.2.1.211
port: 22
user: root
password: oop1aeweeNge_uph
reprepro-basedir: /opt/reprepro
reprepro-codename-kylin-desktop-v10: 10.0
reprepro-codename-kylin-desktop-v10sp1: 10.1
reprepro-packages-file-desktop-v10: /opt/reprepro/dists/10.0/main/binary-arm64/Packages
reprepro-packages-file-desktop-v10sp1: /opt/reprepro/dists/10.1/main/binary-arm64/Packages
mirrir-url-prefix: http://mirror-uat-in.ccyunchina.com/greatwall/kylin/
# 使用缓存配置
pumpkin:
cache:
type: redis
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv
# Producer 配置项
producer:
group: uat-producer-group # 生产者分组', '03b8a39fa230ecf6eb9af88f17100103', '2021-03-25 21:59:55', '2023-03-09 17:08:18', null, '10.1.202.27', '', 'uat', 'null', 'null', 'null', 'yaml', 'null');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-auth-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
port: 8101
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
# # 20210330 切换至sentinel集群生产环境0
# database: 2
# # password: eci_f1Johqu8wied
# sentinel:
# master: mymaster
# nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
boot:
admin:
client:
url: http://${febs-monitor-admin}:8401
username: febs
password: 123456
instance:
prefer-ip: true
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
info:
app:
name: ${spring.application.name}
description: "@project.description@"
version: "@project.version@"
auth:
enabled: true
loginpage: "https://uat-in.ccyunchina.com/portal/ccyunchina/login"
serverUrl: "https://uat-in.ccyunchina.com/auth/oauth/authorize"
type:
github:
client-id:
client-secret:
redirect-uri:
gitee:
client-id:
client-secret:
redirect-uri:
trustie:
client-id: "client1"
client-secret: "123456"
redirect-uri: "http://localhost:3030/loginxc"
exam:
client-id: "client1"
client-secret: "123456"
redirect-uri: "http://localhost:3030/loginxc"
cache:
type: redis
prefix: ''FEBS::CLOUD::SOCIAL::STATE::''
timeout: 1h
swagger:
contact:
email: ''''
name: pumkin-auth
url: ''''
description: ''''
title: pumkin-auth
url: ''''
version: 1.0 ', 'd970c0f716fb86f91814521758676a0c', '2021-04-14 23:09:35', '2023-03-09 17:25:56', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-campaigns-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6008
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /campaigns-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-campaigns?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-campaigns
url: ''''
description: ''''
title: pumpkin-campaigns
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
vote:
begin:
date: ''2020-12-18 00:00:00''
end:
date: ''2020-12-24 23:59:59''
osc:
subjects:
- id: 1
title: "基于“两芯一生态”环境下的Electron桌面开发框架迁移"
content: "本赛题基于在两芯一生态的开发环境对Electron进行适配迁移、调优和推广应用以达到Electron 在两芯一生态上正常使用的目的。Electron 是一个使用 JavaScript、HTML 和 CSS 构建跨平台的桌面应用程序它基于Node.js 和 Chromium被 Atom 编辑器和许多其他应用程序使用。Electron兼容 Mac、Windows 和 Linux可以同时构建出三个平台的应用程序。——此题目由湖南长城科技信息有限公司提供"
pcUrl: "https://www.ccyunchina.com/portal/newsDetail?newsId=799"
- id: 2
title: "基于“两芯一生态”环境下的智能搜图工具"
content: "本赛题基于在两芯一生态的开发环境,以任务栏插件或文件管理器插件形式实现一个智能搜图工具。此工具可以根据用户选择的图片,在指定的文件夹范围内搜索匹配的图片文件;亦可以根据用户输入的文字,在指定的文件夹范围内搜索包含该文字的图片文件;开发、运行环境需基于麒麟桌面操作系统或者基于麒麟桌面的虚拟机环境。——此题目由麒麟软件有限公司提供"
pcUrl: "https://www.ccyunchina.com/portal/newsDetail?newsId=805"
- id: 3
title: "基于“两芯一生态”环境下的应用开发"
content: "本赛题基于在两芯一生态的开发环境,在使用基于飞腾芯片和麒麟操作系统的云服务器上进行信创应用开发或课题研究,只要基于飞腾芯片的终端、服务器上开发的信创应用项目、课题研究或创业项目都可以参赛。 ——此题目由飞腾(长沙)信息技术有限公司提供"
pcUrl: "https://www.ccyunchina.com/portal/newsDetail?newsId=807"', 'b7101d1533db23208d75c29583b09d76', '2021-04-14 23:20:31', '2023-03-07 17:29:25', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-blog-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 1000
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /blog-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-blog?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
# 短信平台配置
#jackieonway:
#sms:
#sms-type: ucpass #可以不填默认是ali
#access-key:
#security-key: d954431e93cc6e7378b1f9eb7c4e59ae
#appid: 300a17a874d84c11814e214b5e8c28b0
#sign: afbe195555074e11b0c177cbbb9244a8
#rest-sserver: open.ucpaas.com
jackieonway:
sms:
sms-type: tencent #可以不填默认是ali
access-key:
security-key: a21a39d8cc91c6cddb8a04469fbd051d
appid: 1400270771
sign: CCYUNCHINA
templateId: 442091
yiwei:
sms:
account: hncc
password: hncc8888
url: http://47.106.150.165:8088/sms.aspx
userid: 690
sms-marketing:
account: hnccyx
password: hncc8888
url: http://120.25.217.84:8888/sms.aspx
userid: 770
default-sms-provider: yiwei
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
beetl:
templatesPath: templates
enabled: true
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-blog
url: ''''
description: ''''
title: pumkin-blog
url: ''''
version: 1.0
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv
# Producer 配置项
producer:
group: prod-producer-group # 生产者分组
send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
access-key: # Access Key ,可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/acl/user_guide.md 文档
secret-key: # Secret Key
enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/msg_trace/user_guide.md 文档
customized-trace-topic: RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
# Consumer 配置项
consumer:
listeners: # 配置某个消费分组,是否监听指定 Topic 。结构为 Map<消费者分组, <Topic, Boolean>> 。默认情况下,不配置表示监听。
test-consumer-group:
topic1: false # 关闭 test-consumer-group 对 topic1 的监听消费
dingtalk:
auditUrl: https://www.ccyunchina.com/admin/#
url: https://oapi.dingtalk.com/robot/send?access_token=
blog_audit_secret: SECaf919d01af0f94ac846f249ff251970891a23f2ebbab117c840282fdd78adcea
blog_audit_access_token: f9d5810c30c96ad2b0dae3da36d1f9e3909102f2ddd66f8104a53628b20e8659', 'f7ef80fba2cadac87d7e5b418927e4c5', '2021-04-14 23:22:48', '2023-03-07 17:29:43', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-adapter-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6002
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /adapter-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-adapter?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-adapter
url: ''''
description: ''''
title: pumpkin-adapter
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
dingtalk:
applyAuditUrl: https://www.ccyunchina.com/admin/#/adapter/adapterVerification
publishAuditUrl: https://www.ccyunchina.com/adminNew/#/approve/release
url: https://oapi.dingtalk.com/robot/send?access_token=
audit_secret: SECbab1732d35519e6810119fbd89263bf7469cb8ff9c4b6ad5215e92feb26ecf52
audit_access_token: 3ffc07fabc6a1580b2a8d2621762386e2cc30a79e660b6db2146b88eeda03d81', '3fe46063d4a10e37378076e03fd07076', '2021-04-14 23:24:18', '2023-03-07 17:30:01', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-comment-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6000
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /comment-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-comment?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
# 短信平台配置
#jackieonway:
#sms:
#sms-type: ucpass #可以不填默认是ali
#access-key:
#security-key: d954431e93cc6e7378b1f9eb7c4e59ae
#appid: 300a17a874d84c11814e214b5e8c28b0
#sign: afbe195555074e11b0c177cbbb9244a8
#rest-sserver: open.ucpaas.com
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-comment
url: ''''
description: ''''
title: pumkin-comment
url: ''''
version: 1.0', '65ce4ae267e6213eb0cd6a6a7e9735a2', '2021-04-15 15:22:53', '2023-03-07 17:30:17', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-file-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6003
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /file-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-file?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs80
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-file
url: ''''
description: ''''
title: pumpkin-file
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
netty:
port: 7002', '9838b0653872abb1cf194514e60e22d8', '2021-04-15 15:44:56', '2023-03-07 17:30:32', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-recruit-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6001
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /recruit-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-recruit?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-recruit
url: ''''
description: ''''
title: pumkin-recruit
url: ''''
version: 1.0
greatwall:
showVersionBanner: true', '72a4e3c32031a46038b2e44439cbe8c6', '2021-04-15 16:29:53', '2023-03-07 17:30:49', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-mall-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 8888
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /mall-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-mall?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-mall
url: ''''
description: ''''
title: pumpkin-mall
url: ''''
version: 1.0', 'c628a72d8cb27dd55f5f910039c1b6b1', '2021-04-15 16:31:52', '2023-03-07 17:31:35', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-charts-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6888
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /charts-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
# 指向从节点,账号只读!!!
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
view:
prefix: /
suffix: .html
favicon:
enabled: false
resources:
static-locations: classpath:/static/
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-charts-api
url: ''''
description: ''''
title: pumkin-charts-api
url: ''''
version: 1.0', 'defc1bf583580379b4671531d395078d', '2021-04-15 16:35:14', '2023-03-07 17:31:53', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-es-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 7000
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /search-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
application:
name: pumkin-es-api
data:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
elasticsearch:
cluster-name: pumpkin-es
cluster-nodes: elasticsearch6:9300
rest:
uris: ["http://elasticsearch6:9200"]
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
binlog:
server:
host: {{groups['mysql'][0]}}
user: root
password: {{mysqlBinlogServerPassword}}
sid: 1
host: mysql-cluster-mysql-master
port: 3306
user: root
password: Greatwall8888
mysqlDataDir: /var/lib/mysql
#日志索引文档路径
index: /mysql-bin.index
fullLoad: 0
database:
# 指定监听的表格
#table: pumpkin-user.news
table: pumpkin-user-0801.news,pumpkin-user-0801.book,pumpkin-user-0801.course,pumpkin-user-0801.compatibilit_center,pumpkin-user-0801.partner,pumpkin-user-0801.download_resource,pumpkin-user-0801.ask,pumpkin-user-0801.book_chapter,pumpkin-user-0801.ask_statistics,pumpkin-user-0801.ask_answer,pumpkin-user-0801.ask_tag_mapping,pumpkin-user-0801.circle,pumpkin-user-0801.circle_collect,pumpkin-user-0801.partner_tag,pumpkin-user-0801.partner_tag_mapper,pumpkin-recruit.recruit_tag,pumpkin-recruit.recruit_position_tag,pumpkin-recruit.recruit_position,pumpkin-recruit.recruit_category,pumpkin-recruit.recruit_company,pumpkin-user-0801.enterprise,pumpkin-user-0801.sys_dict,pumpkin-user-0801.enterprise_identification_information,pumpkin-user-0801.site_table_config,pumpkin-adapter.adapter_product,pumpkin-blog.blog,pumpkin-bbs.bbs_topic,pumpkin-app.app_info,pumpkin-app.app_file
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-es
url: ''''
description: ''''
title: pumkin-es
url: ''''
version: 1.0
', 'a97c7f1e5fb85ab2ac75b5ffbbae92c3', '2021-04-15 16:35:40', '2023-03-07 17:32:10', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-points-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 8011
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /points-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-points?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
# 短信平台配置
#jackieonway:
#sms:
#sms-type: ucpass #可以不填默认是ali
#access-key:
#security-key: d954431e93cc6e7378b1f9eb7c4e59ae
#appid: 300a17a874d84c11814e214b5e8c28b0
#sign: afbe195555074e11b0c177cbbb9244a8
#rest-sserver: open.ucpaas.com
jackieonway:
sms:
sms-type: tencent #可以不填默认是ali
access-key:
security-key: a21a39d8cc91c6cddb8a04469fbd051d
appid: 1400270771
sign: CCYUNCHINA
templateId: 442091
yiwei:
sms:
account: hncc
password: hncc8888
url: http://47.106.150.165:8088/sms.aspx
userid: 690
sms-marketing:
account: hnccyx
password: hncc8888
url: http://120.25.217.84:8888/sms.aspx
userid: 770
default-sms-provider: yiwei
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
beetl:
templatesPath: templates
enabled: true
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-user
url: ''''
description: ''''
title: pumkin-user
url: ''''
version: 1.0
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv # Producer 配置项
producer:
group: uat-producer-group # 生产者分组
send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
access-key: # Access Key ,可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/acl/user_guide.md 文档
secret-key: # Secret Key
enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/msg_trace/user_guide.md 文档
customized-trace-topic: RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
# Consumer 配置项
consumer:
listeners: # 配置某个消费分组,是否监听指定 Topic 。结构为 Map<消费者分组, <Topic, Boolean>> 。默认情况下,不配置表示监听。
test-consumer-group:
topic1: false # 关闭 test-consumer-group 对 topic1 的监听消费', '60a4069bbb7c11b760d754011667c153', '2021-04-15 16:36:07', '2023-03-07 17:32:27', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-mcu-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
port: 9009
servlet:
context-path: /pumkin-mcu
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-mcu
url: ''''
description: ''''
title: pumkin-mcu
url: ''''
version: 1.0', '63694aa39b04fdf39ddd86d2b252de6e', '2021-04-15 19:11:08', '2021-05-25 18:55:55', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-bbs-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 8000
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /bbs-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-bbs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
# 短信平台配置
#jackieonway:
#sms:
#sms-type: ucpass #可以不填默认是ali
#access-key:
#security-key: d954431e93cc6e7378b1f9eb7c4e59ae
#appid: 300a17a874d84c11814e214b5e8c28b0
#sign: afbe195555074e11b0c177cbbb9244a8
#rest-sserver: open.ucpaas.com
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-bbs
url: ''''
description: ''''
title: pumpkin-bbs
url: ''''
version: 1.0
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv
# Producer 配置项
producer:
group: prod-producer-group # 生产者分组
send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
access-key: # Access Key ,可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/acl/user_guide.md 文档
secret-key: # Secret Key
enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/msg_trace/user_guide.md 文档
customized-trace-topic: RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
# Consumer 配置项
consumer:
listeners: # 配置某个消费分组,是否监听指定 Topic 。结构为 Map<消费者分组, <Topic, Boolean>> 。默认情况下,不配置表示监听。
test-consumer-group:
topic1: false # 关闭 test-consumer-group 对 topic1 的监听消费
#===================================================================
# dingtalk配置
#===================================================================
dingtalk:
url: https://oapi.dingtalk.com/robot/send?access_token=
audit_secret: SECaf919d01af0f94ac846f249ff251970891a23f2ebbab117c840282fdd78adcea
audit_access_token: f9d5810c30c96ad2b0dae3da36d1f9e3909102f2ddd66f8104a53628b20e8659
messageUrl: http://ccyunchina.com/portal/school/bbsDetail?id= ', 'e7454a3ca58abc3c6554eabbb3ffdf97', '2021-04-15 19:15:07', '2023-03-07 17:33:00', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-public.yml', 'DEFAULT_GROUP', '# 服务器配置端口及context-path非公共部分
server:
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
max-http-header-size: 4048576
spring:
servlet:
# servlet文件上传配置
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
# 服务端自动的负载均衡
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
# mybatis-plus 配置
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
# 日志输出配置
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# spring boot actuator 健康检测配置
management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
# 日志配置
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml', '18b8d23f8a3af8a2a324e91a60517e73', '2021-07-20 16:34:04', '2021-07-20 16:34:04', null, '10.1.202.27', '', 'uat', '公共配置', null, null, 'yaml', null);
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-baremetal-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
#config: classpath:logback.xml
server:
# 端口号
port: 9888
# 是否启用压缩
compression:
enabled: false
# tomcat配置
tomcat:
uri-encoding: UTF-8
basedir: /tmp
servlet:
context-path: /baremetal
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-baremetal?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
minIdle: 10
maxActive: 1000
#验证连接是否有效。此参数必须设置为非空字符串下面三项设置成true才能生效
validationQuery: SELECT 1
#指明连接是否被空闲连接回收器(如果有)进行检验.如果检测失败,则连接将被从池中去除.
testWhileIdle: true
#指明是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个
testOnBorrow: true
#指明是否在归还到池中前进行检验
testOnReturn: false
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
redission:
database: 4
master: ${spring.redis.sentinel.master}
nodes: redis-ha-haproxy:6379
password:
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 2
max-idle: 2
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 20480MB
# 多个文件最大值
max-request-size: 20480MB
file-size-threshold: 1MB
location: /app/apptmp/upload/tmp
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-baremetal
url: ''''
description: ''''
title: pumpkin-baremetal
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
##
sms:
template:
expireInSevenDays: 1023
expireToday: 1022
createSuccess: 1020
createFailed: 1021
####################
## 本地文件存放路 ##
####################
res:
imageUploadDir: /home/upload
metal:
regions:
cn-cs-1: http://10.10.10.1:9886
vncs:
cn-cs-1: https://uat-in.ccyunchina.com/baremetal-console/
limits:
eip: 1
eip_mbd: 50
machine: 2
disk: 2
disk_msize: 500
cidr:
cn-cs-1:
- 10.1.3.0
- 10.10.10.0
- 192.168.19.0
xsky:
onoff: 0
####################
## 自定义镜像配置 ##
####################
custimage:
totalPartitionSize: 200
uploadTimeout: 24
uploadDir: /app/apptmp/custimage/upload
ftp:
rootDir: /ftpdir
uploadDir: custimage
cn-cs-1:
ip: 10.10.10.1
port: 21
username: ftpuser
password: greatwall@123', 'c6c565c6e22af6326249c11abf03e6dd', '2021-11-16 15:48:13', '2023-03-07 17:34:40', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumkin-gateway-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
port: 8899
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
info:
app:
name: ${spring.application.name}
description: "@project.description@"
version: "@project.version@"
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-gateway
url: ''''
description: ''''
title: pumkin-geteway
url: ''''
version: 1.0 ', '6eb9bb17f8df9b4b345925e61543e788', '2022-03-22 21:17:19', '2022-03-22 21:17:19', null, '172.31.1.250', '', 'uat', null, null, null, 'yaml', null);
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('whitelist.yml', 'DEFAULT_GROUP', 'whitelist:
- /oauth/**
- /gateway/oauth/token
- /gateway/oauth/**
- /gateway/user-api/vm/**
- /gateway/user-api/zcloudregion/switch
- /gateway/user-api/zCloudDisk/install/list
- /gateway/user-api/zprivatenetwork/vmnic/list
- /gateway/user-api/zCloudIp/list
- /gateway/user-api/zGlobalSettings/quota/list
- /gateway/user-api/orders/addCloudOrder
- /gateway/user-api/zimage/list
- /gateway/user-api/zprivatenetwork/list
- /gateway/user-api/goodsCloudImage/list
- /gateway/user-api/orders/addAndPayCloudOrder
- /user-api/vm/**
- /user-api/zcloudregion/switch
- /user-api/zCloudDisk/install/list
- /user-api/zprivatenetwork/vmnic/list
- /user-api/zCloudIp/list
- /user-api/zGlobalSettings/quota/list
- /user-api/orders/addCloudOrder
- /user-api/zimage/list
- /user-api/zprivatenetwork/list
- /user-api/goodsCloudImage/list
- /user-api/orders/addAndPayCloudOrder
', '79436beafc92bb1b8fde33b34142569a', '2022-04-01 20:29:34', '2022-05-11 16:24:55', null, '172.31.1.250', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-edu-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, health, mappings, loggers
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6008
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /edu-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
dynamic:
primary: db1 # 配置默认数据库
datasource:
db1: # 数据源1配置
jdbc-url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-edu?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
db2: # 数据源2配置
jdbc-url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
durid:
initial-size: 1
max-active: 20
min-idle: 1
max-wait: 60000
autoconfigure:
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
elasticsearch:
rest:
uris: ["http://10.2.1.11:35058"]
data:
elasticsearch:
cluster-name: pumpkin-es
cluster-nodes: 10.2.1.11:35787
rocketmq:
name-server: name-server-service.kube-public:9876
producer:
group: grp-edu
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-edu
url: ''''
description: ''''
title: pumpkin-edu
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
pay:
signAppkey: hnccxx2020
', '421186b7908defdb8050b0480a4667c3', '2022-04-07 21:17:56', '2023-03-07 17:35:19', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-cloud-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, mappings, loggers,health
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback-traceId.xml
server:
# 端口号
port: 9090
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /cloud-api
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-cloud?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs
forbid-suffix: .exe,.jsp,.php,.svg,.html,.zip,.asp
#===================================================================
#zstack 一下配置调整到数据库,兼容多云设计,后续将清除掉
#===================================================================
zstack:
name: admin
password: Greatwall@123
apiHost: 10.1.1.9
apiPort: 8080
# 公网服务IP
publicHost: 10.1.1.9
# 公网服务端口
publicPort: 8080
# 由于zstack只有一套用于区分用户环境 dev|test|rc|prod
profile: uat
interval:
count: 5
consolePort: 443
image:
default-account: greatwall
ubuntu-account: greatwall
kylin-account: greatwall
kylin-password: Greatwall@123
route:
"10.1.1.4": console1-uat-in.ccyunchina.com
"10.1.1.3": console2-uat-in.ccyunchina.com
"10.1.1.16": changsha2-console1-uat-in.ccyunchina.com
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-user
url: ''''
description: ''''
title: pumkin-user
url: ''''
version: 1.0
devops:
hostName: 172.18.1.136
hostPort: 22
userName: root
userPassword: gw@prD_136idc_296
openvpn:
hostName: 10.2.1.175
hostPort: 22
userName: root
userPassword: Greatwall@123
monitor:
cloudUuid:
zstack: 68b5c9251c3c4914887302abf56cc956
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
name-server: name-server-service.kube-public:9876 # RocketMQ Namesrv
# Producer 配置项
producer:
group: uat-producer-group # 生产者分组
send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
access-key: # Access Key ,可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/acl/user_guide.md 文档
secret-key: # Secret Key
enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。可阅读 https://github.com/apache/rocketmq/blob/master/docs/cn/msg_trace/user_guide.md 文档
customized-trace-topic: RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
# Consumer 配置项
consumer:
consumeTimeout: 60000L
consumeThreadMax: 8
listeners: # 配置某个消费分组,是否监听指定 Topic 。结构为 Map<消费者分组, <Topic, Boolean>> 。默认情况下,不配置表示监听。
test-consumer-group:
topic1: false # 关闭 test-consumer-group 对 topic1 的监听消费
send:
message:
topic:
vm-info: uat-create-vm-info
disk-info: uat-create-disk-info
ip-info: uat-create-ip-info
vm-mount: uat-create-vm-mount-info
vm-spec-info: uat-change-vm-spec-info
ip-spec-info: uat-change-ip-spec-info
custom-image-info: uat-create-image-info
private-network-vpc-info: uat-create-private-network-vpc-info
create-cloud-resource: uat-create-cloud-resource
consumer:
vm: ${rocketmq.send.message.topic.vm-info}-consumer
disk: ${rocketmq.send.message.topic.disk-info}-consumer
ip: ${rocketmq.send.message.topic.ip-info}-consumer
vm-mount: ${rocketmq.send.message.topic.vm-mount}-consumer
vm-spec: ${rocketmq.send.message.topic.vm-spec-info}-consumer
ip-spec: ${rocketmq.send.message.topic.ip-spec-info}-consumer
image: ${rocketmq.send.message.topic.custom-image-info}-consumer
private-network-vpc: ${rocketmq.send.message.topic.private-network-vpc-info}-consumer
create-cloud-resource: ${rocketmq.send.message.topic.create-cloud-resource}-consumer
dingtalk:
url: https://oapi.dingtalk.com/robot/send?access_token=
audit_secret: SECbab1732d35519e6810119fbd89263bf7469cb8ff9c4b6ad5215e92feb26ecf52
audit_access_token: 3ffc07fabc6a1580b2a8d2621762386e2cc30a79e660b6db2146b88eeda03d81
access_token: 1ff5c5c89be74351ea7d7652312d775ff2d18b3fc4c8b0208825809f2148d167
bookDraftsAuditUrl: https://www.ccyunchina.com/admin/#
book_audit_secret: SECaf919d01af0f94ac846f249ff251970891a23f2ebbab117c840282fdd78adcea
book_audit_access_token: f9d5810c30c96ad2b0dae3da36d1f9e3909102f2ddd66f8104a53628b20e8659
#请求处理的超时时间
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
cloudgameurl: http://36.158.226.6:2999/v1/
nat-gateway:
image-uuid: f8c41eebad9859a0a372c5c7cf29e207
vm-spec-uuid: 5de269642ce24e7a947e1dbcd5c79a0c
cloud-service:
electionFlag: false', '6ea091e20f326227ce7bd997af199eb6', '2022-12-26 18:21:19', '2023-03-07 17:35:54', null, '10.1.202.27', '', 'uat', '', '', '', 'yaml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-daily-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoint:
web:
exposure:
include: info, health, mappings, loggers
# 打开健康检查的详细信息
health:
show-details: always
health:
# 关闭health端点对es的健康检查
elasticsearch:
enabled: false
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback.xml
server:
# 端口号
port: 6011
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /daily-api
max-http-header-size: 4048576
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-user-0801?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
elasticsearch:
rest:
uris: ["http://10.2.1.11:35058"]
data:
elasticsearch:
cluster-name: pumpkin-es
cluster-nodes: 10.2.1.11:35787
rocketmq:
name-server: 10.2.1.180:9876
producer:
group: grp-edu
mybatis-plus:
mapper-locations: classpath:/mapper/**/*Mapper.xml
configuration:
jdbc-type-for-null: null
map-underscore-to-camel-case: true
cache-enabled: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumpkin-daily
url: ''''
description: ''''
title: pumpkin-daily
url: ''''
version: 1.0
greatwall:
showVersionBanner: true
pay:
signAppkey: hnccxx2020', 'f347a78cd880fd8885acf6622ac2683d', '2023-04-14 02:56:44', '2023-04-14 02:56:44', null, '172.20.1.0', '', 'uat', null, null, null, 'yaml', null);
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('pumpkin-doc-api-uat.yml', 'DEFAULT_GROUP', 'management:
endpoints:
web:
exposure:
include: info, mappings, loggers,health
logging:
# nacos托管
config: http://${spring.cloud.nacos.config.server-addr}/nacos/v1/cs/configs?group=DEFAULT_GROUP&dataId=logback-traceId.xml
server:
# 端口号
port: 8080
# 是否启用压缩
compression:
enabled: true
# tomcat配置
tomcat:
uri-encoding: UTF-8
servlet:
context-path: /doc-api
jetty:
max-http-post-size: 500000
spring:
datasource:
url: jdbc:mysql://mysql-cluster-mysql-master:3306/pumpkin-doc?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
username: greatwall
password: Greatwall8888
driver-class-name: com.mysql.cj.jdbc.Driver
mvc:
favicon:
enabled: false
redis:
# 20210330 切换至sentinel集群生产环境0
database: 2
# password: eci_f1Johqu8wied
sentinel:
master: mymaster
nodes: redis-ha-announce-0:26379,redis-ha-announce-1:26379,redis-ha-announce-2:26379
lettuce:
pool:
max-active: 8
max-idle: 8
max-wait: 60000
min-idle: 1
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
# 单个文件最大值
max-file-size: 1024MB
# 多个文件最大值
max-request-size: 1024MB
elasticsearch:
rest:
uris: ["http://10.2.1.11:35058"]
data:
elasticsearch:
cluster-name: pumpkin-es
cluster-nodes: 10.2.1.11:35787
# ===================================================================
# 分布式文件系统FDFS配置
# ===================================================================
fdfs:
so-timeout: 1501
connect-timeout: 601
thumb-image:
width: 120
height: 120
tracker-list:
- fastdfs:22122
nginx: http://fastdfs
forbid-suffix: .exe,.jsp,.php,.svg,.html,.zip,.asp
#===================================================================
# referer白名单配置
#===================================================================
referer:
refererDomain:
- baidu.com
- google.com
#===================================================================
# swagger配置
#===================================================================
swagger:
contact:
email: ''''
name: pumkin-doc
url: ''''
description: ''''
title: pumkin-doc
url: ''''
version: 1.0
#请求处理的超时时间
ribbon:
ReadTimeout: 120000
ConnectTimeout: 30000
config:
doc:
upload:
types: png,jpg,jpeg,doc,docx,xls,xlsx,pdf,ppt,pptx,flv,mp3,mp4,zip,rar,tar,txt,dcr,gz,web
img:
upload:
types: png,jpg,jpeg
convert:
url: http://10.2.1.11:26162/conversion', '433821b21631266a3a7952f76dd1093f', '2023-05-19 21:55:36', '2023-05-24 05:03:40', 'nacos', '172.20.1.0', '', 'uat', '', '', '', 'yaml', '');
DELETE FROM config_info where tenant_id='';
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('logback.xml', 'DEFAULT_GROUP', '<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!--
%p:输出优先级即DEBUG,INFO,WARN,ERROR,FATAL
%r:输出自应用启动到输出该日志讯息所耗费的毫秒数
%t:输出产生该日志事件的线程名
%f:输出日志讯息所属的类别的类别名
%c:输出日志讯息所属的类的全名
%d:输出日志时间点的日期或时间,指定格式的方式: %d{yyyy-MM-dd HH:mm:ss}
%l:输出日志事件的发生位置,即输出日志讯息的语句在他所在类别的第几行。
%m:输出代码中指定的讯息如log(message)中的message
%n:输出一个换行符号
-->
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %msg %logger{5}.%M\(%F:%L\)%n
</pattern>
</encoder>
</appender>
<!--按体积生成日志,避免服务器磁盘撑死-->
<appender name="logFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily -->
<fileNamePattern>logs/app.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<!-- each file should be at most 200MB, keep 3 days worth of history, but at most 1GB -->
<maxFileSize>200MB</maxFileSize>
<maxHistory>3</maxHistory>
<totalSizeCap>1GB</totalSizeCap>
</rollingPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %msg %logger{5}.%M\(%F:%L\)%n
</pattern>
</encoder>
</appender>
<!-- 框架日志 -->
<logger name="org" level="INFO"/>
<logger name="com" level="INFO"/>
<logger name="cn" level="INFO"/>
<logger name="io" level="INFO"/>
<logger name="xingkong.framework" level="DEBUG"/>
<logger name="springfox" level="error"/>
<!-- 自有项目日志 -->
<logger name="com.greatwall" level="DEBUG"/>
<!-- mybatis slf4j -->
<logger name="com.greatwall.business.db" level="DEBUG"/>
<logger name="org.mybatis" level="DEBUG"/>
<!-- 打印nacos配置用于诊断故障 -->
<logger name="com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder" level="DEBUG"/>
<!-- rocketmq日志 -->
<appender name="RocketmqClientAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>logs/rocketmq_client.%d{yyyyMMdd}.%i.log</fileNamePattern>
<maxFileSize>100MB</maxFileSize>
<!--保留时间,单位:天-->
<maxHistory>1</maxHistory>
</rollingPolicy>
<encoder charset="UTF-8">
<pattern>
%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %msg %cyan(%logger{5}).%M\(%F:%L\)%n
</pattern>
</encoder>
</appender>
<logger name="RocketmqCommon" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<logger name="RocketmqRemoting" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<logger name="RocketmqClient" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<root level="DEBUG">
<appender-ref ref="stdout"/>
<appender-ref ref="logFile"/>
</root>
</configuration>', '1cc77ca46189c7dd17f140894aefa7e5', '2021-05-25 14:08:05', '2022-05-31 21:20:03', null, '10.1.202.27', '', '', '', '', '', 'xml', '');
INSERT INTO config_info (data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema) VALUES ('logback-traceId.xml', 'DEFAULT_GROUP', '<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!--
%p:输出优先级即DEBUG,INFO,WARN,ERROR,FATAL
%r:输出自应用启动到输出该日志讯息所耗费的毫秒数
%t:输出产生该日志事件的线程名
%f:输出日志讯息所属的类别的类别名
%c:输出日志讯息所属的类的全名
%d:输出日志时间点的日期或时间,指定格式的方式: %d{yyyy-MM-dd HH:mm:ss}
%l:输出日志事件的发生位置,即输出日志讯息的语句在他所在类别的第几行。
%m:输出代码中指定的讯息如log(message)中的message
%n:输出一个换行符号
-->
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.TraceIdPatternLogbackLayout">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%tid] [%thread] %-5level %msg %logger{5}.%M\(%F:%L\)%n
</pattern>
</layout>
</encoder>
</appender>
<!--按体积生成日志,避免服务器磁盘撑死-->
<appender name="logFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily -->
<fileNamePattern>logs/app.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
<!-- each file should be at most 200MB, keep 3 days worth of history, but at most 1GB -->
<maxFileSize>200MB</maxFileSize>
<maxHistory>3</maxHistory>
<totalSizeCap>1GB</totalSizeCap>
</rollingPolicy>
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
<layout class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.TraceIdPatternLogbackLayout">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%tid] [%thread] %-5level %msg %logger{5}.%M\(%F:%L\)%n
</pattern>
</layout>
</encoder>
</appender>
<!-- 框架日志 -->
<logger name="org" level="INFO"/>
<logger name="com" level="INFO"/>
<logger name="cn" level="INFO"/>
<logger name="io" level="INFO"/>
<logger name="xingkong.framework" level="DEBUG"/>
<logger name="springfox" level="error"/>
<!-- 自有项目日志 -->
<logger name="com.greatwall" level="DEBUG"/>
<!-- mybatis slf4j -->
<logger name="com.greatwall.business.db" level="DEBUG"/>
<logger name="org.mybatis" level="DEBUG"/>
<!-- 打印nacos配置用于诊断故障 -->
<logger name="com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder" level="DEBUG"/>
<!-- rocketmq日志 -->
<appender name="RocketmqClientAppender" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>logs/rocketmq_client.%d{yyyyMMdd}.%i.log</fileNamePattern>
<maxFileSize>100MB</maxFileSize>
<!--保留时间,单位:天-->
<maxHistory>1</maxHistory>
</rollingPolicy>
<encoder charset="UTF-8">
<pattern>
%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %msg %cyan(%logger{5}).%M\(%F:%L\)%n
</pattern>
</encoder>
</appender>
<logger name="RocketmqCommon" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<logger name="RocketmqRemoting" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<logger name="RocketmqClient" additivity="false" level="WARN">
<appender-ref ref="RocketmqClientAppender"/>
</logger>
<root level="DEBUG">
<appender-ref ref="stdout"/>
<appender-ref ref="logFile"/>
</root>
</configuration>', 'd4626d7eb46d434c45fb505ba6d979d2', '2022-06-01 22:18:30', '2022-06-06 21:09:33', null, '10.1.202.27', '', '', '', '', '', 'xml', '');