Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
589a2fa3
Commit
589a2fa3
authored
Feb 21, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除无用配置项
parent
259794a1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
320 additions
and
113 deletions
+320
-113
application-dev.properties
...ystem-equip/src/main/resources/application-dev.properties
+1
-6
application-docker.properties
...em-equip/src/main/resources/application-docker.properties
+73
-21
application-jcs.properties
...ystem-equip/src/main/resources/application-jcs.properties
+81
-36
application-qa.properties
...system-equip/src/main/resources/application-qa.properties
+74
-21
application-test.properties
...stem-equip/src/main/resources/application-test.properties
+81
-21
application.properties
...ot-system-equip/src/main/resources/application.properties
+10
-8
No files found.
amos-boot-system-equip/src/main/resources/application-dev.properties
View file @
589a2fa3
...
...
@@ -23,12 +23,8 @@ eureka.instance.prefer-ip-address = true
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
#security config
#security.password=a1234560
#security.loginId=fas_system
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.appKeyApp=studio_normalapp_3056965
amos.system.user.user-name
=
fas_system
...
...
@@ -119,7 +115,6 @@ equipment.pressurepump.start=FHS_PressurePump_Start
# 稳压泵管网压力信号
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
# 站端标识
state.code
=
GW190301
...
...
amos-boot-system-equip/src/main/resources/application-docker.properties
View file @
589a2fa3
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.1
1.20:3306/autosys_business_v3.0.0.2?useUnicode
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.url
=
jdbc:mysql://172.16.1
0.215:3307/dl_business_v3.0.1.3?useUnicode=true&allowMultiQueries
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
30
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
1
0000
spring.datasource.hikari.idle-timeout
=
50
0000
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
3
0000
spring.datasource.hikari.connection-timeout
=
6
0000
spring.datasource.hikari.connection-test-query
=
SELECT 1
eureka.instance.hostname
=
172.16.11.20
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
#security config
#security.password=a1234560
#security.loginId=fas_system
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
fileserver_domain
=
http://172.16.10.215:9000/
#eureka.instance.ip-address= 172.16.3.135
eureka.instance.hostname
=
172.16.10.215
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.appKeyApp=studio_normalapp_3056965
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.product
=
STUDIO_APP_WEB
#redis
spring.redis.database
=
1
spring.redis.host
=
172.16.1
1.20
spring.redis.host
=
172.16.1
0.215
spring.redis.port
=
6379
spring.redis.password
=
123456
0
spring.redis.password
=
yeejoin@202
0
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.expire.time
=
300
00
## emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.1
1.33
:1883
emqx.broker
=
tcp://172.16.1
0.215
:1883
emqx.user-name
=
admin
emqx.password
=
public
mqtt.scene.host
=
mqtt://172.16.1
1.33
:8083/mqtt
mqtt.scene.host
=
mqtt://172.16.1
0.215
:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
#定时任务
##物联报表定时任务
jobs.month.cron
=
0 50 0 1 * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.week.cron
=
0 25 0 ? * 1
jobs.day.cron.old
=
0 25 0 * * ?
#数据同步开关
systemctl.sync.switch
=
false
#数据JCS开关
...
...
@@ -71,9 +82,49 @@ param.system.online.date = 2019-02-12
# 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启
window.vedioFormat
=
hls
window.vedioFormat.video
=
flv
# 航天视频服务地址
param.htvideo.url
=
""
;
param.htvideo.url
=
http://192.168.4.174:9001
;
# 南瑞视频转码服务地址
param.nrvideo.url
=
"";
param.nrvideo.url
=
http://198.87.103.158:8001;
#南瑞视频平台通过视频id获取flv格式视频播放地址
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
# 预案消防炮、消防泵设备维度类型
equipment.plan.monitor
=
92030200,92032200
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
# 机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
# 机场使用
#iot.code.prefix.have.used=20210003,20210004,20210005
# 电力使用
iot.code.prefix.have.used
=
#装备服务在接收到站端iot推送的装备数据后进行influxdb存库
#1.在装备接口消息处向influxdb/{productKey}/{deviceName} 消息地址推送数据,iot负责存库
#2.配置文件添加配置项开关,默认为关闭,该功能只使用于中心及系统
#是否向iot推送消息
isSendIot
=
false
#报废前30日 发起提醒
equipment.scrap.day
=
30
#提醒时间
equipment.scrap.cron
=
0 0 9 * * ?
# 稳压泵启动信号
equipment.pressurepump.start
=
FHS_PressurePump_Start
# 稳压泵管网压力信号
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
# 站端标识
state.code
=
GW190301
state.name
=
\u9526\u
5c4f
\u6362\u
6d41
\u
7ad9
#用于总部系统与站端系统逻辑区分,站端写zd总部默认为空
system.type
=
zd
# 是否开启遥测数据上报
is.open.telemetering
=
false
# 水池液位相关信号
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
\ No newline at end of file
amos-boot-system-equip/src/main/resources/application-jcs.properties
View file @
589a2fa3
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.10.
66:3306/safety-business-3.0.1?useUnicode
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.url
=
jdbc:mysql://172.16.10.
215:3307/dl_business_v3.0.1.3?useUnicode=true&allowMultiQueries
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
30
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
1
0000
spring.datasource.hikari.idle-timeout
=
50
0000
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
3
0000
spring.datasource.hikari.connection-timeout
=
6
0000
spring.datasource.hikari.connection-test-query
=
SELECT 1
fdfs.so-timeout
=
1501
fdfs.connect-timeout
=
601
fdfs.thumb-image.height
=
200
fdfs.thumb-image.width
=
200
fdfs.tracker-list[0]=
39.98.246.31
:
22122
eureka.instance.hostname
=
172.16.10.72
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
fileserver_domain
=
http://172.16.10.215:9000/
#eureka.instance.ip-address= 172.16.3.135
eureka.instance.hostname
=
172.16.10.215
#security config
#security.password=a1234560
#security.loginId=fas_system
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.appKeyApp=studio_normalapp_3056965
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3
157169
amos.system.user.app-key
=
studio_normalapp_3
056965
amos.system.user.product
=
STUDIO_APP_WEB
#redis
spring.redis.database
=
0
spring.redis.host
=
172.16.10.85
spring.redis.database
=
1
spring.redis.host
=
172.16.10.215
spring.redis.port
=
6379
spring.redis.password
=
amos2019Redis
spring.redis.password
=
yeejoin@2020
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.expire.time
=
300
00
mqtt.scene.host
=
mqtt://172.16.10.85:8083/mqtt
## emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.10.215:1883
emqx.user-name
=
admin
emqx.password
=
public
mqtt.scene.host
=
mqtt://172.16.10.215:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
#
# emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.10.85:1883
emqx.user-name
=
super
emqx.password
=
a123456
#
定时任务
##物联报表定时任务
jobs.month.cron
=
0 50 0 1 * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.week.cron
=
0 25 0 ? * 1
jobs.day.cron.old
=
0 25 0 * * ?
#数据同步开关
systemctl.sync.switch
=
false
#数据JCS开关
systemctl.jcs.switch
=
tru
e
systemctl.jcs.switch
=
fals
e
#平台数据开关
systemctl.amos.switch
=
tru
e
isSendApp
=
tru
e
systemctl.amos.switch
=
fals
e
isSendApp
=
fals
e
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
@@ -78,9 +82,49 @@ param.system.online.date = 2019-02-12
# 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启
window.vedioFormat
=
hls
window.vedioFormat.video
=
flv
# 航天视频服务地址
param.htvideo.url
=
""
;
param.htvideo.url
=
http://192.168.4.174:9001
;
# 南瑞视频转码服务地址
param.nrvideo.url
=
"";
param.nrvideo.url
=
http://198.87.103.158:8001;
#南瑞视频平台通过视频id获取flv格式视频播放地址
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
# 预案消防炮、消防泵设备维度类型
equipment.plan.monitor
=
92030200,92032200
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
# 机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
# 机场使用
#iot.code.prefix.have.used=20210003,20210004,20210005
# 电力使用
iot.code.prefix.have.used
=
#装备服务在接收到站端iot推送的装备数据后进行influxdb存库
#1.在装备接口消息处向influxdb/{productKey}/{deviceName} 消息地址推送数据,iot负责存库
#2.配置文件添加配置项开关,默认为关闭,该功能只使用于中心及系统
#是否向iot推送消息
isSendIot
=
false
#报废前30日 发起提醒
equipment.scrap.day
=
30
#提醒时间
equipment.scrap.cron
=
0 0 9 * * ?
# 稳压泵启动信号
equipment.pressurepump.start
=
FHS_PressurePump_Start
# 稳压泵管网压力信号
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
# 站端标识
state.code
=
GW190301
state.name
=
\u9526\u
5c4f
\u6362\u
6d41
\u
7ad9
#用于总部系统与站端系统逻辑区分,站端写zd总部默认为空
system.type
=
zd
# 是否开启遥测数据上报
is.open.telemetering
=
false
# 水池液位相关信号
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
\ No newline at end of file
amos-boot-system-equip/src/main/resources/application-qa.properties
View file @
589a2fa3
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.1
1.20:3306/autosys_business_v3.0.0.2?useUnicode
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.url
=
jdbc:mysql://172.16.1
0.215:3307/dl_business_v3.0.1.3?useUnicode=true&allowMultiQueries
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
30
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
1
0000
spring.datasource.hikari.idle-timeout
=
50
0000
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
3
0000
spring.datasource.hikari.connection-timeout
=
6
0000
spring.datasource.hikari.connection-test-query
=
SELECT 1
eureka.instance.hostname
=
172.16.11.20
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
#security config
#security.password=a1234560
#security.loginId=fas_system
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
fileserver_domain
=
http://172.16.10.215:9000/
#eureka.instance.ip-address= 172.16.3.135
eureka.instance.hostname
=
172.16.10.215
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.appKeyApp=studio_normalapp_3056965
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.product
=
STUDIO_APP_WEB
#redis
spring.redis.database
=
1
spring.redis.host
=
172.16.1
1.20
spring.redis.host
=
172.16.1
0.215
spring.redis.port
=
6379
spring.redis.password
=
123456
0
spring.redis.password
=
yeejoin@202
0
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.expire.time
=
300
00
## emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.1
1.33
:1883
emqx.broker
=
tcp://172.16.1
0.215
:1883
emqx.user-name
=
admin
emqx.password
=
public
mqtt.scene.host
=
mqtt://172.16.1
1.33
:8083/mqtt
mqtt.scene.host
=
mqtt://172.16.1
0.215
:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
#定时任务
##物联报表定时任务
jobs.month.cron
=
0 50 0 1 * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.week.cron
=
0 25 0 ? * 1
jobs.day.cron.old
=
0 25 0 * * ?
#数据同步开关
systemctl.sync.switch
=
false
#数据JCS开关
systemctl.jcs.switch
=
false
#平台数据开关
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
@@ -70,9 +82,49 @@ param.system.online.date = 2019-02-12
# 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启
window.vedioFormat
=
hls
window.vedioFormat.video
=
flv
# 航天视频服务地址
param.htvideo.url
=
""
;
param.htvideo.url
=
http://192.168.4.174:9001
;
# 南瑞视频转码服务地址
param.nrvideo.url
=
"";
param.nrvideo.url
=
http://198.87.103.158:8001;
#南瑞视频平台通过视频id获取flv格式视频播放地址
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
# 预案消防炮、消防泵设备维度类型
equipment.plan.monitor
=
92030200,92032200
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
# 机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
# 机场使用
#iot.code.prefix.have.used=20210003,20210004,20210005
# 电力使用
iot.code.prefix.have.used
=
#装备服务在接收到站端iot推送的装备数据后进行influxdb存库
#1.在装备接口消息处向influxdb/{productKey}/{deviceName} 消息地址推送数据,iot负责存库
#2.配置文件添加配置项开关,默认为关闭,该功能只使用于中心及系统
#是否向iot推送消息
isSendIot
=
false
#报废前30日 发起提醒
equipment.scrap.day
=
30
#提醒时间
equipment.scrap.cron
=
0 0 9 * * ?
# 稳压泵启动信号
equipment.pressurepump.start
=
FHS_PressurePump_Start
# 稳压泵管网压力信号
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
# 站端标识
state.code
=
GW190301
state.name
=
\u9526\u
5c4f
\u6362\u
6d41
\u
7ad9
#用于总部系统与站端系统逻辑区分,站端写zd总部默认为空
system.type
=
zd
# 是否开启遥测数据上报
is.open.telemetering
=
false
# 水池液位相关信号
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
\ No newline at end of file
amos-boot-system-equip/src/main/resources/application-test.properties
View file @
589a2fa3
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.1
1.20:3306/autosys_business_v3.0.0.2?useUnicode
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.url
=
jdbc:mysql://172.16.1
0.215:3307/dl_business_v3.0.1.3?useUnicode=true&allowMultiQueries
=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
30
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
1
0000
spring.datasource.hikari.idle-timeout
=
50
0000
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
3
0000
spring.datasource.hikari.connection-timeout
=
6
0000
spring.datasource.hikari.connection-test-query
=
SELECT 1
eureka.instance.hostname
=
172.16.11.20
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
#security config
#security.password=a1234560
#security.loginId=fas_system
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
fileserver_domain
=
http://172.16.10.215:9000/
#eureka.instance.ip-address= 172.16.3.135
eureka.instance.hostname
=
172.16.10.215
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
=
http://${spring.security.user.name}:${spring.security.user.password}@172.16.10.215:10001/eureka/
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.appKeyApp=studio_normalapp_3056965
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.product
=
STUDIO_APP_WEB
#redis
spring.redis.database
=
1
spring.redis.host
=
172.16.1
1.20
spring.redis.host
=
172.16.1
0.215
spring.redis.port
=
6379
spring.redis.password
=
123456
0
spring.redis.password
=
yeejoin@202
0
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.expire.time
=
300
00
## emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.1
1.33
:1883
emqx.broker
=
tcp://172.16.1
0.215
:1883
emqx.user-name
=
admin
emqx.password
=
public
mqtt.scene.host
=
mqtt://172.16.1
1.33
:8083/mqtt
mqtt.scene.host
=
mqtt://172.16.1
0.215
:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
#定时任务
##物联报表定时任务
jobs.month.cron
=
0 50 0 1 * ?
jobs.day.cron
=
0 5 0 * * ?
jobs.week.cron
=
0 25 0 ? * 1
jobs.day.cron.old
=
0 25 0 * * ?
#数据同步开关
systemctl.sync.switch
=
false
#数据JCS开关
systemctl.jcs.switch
=
false
#平台数据开关
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
@@ -63,9 +82,49 @@ param.system.online.date = 2019-02-12
# 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启
window.vedioFormat
=
hls
window.vedioFormat.video
=
flv
# 航天视频服务地址
param.htvideo.url
=
""
;
param.htvideo.url
=
http://192.168.4.174:9001
;
# 南瑞视频转码服务地址
param.nrvideo.url
=
"";
param.nrvideo.url
=
http://198.87.103.158:8001;
#南瑞视频平台通过视频id获取flv格式视频播放地址
param.nrflvbyvoideoid.url
=
http://192.168.4.159:10010/api/media/live
# 预案消防炮、消防泵设备维度类型
equipment.plan.monitor
=
92030200,92032200
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
# 机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
# 机场使用
#iot.code.prefix.have.used=20210003,20210004,20210005
# 电力使用
iot.code.prefix.have.used
=
#装备服务在接收到站端iot推送的装备数据后进行influxdb存库
#1.在装备接口消息处向influxdb/{productKey}/{deviceName} 消息地址推送数据,iot负责存库
#2.配置文件添加配置项开关,默认为关闭,该功能只使用于中心及系统
#是否向iot推送消息
isSendIot
=
false
#报废前30日 发起提醒
equipment.scrap.day
=
30
#提醒时间
equipment.scrap.cron
=
0 0 9 * * ?
# 稳压泵启动信号
equipment.pressurepump.start
=
FHS_PressurePump_Start
# 稳压泵管网压力信号
equipment.pressurepump.pipepressure
=
FHS_PipePressureDetector_PipePressure
# 站端标识
state.code
=
GW190301
state.name
=
\u9526\u
5c4f
\u6362\u
6d41
\u
7ad9
#用于总部系统与站端系统逻辑区分,站端写zd总部默认为空
system.type
=
zd
# 是否开启遥测数据上报
is.open.telemetering
=
false
# 水池液位相关信号
water.level.indexKey
=
FHS_FirePoolDevice_WaterLevel,FHS_LevelDetector_WaterLevel,FHS_WirelessliquidDetector_WaterLevel,CAFS_FoamTank_FoamTankLevel,CAFS_WaterTank_WaterTankLevel
\ No newline at end of file
amos-boot-system-equip/src/main/resources/application.properties
View file @
589a2fa3
...
...
@@ -12,20 +12,23 @@ mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
mybatis.type-aliases-package
=
com.yeejoin.equipmanage.common.entity
spring.jackson.time-zone
=
GMT+8
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
#pagehelper \u5206\u9875\u63D2\u4EF6
#分页
pagehelper.helper-dialect
=
mysql
pagehelper.params
=
count=countSql
pagehelper.reasonable
=
false
pagehelper.support-methods-arguments
=
true
#覆盖相同名称bean
spring.main.allow-bean-definition-overriding
=
true
#liquibase
spring.liquibase.change-log
=
classpath:/changelog/changelog-master.xml
spring.liquibase.enabled
=
true
#\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u5927\u5C0F
#上传文件设置
spring.servlet.multipart.maxFileSize
=
100MB
spring.servlet.multipart.maxRequestSize
=
100MB
#saveUserRedis\u8FC7\u671F\u65F6\u95F428\u5929
#
redis_region_time_second=2419200
#
fegin调用服务名称
patrol.fegin.name
=
AMOS-PATROL
maintenance.feign.name
=
AMOS-MAINTENANCE-API
precontrol.feign.name
=
JEPCC-PRECONTROL-SERVER
...
...
@@ -63,6 +66,8 @@ systemctl.dict.build-use-type=BUILD_USE_TYPE
systemctl.dict.building-structure-type
=
BUILDING_STRUCTURE_TYPE
equip.dict.car-state
=
CarState
equip.dict.name-key
=
FireCar_GDLongitude,FireCar_GDLatitude
#Project application topic
mqtt.vehicle.topic
=
${equipManage.name}.vehicle.state
equip.point.equipmentdata.topic
=
${equipManage.name}.equipment.state
...
...
@@ -90,8 +95,6 @@ dcs.x.hw.appKey=s+YkvQhwilx91TRJHhNDmw==
equip.enabled
=
false
management.endpoints.enabled-by-default
=
false
# 权限标识-物联区域
auth-key-area
=
area_info
# 权限标识-消防系统
...
...
@@ -126,7 +129,7 @@ management.security.enabled=true
management.endpoint.health.show-details
=
always
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
#每個站表示
stationCode
=
LSHLZ1bZAJU645Pgl7
##代码中有部分逻辑冲突需要处理 为区分机场和电力逻辑 增加开关 若为true 则为机场逻辑 为false 则为电力逻辑
logic
=
false
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment