加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
datahandler-demo.yml 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
改变自己 提交于 2023-12-19 14:34 . n
logging:
level:
cn.turing.firecontrol: DEBUG
server:
port: 2345
spring:
application:
name: turing-datahandler
datasource:
url: jdbc:mysql://127.0.0.1:3307/turing_datahandler?characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
druid:
stat-view-servlet:
loginUsername: root
loginPassword: root
data:
elasticsearch: #ES中系统变量 # Elasticsearch 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
cluster-name: my-application
cluster-nodes: 127.0.0.1:9601,127.0.0.1:9602,127.0.0.1:9603
pool-size: 5
rest:
username: esuser
password: Itat@pros
uris:
- http://127.0.0.1:9201
# 配置数据库
mybatis:
basepackage: cn.turing.firecontrol.datahandler.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: "classpath*:mapper/*.xml"
configuration:
cache-enabled: false
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
# 配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.datahandler
title: 消防大数据
version: 1.0.0.SNAPSHOT
description: 数据处理管理服务
contact:
name: 武汉中科图灵科技有限公司
global-operation-parameters[0]:
name: Authorization
description: 12
modelRef: string
parameterType: header
required: false
#配置用户认证和服务认证信息
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 # 一天过去,单位分钟
client:
id: turing-datahandler
secret: 123456
token-header: client-token
#自行配置激光推送
jpush:
appKey:
masterSecret:
liveTime: 300000
title: 消防平台
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化