Browse Source

#服务默认配置整理

zhongwei
yang_shj 5 months ago
parent
commit
020f5e9b7c
  1. 40
      hzims-service/assets/src/main/resources/template/template.yml
  2. 100
      hzims-service/equipment/src/main/resources/template/template.yml
  3. 42
      hzims-service/hzims-alarm/src/main/resources/template/template.yml
  4. 25
      hzims-service/hzims-basic/src/main/resources/template/template.yml
  5. 45
      hzims-service/hzims-big-model/src/main/resources/template/template.yml
  6. 22
      hzims-service/hzims-middle/src/main/resources/template/template.yml
  7. 29
      hzims-service/hzims-scheduled/src/main/resources/template/template.yml
  8. 63
      hzims-service/inspect/src/main/resources/template/template.yml
  9. 45
      hzims-service/operational/src/main/resources/template/template.yml
  10. 19
      hzims-service/safeproduct/src/main/resources/template/template.yml
  11. 28
      hzims-service/ticket/src/main/resources/template/template.yml
  12. 19
      hzims-service/weather/src/main/resources/template/template.yml

40
hzims-service/assets/src/main/resources/template/template.yml

@ -1,22 +1,13 @@
#服务器端口 #服务器端口
server: server:
port: 8599 port: 8599
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔 #实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.hnac.hzims.**.entity typeAliasesPackage: com.hnac.hzims.**.entity
#数据源配置
#spring:
# datasource:
# url: ${blade.datasource.dev.url}
# username: ${blade.datasource.dev.username}
# password: ${blade.datasource.dev.password}
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
autoconfigure: autoconfigure:
@ -31,37 +22,18 @@ swagger:
#oss配置 #oss配置
oss: oss:
endpoint: "${hzinfo.oss.endpoint}" endpoint: ${hzinfo.oss.endpoint}
access-key: "${hzinfo.oss.access-key}" access-key: ${hzinfo.oss.access-key}
secret-key: "${hzinfo.oss.secret-key}" secret-key: ${hzinfo.oss.secret-key}
blade: blade:
data-scope: data-scope:
enabled: false enabled: false
lock: lock:
enabled: true enabled: true
address: redis://192.168.60.29:3577 address: redis://${hzinfo.redis.ip}:${hzinfo.redis.port}
password: 1qaz2WSX@redis password: ${hzinfo.redis.password}
database: 2 database: 0
ssl: false ssl: false
settings: settings:
logImpl: org.apache.ibatis.logging.stdout.StdOutImpl logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
#xxl:
# job:
# accessToken: ''
# admin:
# addresses: http://192.168.1.25:7009/xxl-job-admin
# executor:
# appname: hzims-equipment
# ip: 192.168.1.28
# logpath: /data/applogs/xxl-job/jobhandler
# logretentiondays: -1
# port: 28210

100
hzims-service/equipment/src/main/resources/template/template.yml

@ -2,14 +2,6 @@
server: server:
port: 8300 port: 8300
#数据源配置
#spring:
# datasource:
# url: ${blade.datasource.dev.url}
# username: ${blade.datasource.dev.username}
# password: ${blade.datasource.dev.password}
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
autoconfigure: autoconfigure:
@ -42,11 +34,9 @@ spring:
#oss配置 #oss配置
oss: oss:
endpoint: "${hzinfo.oss.endpoint}" endpoint: ${hzinfo.oss.endpoint}
access-key: "${hzinfo.oss.access-key}" access-key: ${hzinfo.oss.access-key}
secret-key: "${hzinfo.oss.secret-key}" secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
@ -59,16 +49,14 @@ mybatis-plus:
swagger: swagger:
base-packages: com.hnac.hzims,org.springbalde,com.hnac base-packages: com.hnac.hzims,org.springbalde,com.hnac
xxl: xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: http://${hzims.server.ip}:7009/xxl-job-admin addresses: http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin
executor: executor:
appname: hzims-equipment appname: hzims-equipment
ip: "${hzims.server.ip}" ip: ${hzims.xxljob.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: -1 logretentiondays: -1
port: 28300 port: 28300
@ -101,63 +89,63 @@ blade:
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://192.168.60.29/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
appId: '1635888805125099521' appId: ${hzims.sdk.appId}
appSecret: f4b6a4dc696b36445d2e5d38bbab2417 appSecret: ${hzims.sdk.appSecret}
data-scope: data-scope:
enabled: false enabled: false
url: url:
getAutoFault: http://175.6.40.69:9196/diagnose/getAutoFault getAutoFault: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getAutoFault
getMonitorFault: http://175.6.40.69:9196/diagnose/getMonitorFault getMonitorFault: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getMonitorFault
getFaultAndMonitor: http://175.6.40.69:9196/diagnose/getFaultAndMonitor getFaultAndMonitor: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getFaultAndMonitor
updateFaultState_Auto: http://175.6.40.69:9196/diagnose/updateFaultState_Auto updateFaultState_Auto: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/updateFaultState_Auto
updateFaultState_All: http://175.6.40.69:9196/diagnose/updateFaultState_All updateFaultState_All: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/updateFaultState_All
updateFaultState: http://175.6.40.69:9196/diagnose/updateFaultState_Manual updateFaultState: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/updateFaultState_Manual
listAll: http://175.6.40.69:9196/api/listAll listAll: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/api/listAll
searchFaultState: http://175.6.40.69:9196/diagnose/searchFaultState searchFaultState: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/searchFaultState
getGraph: http://175.6.40.69:9196/diagnose/getGraph getGraph: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getGraph
nextstep: http://175.6.40.69:9196/diagnose/nextstep nextstep: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/nextstep
searchFaultStateByFaults: http://175.6.40.69:9196/diagnose/searchFaultStateByFaults searchFaultStateByFaults: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/searchFaultStateByFaults
getStations: http://175.6.40.69:9196/diagnose/getStations getStations: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getStations
getMonitorByFaultStatus: http://175.6.40.69:9196/diagnose/getMonitorByFaultStatus getMonitorByFaultStatus: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getMonitorByFaultStatus
getStatisticStatus: http://175.6.40.69:9196/diagnose/getStatisticStatus getStatisticStatus: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getStatisticStatus
getNextStepWithTree: http://175.6.40.69:9196/diagnose/nextstepwithtree getNextStepWithTree: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/nextstepwithtree
getFaultStatusTableData: http://175.6.40.69:9196/diagnose/GetFaultStatusTableData getFaultStatusTableData: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/GetFaultStatusTableData
getNeoFaultPropertyList: http://175.6.40.69:9196/diagnose/GetNeoFaultPropertyList getNeoFaultPropertyList: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/GetNeoFaultPropertyList
getNeoFaultTableData: http://175.6.40.69:9196/diagnose/GetNeoFaultTableData getNeoFaultTableData: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/GetNeoFaultTableData
setFaultStatusInfo: http://175.6.40.69:9196/diagnose/setFaultStatusInfo setFaultStatusInfo: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/setFaultStatusInfo
# 获取需更新的预测模型 # 获取需更新的预测模型
getOutdatePredictModel: http://175.6.40.69:9196/diagnose/getOutdatePredictModel getOutdatePredictModel: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getOutdatePredictModel
# 训练预测模型 # 训练预测模型
trainPredictModel: http://175.6.40.69:9196/diagnose/trainPredictModel trainPredictModel: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/trainPredictModel
# fdp监测点与数据平台监测点绑定关系推送 # fdp监测点与数据平台监测点绑定关系推送
setDataLink: http://175.6.40.69:9196/diagnose/setDataLink setDataLink: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/setDataLink
#提交站点消息 #提交站点消息
submitStationInfo: http://175.6.40.69:9196/qa/submitStationInfo submitStationInfo: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/submitStationInfo
#删除站点信息 #删除站点信息
deleteStationInfo: http://175.6.40.69:9196/qa/deleteStationInfo deleteStationInfo: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/deleteStationInfo
#获取机组问题 #获取机组问题
getDevsetQuestion: http://175.6.40.69:9196/qa/getDevsetQuestion getDevsetQuestion: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/getDevsetQuestion
#获取站点问题 #获取站点问题
getStationQuestion: http://175.6.40.69:9196/qa/getStationQuestion getStationQuestion: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/getStationQuestion
#提交机组问题的答案 #提交机组问题的答案
submitDevsetAnswer: http://175.6.40.69:9196/qa/submitDevsetAnswer submitDevsetAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/submitDevsetAnswer
#提交站点问题的答案 #提交站点问题的答案
submitStationAnswer: http://175.6.40.69:9196/qa/submitStationAnswer submitStationAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/submitStationAnswer
#实例化站点图谱 #实例化站点图谱
generateGraphInstance: http://175.6.40.69:9196/qa/generateGraphInstance generateGraphInstance: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/generateGraphInstance
#按物模型实例编号获取问题答案 #按物模型实例编号获取问题答案
getInstanceAnswer: http://175.6.40.69:9196/qa/getInstanceAnswer getInstanceAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/getInstanceAnswer
#按物模型实例编号删除问题答案 #按物模型实例编号删除问题答案
deleteInstanceAnswer: http://175.6.40.69:9196/qa/deleteInstanceAnswer deleteInstanceAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/deleteInstanceAnswer
#删除站点问题的答案 #删除站点问题的答案
deleteStationAnswer: http://175.6.40.69:9196/qa/deleteStationAnswer deleteStationAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/deleteStationAnswer
# 删除机组问题答案 # 删除机组问题答案
deleteDevsetAnswer: http://175.6.40.69:9196/qa/deleteDevsetAnswer deleteDevsetAnswer: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/qa/deleteDevsetAnswer
# 提交问题答案 # 提交问题答案
submitResult: http://175.6.40.69:9196/diagnose/submitResult submitResult: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/submitResult
# 获取智能诊断历史趋势图 # 获取智能诊断历史趋势图
searchFaultHistoryState: http://175.6.40.69:9196/diagnose/searchFaultHistoryState searchFaultHistoryState: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/searchFaultHistoryState
# 获取故障相关的实时数据 # 获取故障相关的实时数据
getRealByFault: http://175.6.40.69:9196/diagnose/getRealByFault getRealByFault: http://${hzims.fdp.url.ip}:${hzims.fdp.url.port}/diagnose/getRealByFault

42
hzims-service/hzims-alarm/src/main/resources/template/template.yml

@ -15,17 +15,9 @@ spring:
#oss配置 #oss配置
oss: oss:
endpoint: "${hzinfo.oss.endpoint}" endpoint: ${hzinfo.oss.endpoint}
access-key: "${hzinfo.oss.access-key}" access-key: ${hzinfo.oss.access-key}
secret-key: "${hzinfo.oss.secret-key}" secret-key: ${hzinfo.oss.secret-key}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -38,18 +30,10 @@ swagger:
base-packages: com.hnac.hzims.alarm base-packages: com.hnac.hzims.alarm
hzims: hzims:
mqtt: mqtt:
url: tcp://${hzinfo.db.series.ip}:9036:1883 url: tcp://${hzinfo.mq.ip}:${hzinfo.mq.port}
group: hzims-alarm group: hzims-alarm
username: admin username: ${hzinfo.mq.username}
password: hzims@emqx password: ${hzinfo.mq.password}
system:
wss-url: ws://${hzinfo.db.series.ip}:9036/api/hzinfo-data-socket/websocket/soe
condition:
wss-url: wss://${hzinfo.db.series.ip}:9036/api/hzinfo-data-socket/websocket/soe
fdp:
alarm-url: wss://${hzinfo.db.series.ip}:9036/api/hzinfo-data-socket/websocket/soe
level:
wss-url: wss://${hzinfo.db.series.ip}:9036/api/hzinfo-data-socket/websocket/alarm
msg: msg:
template: aliyun-alarm-sms template: aliyun-alarm-sms
enabled: false enabled: false
@ -66,11 +50,11 @@ blade:
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://${hzinfo.db.series.ip}/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
ctrlUrl: http://${hzinfo.db.series.ip}/api/hzinfo-data-handler ctrlUrl: http://${hzims.sdk.ip}/api/hzinfo-data-handler
appId: '1635888805125099521' appId: ${hzims.sdk.appId}
appSecret: f4b6a4dc696b36445d2e5d38bbab2417 appSecret: ${hzims.sdk.appSecret}
redisIp: ${hzinfo.db.series.ip} redisIp: ${hzims.sdk.redisIp}
redisPort: 3577 redisPort: ${hzims.sdk.redisPort}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzims.sdk.password}
maxKeys: 1000 maxKeys: 1000

25
hzims-service/hzims-basic/src/main/resources/template/template.yml

@ -2,12 +2,6 @@
server: server:
port: 8550 port: 8550
#oss配置
oss:
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
#数据源配置 #数据源配置
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
@ -17,11 +11,12 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims_basic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims_basic?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource: #oss配置
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true" oss:
# username: "${hzinfo.db.busines.username}" endpoint: ${hzinfo.oss.endpoint}
# password: "${hzinfo.db.busines.password}" access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
@ -38,10 +33,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-safeproduct appname: hzims-safeproduct
ip: "${hzims.server.ip}" ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28200 port: 28200
@ -51,7 +46,7 @@ blade:
enabled: false enabled: false
lock: lock:
enabled: true enabled: true
address: redis://192.168.1.20:3577 address: redis://${hzinfo.redis.ip}:${hzinfo.redis.port}
password: 1qaz2WSX@redis password: ${hzinfo.redis.password}
database: 0 database: 0
ssl: false ssl: false

45
hzims-service/hzims-big-model/src/main/resources/template/template.yml

@ -2,12 +2,6 @@
server: server:
port: 8135 port: 8135
#oss配置
oss:
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
#数据源配置 #数据源配置
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
@ -17,16 +11,12 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_big_model?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_big_model?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
redis:
# redis数据库索引(默认为0),我们使用索引为0的数据库,避免和其他数据库冲突
database: 2
# redis服务器地址(默认为localhost)
host: 192.168.60.29
# redis端口(默认为6379)
port: 3577
# redis访问密码(默认为空)
password: 1qaz2WSX@redis
#oss配置
oss:
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
fdp: fdp:
host: http://192.168.60.16:9997 host: http://192.168.60.16:9997
@ -40,14 +30,15 @@ fdp:
assistantSpecialAsk: /qa/assistant_special_ask assistantSpecialAsk: /qa/assistant_special_ask
assistantKnowledgeAsk: /qa/assistant_knowledge_ask assistantKnowledgeAsk: /qa/assistant_knowledge_ask
hotQuestion: /qa/question_recommand hotQuestion: /qa/question_recommand
xxl: xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: http://192.168.60.104:7009/xxl-job-admin addresses: http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin
executor: executor:
appname: hzims-big-model appname: hzims-big-model
ip: 172.31.0.174 ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28135 port: 28135
@ -56,20 +47,20 @@ blade:
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://192.168.60.29/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
ctrlUrl: http://192.168.60.29/api/hzinfo-data-handler ctrlUrl: http://${hzims.sdk.ip}/api/hzinfo-data-handler
scadaUrl: http://192.168.60.29/api/hzinfo-data-scada scadaUrl: http://${hzims.sdk.ip}/api/hzinfo-data-scada
appId: '1635888805125099521' appId: ${hzims.sdk.appId}
appSecret: f4b6a4dc696b36445d2e5d38bbab2417 appSecret: ${hzims.sdk.appSecret}
redisIp: 192.168.60.34 redisIp: ${hzims.sdk.redisIp}
redisPort: 3577 redisPort: ${hzims.sdk.redisPort}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzims.sdk.password}
maxKeys: 1000 maxKeys: 1000
data-scope: data-scope:
enabled: false enabled: false
lock: lock:
enabled: true enabled: true
address: redis://192.168.60.29:3577 address: redis://${hzinfo.redis.ip}:${hzinfo.redis.port}
password: 1qaz2WSX@redis password: ${hzinfo.redis.password}
database: 0 database: 0
ssl: false ssl: false

22
hzims-service/hzims-middle/src/main/resources/template/template.yml

@ -2,12 +2,6 @@
server: server:
port: 8400 port: 8400
#oss配置
oss:
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
#数据源配置 #数据源配置
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
@ -17,12 +11,12 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_middle?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_middle?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#oss配置
oss:
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -41,7 +35,7 @@ blade:
enabled: false enabled: false
lock: lock:
enabled: true enabled: true
address: redis://192.168.60.34:3577 address: redis://${hzinfo.redis.ip}:${hzinfo.redis.port}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzinfo.redis.password}
database: 2 database: 0
ssl: false ssl: false

29
hzims-service/hzims-scheduled/src/main/resources/template/template.yml

@ -41,11 +41,6 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_alarm?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_alarm?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${${hzinfo.db.busines.username}.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#mybatis-plus配置 #mybatis-plus配置
@ -62,10 +57,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-scheduled appname: hzims-scheduled
ip: 172.31.0.12 ip: ${hzinfo.db.series.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28101 port: 28101
@ -99,18 +94,18 @@ hzims:
report: hzims.operation.energy.report report: hzims.operation.energy.report
blade: blade:
mqtt: mqtt:
url: tcp://192.168.60.29:1883 url: tcp://${hzinfo.mq.ip}:${hzinfo.mq.port}
group: hzims-alarm group: hzims-alarm
username: admin username: ${hzinfo.mq.username}
password: hzims@emqx password: ${hzinfo.mq.password}
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://192.168.60.29/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
ctrlUrl: http://192.168.60.29/api/hzinfo-data-handler ctrlUrl: http://${hzims.sdk.ip}/api/hzinfo-data-handler
appId: '1635888805125099521' appId: ${hzims.sdk.appId}
appSecret: f4b6a4dc696b36445d2e5d38bbab2417 appSecret: ${hzims.sdk.appSecret}
redisIp: 192.168.60.34 redisIp: ${hzims.sdk.redisIp}
redisPort: 3577 redisPort: ${hzims.sdk.redisPort}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzims.sdk.password}
maxKeys: 1000 maxKeys: 1000

63
hzims-service/inspect/src/main/resources/template/template.yml

@ -8,18 +8,9 @@ oss:
name: minio name: minio
tenant-mode: false tenant-mode: false
bucket-name: prd200000 bucket-name: prd200000
endpoint: "${hzinfo.oss.endpoint}" endpoint: ${hzinfo.oss.endpoint}
access-key: "${hzinfo.oss.access-key}" access-key: ${hzinfo.oss.access-key}
secret-key: "${hzinfo.oss.secret-key}" secret-key: ${hzinfo.oss.secret-key}
#oss配置
#oss:
# enabled: true
# name: minio
# tenant-mode: false
# bucket-name: prd200000
# endpoint: https://ops.hnaccloud.com:8000
# access-key: hzinfo
# secret-key: JKyro3z#yqChgkKtFuq
#数据源配置 #数据源配置
spring: spring:
@ -30,11 +21,6 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_inspect?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_inspect?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#mybatis-plus配置 #mybatis-plus配置
@ -51,10 +37,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin
executor: executor:
appname: hzinfo-inspect appname: hzinfo-inspect
ip: "${hzims.server.ip}" ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28132 port: 28132
@ -68,13 +54,8 @@ hzinfo:
pdf: pdf:
# pdf模板路径 ,请配置绝对路径 # pdf模板路径 ,请配置绝对路径
module-path: /data/inspect/pdf/templet/inspectObj.html module-path: /data/inspect/pdf/templet/inspectObj.html
# module-path: D:\data\hzinfo\templet\inspectObj.html # windows
# pdf文件存储路径,请配置绝对路径 # pdf文件存储路径,请配置绝对路径
file-path: /data/inspect/pdf/file file-path: /data/inspect/pdf/file
# file-path: D:/data/hzinfo/file # windows
hzims: hzims:
tasks: tasks:
@ -115,20 +96,8 @@ offline:
sync: /data/hzims/temp/offline/sync sync: /data/hzims/temp/offline/sync
max-size: 1073741824 max-size: 1073741824
#sms:
# aliyun:
# connectTimeout: 10000
# readTimeout: 10000
# proxyDomain: 175.6.40.67:37880
# accessKeyId: 7262257e6dd16e85ddfee09d3e8eedaa
# accessKeySecret: 7dba15f64eba724521d0ecd4c02a8a3e49f3ffa95ff75d63a3c4a88a1679282b173e5c13ddbba3eb2699a65a1be1b32b
# profilePoint: cn-changsha
# endPoint: cn-changsha
# signName: 华自科技
logging: logging:
level: level:
# org.springblade.resource.feign.OssClient: DEBUG
com.hnac.hzinfo.inspect: DEBUG com.hnac.hzinfo.inspect: DEBUG
feign: feign:
client: client:
@ -137,26 +106,24 @@ feign:
default: default:
loggerLevel: FULL loggerLevel: FULL
blade: blade:
data-scope: data-scope:
enabled: false enabled: false
mqtt: mqtt:
enabled: true enabled: true
userName: emqx userName: ${hzinfo.mq.username}
password: hzims@emqx password: ${hzinfo.mq.password}
urls: tcp://192.168.60.29:1883 urls: tcp://${hzinfo.mq.ip}:${hzinfo.mq.port}
clientId: hzinfo_inspect clientId: hzinfo_inspect
topicNames: topic_ai_events topicNames: topic_ai_events
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://192.168.60.29/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
ctrlUrl: http://192.168.60.29/api/hzinfo-data-handler ctrlUrl: http://${hzims.sdk.ip}/api/hzinfo-data-handler
appId: '1706919441406693378' appId: ${hzims.sdk.appId}
appSecret: 4bf4fa0d713921ed4e1b22bfac4993ac appSecret: ${hzims.sdk.appSecret}
redisIp: 192.168.60.29 redisIp: ${hzims.sdk.redisIp}
redisPort: 3577 redisPort: ${hzims.sdk.redisPort}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzims.sdk.password}
maxKeys: 1000 maxKeys: 1000

45
hzims-service/operational/src/main/resources/template/template.yml

@ -2,12 +2,6 @@
server: server:
port: 8501 port: 8501
#oss配置
oss:
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
#数据源配置 #数据源配置
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
@ -17,12 +11,12 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#oss配置
oss:
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -38,10 +32,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-operational appname: hzims-operational
ip: "${hzims.server.ip}" ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28501 port: 28501
@ -64,14 +58,6 @@ hzims:
greaterThan: 0.3 greaterThan: 0.3
lessThan: 0.9 lessThan: 0.9
beEqualOrGreaterThan: 0.9 beEqualOrGreaterThan: 0.9
alert:
# 接收告警的websocket url
ws-url: wss://175.6.40.67:9036/api/hzinfo-data-socket/websocket/soe
config:
#接收遥测或遥信实时数据的websocket url
ws-url: wss://175.6.40.67:9036/api/hzinfo-data-socket/websocket/data
level:
ws-url: wss://175.6.40.67:9036/api/hzinfo-data-socket/websocket/alarm
pdf: pdf:
# pdf文件存储路径,请配置绝对路径 # pdf文件存储路径,请配置绝对路径
#file-path: /data/inspect/pdf/file #file-path: /data/inspect/pdf/file
@ -163,22 +149,23 @@ blade:
data: data:
sdk: sdk:
enabled: true enabled: true
url: http://192.168.60.29/api/hzinfo-data-config url: http://${hzims.sdk.ip}/api/hzinfo-data-config
ctrlUrl: http://192.168.60.29/api/hzinfo-data-handler ctrlUrl: http://${hzims.sdk.ip}/api/hzinfo-data-handler
appId: '1635888805125099521' appId: ${hzims.sdk.appId}
appSecret: f4b6a4dc696b36445d2e5d38bbab2417 appSecret: ${hzims.sdk.appSecret}
redisIp: 192.168.60.34 redisIp: ${hzims.sdk.redisIp}
redisPort: 3577 redisPort: ${hzims.sdk.redisPort}
password: L_MM&h=+Nm&p)U9sk.uH password: ${hzims.sdk.password}
maxKeys: 1000 maxKeys: 1000
data-scope: data-scope:
enabled: false enabled: false
lock: lock:
enabled: true enabled: true
address: redis://192.168.60.34:3577 address: redis://${hzinfo.redis.ip}:${hzinfo.redis.hzinfo.redis.port}
password: password:
database: 0 database: 0
ssl: false ssl: false
logging: logging:
level: level:
com.hnac.hzinfo.inspect.task.feign.IInspectTaskClient: NONE com.hnac.hzinfo.inspect.task.feign.IInspectTaskClient: NONE

19
hzims-service/safeproduct/src/main/resources/template/template.yml

@ -2,11 +2,6 @@
server: server:
port: 8200 port: 8200
#oss配置
oss:
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
#数据源配置 #数据源配置
spring: spring:
@ -26,12 +21,12 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#oss配置
oss:
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -47,10 +42,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-safeproduct appname: hzims-safeproduct
ip: "${hzims.server.ip}" ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28200 port: 28200

28
hzims-service/ticket/src/main/resources/template/template.yml

@ -2,15 +2,6 @@
server: server:
port: 8216 port: 8216
#oss配置
oss:
enable: true
name: minio
tenant-mode: true
endpoint: "${hzinfo.oss.endpoint}"
access-key: "${hzinfo.oss.access-key}"
secret-key: "${hzinfo.oss.secret-key}"
bucket-name: dev200000
#数据源配置 #数据源配置
spring: spring:
#排除DruidDataSourceAutoConfigure #排除DruidDataSourceAutoConfigure
@ -20,12 +11,16 @@ spring:
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_ticket?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_ticket?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: ${hzinfo.db.busines.username} username: ${hzinfo.db.busines.username}
password: ${hzinfo.db.busines.password} password: ${hzinfo.db.busines.password}
#
# datasource:
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
# username: "${hzinfo.db.busines.username}"
# password: "${hzinfo.db.busines.password}"
#oss配置
oss:
enable: true
name: minio
tenant-mode: true
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
bucket-name: dev200000
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -41,15 +36,14 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-ticket appname: hzims-ticket
ip: "${hzims.server.ip}" ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28601 port: 28601
hzims: hzims:
tenantId: 200000 tenantId: 200000
url: url:

19
hzims-service/weather/src/main/resources/template/template.yml

@ -8,9 +8,18 @@ spring:
autoconfigure: autoconfigure:
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource: datasource:
url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/test_hzims_weather?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true" url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/test_hzims_weather?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: "${hzinfo.db.busines.username}" username: ${hzinfo.db.busines.username}
password: "${hzinfo.db.busines.password}" password: ${hzinfo.db.busines.password}
#oss配置
oss:
enable: true
name: minio
tenant-mode: true
endpoint: ${hzinfo.oss.endpoint}
access-key: ${hzinfo.oss.access-key}
secret-key: ${hzinfo.oss.secret-key}
#mybatis-plus配置 #mybatis-plus配置
mybatis-plus: mybatis-plus:
@ -22,10 +31,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" addresses: "http://${hzims.xxljob.ip}:${hzims.xxljob.port}/xxl-job-admin"
executor: executor:
appname: hzims-weather appname: hzims-weather
ip: 172.31.0.12 ip: ${hzims.server.ip}
logpath: /data/applogs/xxl-job/jobhandler logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 7 logretentiondays: 7
port: 28300 port: 28300

Loading…
Cancel
Save