Files
CN_Gather/event_smart/src/main/resources/application.yml

73 lines
1.5 KiB
YAML
Raw Normal View History

2025-06-30 20:52:31 +08:00
#当前服务的基本信息
microservice:
ename: 12345
name: 12345
2025-06-19 08:43:26 +08:00
server:
port: 18093
spring:
application:
name: event_smart
2025-08-11 10:03:48 +08:00
profiles:
active: dev
2025-07-28 09:40:40 +08:00
2025-06-19 08:43:26 +08:00
#mybatis配置信息
mybatis-plus:
mapper-locations: classpath*:com/njcn/**/mapping/*.xml
#别名扫描
2025-06-25 16:18:48 +08:00
type-aliases-package: com.njcn.gather.event.**.pojo
2025-06-19 08:43:26 +08:00
configuration:
#驼峰命名
map-underscore-to-camel-case: true
#配置sql日志输出
2025-07-15 20:35:15 +08:00
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
2025-06-19 08:43:26 +08:00
#关闭日志输出
2025-06-30 20:52:31 +08:00
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
2025-06-19 08:43:26 +08:00
global-config:
db-config:
#指定主键生成策略
id-type: assign_uuid
2025-06-20 15:52:59 +08:00
SYS_TYPE_ZT: 1cfcd6e2-c5fe-4b15-988a-32b90f1170c1
SYS_TYPE_WT: 983f9dfe-4f9a-4c96-89d8-7d425a1f1d6c
2025-06-25 16:29:03 +08:00
db:
type: oracle
2025-06-19 08:43:26 +08:00
2025-06-30 20:52:31 +08:00
#文件位置配置
business:
#处理波形数据位置
2025-07-11 09:24:08 +08:00
wavePath: D://Comtrade
#wavePath: /usr/local/comtrade
2025-06-30 20:52:31 +08:00
#处理临时数据
2025-07-11 09:24:08 +08:00
tempPath: D://file
#tempPath: /usr/local/file
#文件存储的方式 3.本地存储
2025-06-30 20:52:31 +08:00
file:
storage: 3
#oss服务器配置
min:
io:
endpoint: http://192.168.1.13:9009
accessKey: minio
secretKey: minio@123
bucket: excelreport
#华为obs服务器配置
huawei:
access-key: J9GS9EA79PZ60OK23LWP
security-key: BirGrAFDSLxU8ow5fffyXgZRAmMRb1R1AdqCI60d
obs:
bucket: test-8601
endpoint: https://obs.cn-east-3.myhuaweicloud.com
# 单位为秒
expire: 3600
#线程池配置信息
threadPool:
corePoolSize: 10
maxPoolSize: 20
queueCapacity: 500
keepAliveSeconds: 60
2025-07-11 09:24:08 +08:00
WAVEPATH: D:/Comtrade
2025-07-01 18:28:19 +08:00
2025-07-01 11:24:58 +08:00