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
74a725cf
Commit
74a725cf
authored
Jul 28, 2023
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.共享主题调试
2.集群配置文件备份提交
parent
dafeabc4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
537 additions
and
230 deletions
+537
-230
application-cluster.properties
...333-biz/src/main/resources/application-cluster.properties
+106
-45
AmosCylinderApplication.java
...c/main/java/com/yeejoin/amos/AmosCylinderApplication.java
+2
-1
application-cluster.properties
...der-biz/src/main/resources/application-cluster.properties
+106
-45
application-cluster.properties
...czs-biz/src/main/resources/application-cluster.properties
+106
-45
AmosTcmApplication.java
...iz/src/main/java/com/yeejoin/amos/AmosTcmApplication.java
+5
-4
application-cluster.properties
...tcm-biz/src/main/resources/application-cluster.properties
+106
-45
application-cluster.properties
...ymt-biz/src/main/resources/application-cluster.properties
+106
-45
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/application-cluster.properties
View file @
74a725cf
#DB properties:
#DB properties:
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://mysql:3306/${TZS_BIZ_DATABASE}?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
#spring.datasource.username=${MYSQL_ROOT_USER}
#spring.datasource.password=${MYSQL_ROOT_PASSWORD}
spring.datasource.url
=
jdbc:vastbase://${POSTGRESQL_IP_port}/${POSTGRESQL_NAME}?currentSchema=${TZS_IDX_BIZ_DATABASE}&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&noAccessToProcedureBodies=true&allowMultiQueries=true
spring.datasource.username
=
${POSTGRESQL_USER}
spring.datasource.password
=
${POSTGRESQL_PASSWORD}
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.url
=
jdbc:vastbase://192.168.249.180:54321/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2023
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
eureka.client.service-url.defaultZone
=
http://192.168.249.13:10001/eureka/,http://192.168.249.139:10001/eureka/
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@192.168.249.13:10001/eureka/,http://admin:a1234560@192.168.249.139:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
eureka.instance.ip-address
=
192.168.249.13
eureka.instance.ip-address
=
192.168.249.139
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
${eureka.instance.ip-address}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
elevator
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://elevator:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://elevator:${server.port}${server.servlet.context-path}/doc.html
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
spring.elasticsearch.rest.uris
=
${ELASTICSEARCH_REST_URIS}
elasticsearch.password
=
Yeejoin@2023
elasticsearch.username
=
${ELASTICSEARCH_USERNAME}
spring.elasticsearch.rest.uris
=
http://192.168.249.218:9200,http://192.168.249.114:9200,http://192.168.249.155:9200
elasticsearch.password
=
${ELASTICSEARCH_PASSWORD}
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
#集群环境
spring.redis.cluster.nodes
=
${REDIS_CLUSTER_NODES}
spring.redis.
cluster.nodes
=
192.168.249.218:6377,192.168.249.114:6377,192.168.249.155:6377
spring.redis.
password
=
${REDIS_PASSWORD}
spring.redis.
password
=
Yeejoin@202
3
spring.redis.
cluster.max-redirects
=
3
spring.redis.
lettuce.pool.max-active
=
2
00
spring.redis.
timeout
=
100
00
spring.redis.lettuce.
pool.max-wait
=
-1
spring.redis.lettuce.
cluster.refresh.adaptive
=
true
spring.redis.lettuce.
pool.max-idle
=
1
0
spring.redis.lettuce.
cluster.refresh.period
=
200
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
##
emqx properties:
##
emqx
emqx.clean-session
=
fals
e
emqx.clean-session
=
tru
e
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://192.168.249.180:2883
emqx.broker
=
${EMQX_BROKER}
emqx.client-user-name
=
super
emqx.client-user-name
=
${EMQX_USER}
emqx.client-password
=
123456
emqx.client-password
=
${EMQX_PASSWORD}
emqx.keepAliveInterval
=
1000
tzs.cti.appkey
=
4e805006-3fef-ae43-3915-a153731007c4
tzs.cti.appkey
=
0a1b1cf1-a55b-447a-d275-02931f13b2fa
tzs.cti.secretkey
=
7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.cti.secretkey
=
cae7c0f8-a7b8-9876-d69b-3eba8262898a
tzs.cti.url
=
http://36.41.172.83:8000
tzs.cti.url
=
http://192.168.249.178:8000
##wechatTokenls
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
##wechatTicketUrl
##wechatTicketUrl
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.cti.push
=
/cti/record
mqtt.topic.cti.push
=
/cti/record
cti.user.name
=
tzs_cti
cti.user.name
=
tzs_cti
cti.user.pwd
=
a1234567
cti.user.pwd
=
a1234567
flc.sms.tempCode
=
SMS_TZS_0001
flc.sms.tempCode
=
SMS_TZS_0001
## ??????id
## 预警通知模板id
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
##
??????
##
督查整改通知
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
## ???????id???userId?
## 公众号测试用户id(平台userId)
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
fileserver.domain
=
https://rpm.yeeamos.com:8888/
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://192.168.249.180:19000/
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## 规则配置 properties:
rule.definition.load
=
false
rule.definition.load
=
false
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
192.168.249.13
rule.definition.local-ip
=
192.168.249.139
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.auth.user.photo
=
/public/common/userPic.png
minio.url.path
=
${MINIO_FILESERVER_DOMAIN}/
#### 管理员变更机器人账号
tzs.admin.name
=
tzs_robot
tzs.admin.pwd
=
a1234567
##小程序appid
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
#气瓶充装信息定时同步至es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#
\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3
es
#
气瓶基本信息定时同步至
es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
minio.url.path
=
http://192.168.249.180:19000/
## 生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
STUDIO_APP_WEB
amos.system.user.product
=
STUDIO_APP_WEB
\ No newline at end of file
##生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/AmosCylinderApplication.java
View file @
74a725cf
...
@@ -88,7 +88,8 @@ public class AmosCylinderApplication {
...
@@ -88,7 +88,8 @@ public class AmosCylinderApplication {
* @return 共享主题
* @return 共享主题
*/
*/
private
String
buildShareTopic
(){
private
String
buildShareTopic
(){
return
"$share/"
+
applicationName
+
"/tzs/sync/fillingRecord"
;
// 发布者主题为 / 开头,与共享主题冲突,所以再多加一根斜线
return
"$share/"
+
applicationName
+
"//tzs/sync/fillingRecord"
;
}
}
// @Bean
// @Bean
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/resources/application-cluster.properties
View file @
74a725cf
#DB properties:
#DB properties:
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://mysql:3306/${TZS_BIZ_DATABASE}?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
#spring.datasource.username=${MYSQL_ROOT_USER}
#spring.datasource.password=${MYSQL_ROOT_PASSWORD}
spring.datasource.url
=
jdbc:vastbase://${POSTGRESQL_IP_port}/${POSTGRESQL_NAME}?currentSchema=${TZS_IDX_BIZ_DATABASE}&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&noAccessToProcedureBodies=true&allowMultiQueries=true
spring.datasource.username
=
${POSTGRESQL_USER}
spring.datasource.password
=
${POSTGRESQL_PASSWORD}
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.url
=
jdbc:vastbase://192.168.249.180:54321/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2023
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
eureka.client.service-url.defaultZone
=
http://192.168.249.13:10001/eureka/,http://192.168.249.139:10001/eureka/
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@192.168.249.13:10001/eureka/,http://admin:a1234560@192.168.249.139:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
eureka.instance.ip-address
=
192.168.249.13
eureka.instance.ip-address
=
192.168.249.139
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
${eureka.instance.ip-address}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
cylinder
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://cylinder:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://cylinder:${server.port}${server.servlet.context-path}/swagger-ui.html
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
spring.elasticsearch.rest.uris
=
${ELASTICSEARCH_REST_URIS}
elasticsearch.password
=
Yeejoin@2023
elasticsearch.username
=
${ELASTICSEARCH_USERNAME}
spring.elasticsearch.rest.uris
=
http://192.168.249.218:9200,http://192.168.249.114:9200,http://192.168.249.155:9200
elasticsearch.password
=
${ELASTICSEARCH_PASSWORD}
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
#集群环境
spring.redis.cluster.nodes
=
${REDIS_CLUSTER_NODES}
spring.redis.
cluster.nodes
=
192.168.249.218:6377,192.168.249.114:6377,192.168.249.155:6377
spring.redis.
password
=
${REDIS_PASSWORD}
spring.redis.
password
=
Yeejoin@202
3
spring.redis.
cluster.max-redirects
=
3
spring.redis.
lettuce.pool.max-active
=
2
00
spring.redis.
timeout
=
100
00
spring.redis.lettuce.
pool.max-wait
=
-1
spring.redis.lettuce.
cluster.refresh.adaptive
=
true
spring.redis.lettuce.
pool.max-idle
=
1
0
spring.redis.lettuce.
cluster.refresh.period
=
200
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
##
emqx properties:
##
emqx
emqx.clean-session
=
fals
e
emqx.clean-session
=
tru
e
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://192.168.249.180:2883
emqx.broker
=
${EMQX_BROKER}
emqx.client-user-name
=
super
emqx.client-user-name
=
${EMQX_USER}
emqx.client-password
=
123456
emqx.client-password
=
${EMQX_PASSWORD}
emqx.keepAliveInterval
=
1000
tzs.cti.appkey
=
4e805006-3fef-ae43-3915-a153731007c4
tzs.cti.appkey
=
0a1b1cf1-a55b-447a-d275-02931f13b2fa
tzs.cti.secretkey
=
7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.cti.secretkey
=
cae7c0f8-a7b8-9876-d69b-3eba8262898a
tzs.cti.url
=
http://36.41.172.83:8000
tzs.cti.url
=
http://192.168.249.178:8000
##wechatTokenls
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
##wechatTicketUrl
##wechatTicketUrl
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.cti.push
=
/cti/record
mqtt.topic.cti.push
=
/cti/record
cti.user.name
=
tzs_cti
cti.user.name
=
tzs_cti
cti.user.pwd
=
a1234567
cti.user.pwd
=
a1234567
flc.sms.tempCode
=
SMS_TZS_0001
flc.sms.tempCode
=
SMS_TZS_0001
## ??????id
## 预警通知模板id
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
##
??????
##
督查整改通知
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
## ???????id???userId?
## 公众号测试用户id(平台userId)
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
fileserver.domain
=
https://rpm.yeeamos.com:8888/
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://192.168.249.180:19000/
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## 规则配置 properties:
rule.definition.load
=
false
rule.definition.load
=
false
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
192.168.249.13
rule.definition.local-ip
=
192.168.249.139
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.auth.user.photo
=
/public/common/userPic.png
minio.url.path
=
${MINIO_FILESERVER_DOMAIN}/
#### 管理员变更机器人账号
tzs.admin.name
=
tzs_robot
tzs.admin.pwd
=
a1234567
##小程序appid
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
#气瓶充装信息定时同步至es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#
\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3
es
#
气瓶基本信息定时同步至
es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
minio.url.path
=
http://192.168.249.180:19000/
## 生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
STUDIO_APP_WEB
amos.system.user.product
=
STUDIO_APP_WEB
\ No newline at end of file
##生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-biz/src/main/resources/application-cluster.properties
View file @
74a725cf
#DB properties:
#DB properties:
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://mysql:3306/${TZS_BIZ_DATABASE}?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
#spring.datasource.username=${MYSQL_ROOT_USER}
#spring.datasource.password=${MYSQL_ROOT_PASSWORD}
spring.datasource.url
=
jdbc:vastbase://${POSTGRESQL_IP_port}/${POSTGRESQL_NAME}?currentSchema=${TZS_IDX_BIZ_DATABASE}&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&noAccessToProcedureBodies=true&allowMultiQueries=true
spring.datasource.username
=
${POSTGRESQL_USER}
spring.datasource.password
=
${POSTGRESQL_PASSWORD}
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.url
=
jdbc:vastbase://192.168.249.180:54321/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2023
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
eureka.client.service-url.defaultZone
=
http://192.168.249.13:10001/eureka/,http://192.168.249.139:10001/eureka/
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@192.168.249.13:10001/eureka/,http://admin:a1234560@192.168.249.139:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
eureka.instance.ip-address
=
192.168.249.13
eureka.instance.ip-address
=
192.168.249.139
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
${eureka.instance.ip-address}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
jczs
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://jczs:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://jczs:${server.port}${server.servlet.context-path}/doc.html
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
spring.elasticsearch.rest.uris
=
${ELASTICSEARCH_REST_URIS}
elasticsearch.password
=
Yeejoin@2023
elasticsearch.username
=
${ELASTICSEARCH_USERNAME}
spring.elasticsearch.rest.uris
=
http://192.168.249.218:9200,http://192.168.249.114:9200,http://192.168.249.155:9200
elasticsearch.password
=
${ELASTICSEARCH_PASSWORD}
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
#集群环境
spring.redis.cluster.nodes
=
${REDIS_CLUSTER_NODES}
spring.redis.
cluster.nodes
=
192.168.249.218:6377,192.168.249.114:6377,192.168.249.155:6377
spring.redis.
password
=
${REDIS_PASSWORD}
spring.redis.
password
=
Yeejoin@202
3
spring.redis.
cluster.max-redirects
=
3
spring.redis.
lettuce.pool.max-active
=
2
00
spring.redis.
timeout
=
100
00
spring.redis.lettuce.
pool.max-wait
=
-1
spring.redis.lettuce.
cluster.refresh.adaptive
=
true
spring.redis.lettuce.
pool.max-idle
=
1
0
spring.redis.lettuce.
cluster.refresh.period
=
200
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
##
emqx properties:
##
emqx
emqx.clean-session
=
fals
e
emqx.clean-session
=
tru
e
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://192.168.249.180:2883
emqx.broker
=
${EMQX_BROKER}
emqx.client-user-name
=
super
emqx.client-user-name
=
${EMQX_USER}
emqx.client-password
=
123456
emqx.client-password
=
${EMQX_PASSWORD}
emqx.keepAliveInterval
=
1000
tzs.cti.appkey
=
4e805006-3fef-ae43-3915-a153731007c4
tzs.cti.appkey
=
0a1b1cf1-a55b-447a-d275-02931f13b2fa
tzs.cti.secretkey
=
7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.cti.secretkey
=
cae7c0f8-a7b8-9876-d69b-3eba8262898a
tzs.cti.url
=
http://36.41.172.83:8000
tzs.cti.url
=
http://192.168.249.178:8000
##wechatTokenls
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
##wechatTicketUrl
##wechatTicketUrl
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.cti.push
=
/cti/record
mqtt.topic.cti.push
=
/cti/record
cti.user.name
=
tzs_cti
cti.user.name
=
tzs_cti
cti.user.pwd
=
a1234567
cti.user.pwd
=
a1234567
flc.sms.tempCode
=
SMS_TZS_0001
flc.sms.tempCode
=
SMS_TZS_0001
## ??????id
## 预警通知模板id
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
##
??????
##
督查整改通知
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
## ???????id???userId?
## 公众号测试用户id(平台userId)
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
fileserver.domain
=
https://rpm.yeeamos.com:8888/
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://192.168.249.180:19000/
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## 规则配置 properties:
rule.definition.load
=
false
rule.definition.load
=
false
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
192.168.249.13
rule.definition.local-ip
=
192.168.249.139
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.auth.user.photo
=
/public/common/userPic.png
minio.url.path
=
${MINIO_FILESERVER_DOMAIN}/
#### 管理员变更机器人账号
tzs.admin.name
=
tzs_robot
tzs.admin.pwd
=
a1234567
##小程序appid
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
#气瓶充装信息定时同步至es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#
\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3
es
#
气瓶基本信息定时同步至
es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
minio.url.path
=
http://192.168.249.180:19000/
## 生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
STUDIO_APP_WEB
amos.system.user.product
=
STUDIO_APP_WEB
\ No newline at end of file
##生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/AmosTcmApplication.java
View file @
74a725cf
...
@@ -120,10 +120,11 @@ public class AmosTcmApplication {
...
@@ -120,10 +120,11 @@ public class AmosTcmApplication {
*/
*/
@Bean
@Bean
public
void
initMqtt
()
throws
Exception
{
public
void
initMqtt
()
throws
Exception
{
emqKeeper
.
subscript
(
buildShareTopic
(
"/idx/idx_biz_carcyl_unit_inspect"
),
2
,
carcylUnitInspectMqTtlListener
);
// 发布者主题为 / 开头,与共享主题冲突,所以再多加一根斜线
emqKeeper
.
subscript
(
buildShareTopic
(
"/tm/tz_base_enterprise_info"
),
2
,
baseEnterpriseMqTtlListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"//idx/idx_biz_carcyl_unit_inspect"
),
2
,
carcylUnitInspectMqTtlListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"/tz/privilege_company_add_update"
),
2
,
privilegeCompanyUpdateAddListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"//tm/tz_base_enterprise_info"
),
2
,
baseEnterpriseMqTtlListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"/tz/privilege_company_delete"
),
2
,
privilegeCompanyDeleteListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"//tz/privilege_company_add_update"
),
2
,
privilegeCompanyUpdateAddListener
);
emqKeeper
.
subscript
(
buildShareTopic
(
"//tz/privilege_company_delete"
),
2
,
privilegeCompanyDeleteListener
);
}
}
@Bean
@Bean
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/resources/application-cluster.properties
View file @
74a725cf
#DB properties:
#DB properties:
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://mysql:3306/${TZS_BIZ_DATABASE}?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
#spring.datasource.username=${MYSQL_ROOT_USER}
#spring.datasource.password=${MYSQL_ROOT_PASSWORD}
spring.datasource.url
=
jdbc:vastbase://${POSTGRESQL_IP_port}/${POSTGRESQL_NAME}?currentSchema=${TZS_IDX_BIZ_DATABASE}&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&noAccessToProcedureBodies=true&allowMultiQueries=true
spring.datasource.username
=
${POSTGRESQL_USER}
spring.datasource.password
=
${POSTGRESQL_PASSWORD}
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.url
=
jdbc:vastbase://192.168.249.180:54321/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2023
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
eureka.client.service-url.defaultZone
=
http://192.168.249.13:10001/eureka/,http://192.168.249.139:10001/eureka/
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@192.168.249.13:10001/eureka/,http://admin:a1234560@192.168.249.139:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
eureka.instance.ip-address
=
192.168.249.13
eureka.instance.ip-address
=
192.168.249.139
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
${eureka.instance.ip-address}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
tcm
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://tcm:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://tcm:${server.port}${server.servlet.context-path}/doc.html
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
spring.elasticsearch.rest.uris
=
${ELASTICSEARCH_REST_URIS}
elasticsearch.password
=
Yeejoin@2023
elasticsearch.username
=
${ELASTICSEARCH_USERNAME}
spring.elasticsearch.rest.uris
=
http://192.168.249.218:9200,http://192.168.249.114:9200,http://192.168.249.155:9200
elasticsearch.password
=
${ELASTICSEARCH_PASSWORD}
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
#集群环境
spring.redis.cluster.nodes
=
${REDIS_CLUSTER_NODES}
spring.redis.
cluster.nodes
=
192.168.249.218:6377,192.168.249.114:6377,192.168.249.155:6377
spring.redis.
password
=
${REDIS_PASSWORD}
spring.redis.
password
=
Yeejoin@202
3
spring.redis.
cluster.max-redirects
=
3
spring.redis.
lettuce.pool.max-active
=
2
00
spring.redis.
timeout
=
100
00
spring.redis.lettuce.
pool.max-wait
=
-1
spring.redis.lettuce.
cluster.refresh.adaptive
=
true
spring.redis.lettuce.
pool.max-idle
=
1
0
spring.redis.lettuce.
cluster.refresh.period
=
200
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
##
emqx properties:
##
emqx
emqx.clean-session
=
fals
e
emqx.clean-session
=
tru
e
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://192.168.249.180:2883
emqx.broker
=
${EMQX_BROKER}
emqx.client-user-name
=
super
emqx.client-user-name
=
${EMQX_USER}
emqx.client-password
=
123456
emqx.client-password
=
${EMQX_PASSWORD}
emqx.keepAliveInterval
=
1000
tzs.cti.appkey
=
4e805006-3fef-ae43-3915-a153731007c4
tzs.cti.appkey
=
0a1b1cf1-a55b-447a-d275-02931f13b2fa
tzs.cti.secretkey
=
7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.cti.secretkey
=
cae7c0f8-a7b8-9876-d69b-3eba8262898a
tzs.cti.url
=
http://36.41.172.83:8000
tzs.cti.url
=
http://192.168.249.178:8000
##wechatTokenls
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
##wechatTicketUrl
##wechatTicketUrl
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.cti.push
=
/cti/record
mqtt.topic.cti.push
=
/cti/record
cti.user.name
=
tzs_cti
cti.user.name
=
tzs_cti
cti.user.pwd
=
a1234567
cti.user.pwd
=
a1234567
flc.sms.tempCode
=
SMS_TZS_0001
flc.sms.tempCode
=
SMS_TZS_0001
## ??????id
## 预警通知模板id
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
##
??????
##
督查整改通知
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
## ???????id???userId?
## 公众号测试用户id(平台userId)
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
fileserver.domain
=
https://rpm.yeeamos.com:8888/
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://192.168.249.180:19000/
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## 规则配置 properties:
rule.definition.load
=
false
rule.definition.load
=
false
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
192.168.249.13
rule.definition.local-ip
=
192.168.249.139
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.auth.user.photo
=
/public/common/userPic.png
minio.url.path
=
${MINIO_FILESERVER_DOMAIN}/
#### 管理员变更机器人账号
tzs.admin.name
=
tzs_robot
tzs.admin.pwd
=
a1234567
##小程序appid
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
#气瓶充装信息定时同步至es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#
\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3
es
#
气瓶基本信息定时同步至
es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
minio.url.path
=
http://192.168.249.180:19000/
## 生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
STUDIO_APP_WEB
amos.system.user.product
=
STUDIO_APP_WEB
\ No newline at end of file
##生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/resources/application-cluster.properties
View file @
74a725cf
#DB properties:
#DB properties:
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://mysql:3306/${TZS_BIZ_DATABASE}?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
#spring.datasource.username=${MYSQL_ROOT_USER}
#spring.datasource.password=${MYSQL_ROOT_PASSWORD}
spring.datasource.url
=
jdbc:vastbase://${POSTGRESQL_IP_port}/${POSTGRESQL_NAME}?currentSchema=${TZS_IDX_BIZ_DATABASE}&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&noAccessToProcedureBodies=true&allowMultiQueries=true
spring.datasource.username
=
${POSTGRESQL_USER}
spring.datasource.password
=
${POSTGRESQL_PASSWORD}
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.url
=
jdbc:vastbase://192.168.249.180:54321/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2023
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
eureka.client.service-url.defaultZone
=
http://192.168.249.13:10001/eureka/,http://192.168.249.139:10001/eureka/
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
1800000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@192.168.249.13:10001/eureka/,http://admin:a1234560@192.168.249.139:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
eureka.instance.ip-address
=
192.168.249.13
eureka.instance.ip-address
=
192.168.249.139
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
${eureka.instance.ip-address}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
ymt
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://ymt:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://${eureka.instance.ip-address}:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://ymt:${server.port}${server.servlet.context-path}/doc.html
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
spring.elasticsearch.rest.uris
=
${ELASTICSEARCH_REST_URIS}
elasticsearch.password
=
Yeejoin@2023
elasticsearch.username
=
${ELASTICSEARCH_USERNAME}
spring.elasticsearch.rest.uris
=
http://192.168.249.218:9200,http://192.168.249.114:9200,http://192.168.249.155:9200
elasticsearch.password
=
${ELASTICSEARCH_PASSWORD}
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
#集群环境
spring.redis.cluster.nodes
=
${REDIS_CLUSTER_NODES}
spring.redis.
cluster.nodes
=
192.168.249.218:6377,192.168.249.114:6377,192.168.249.155:6377
spring.redis.
password
=
${REDIS_PASSWORD}
spring.redis.
password
=
Yeejoin@202
3
spring.redis.
cluster.max-redirects
=
3
spring.redis.
lettuce.pool.max-active
=
2
00
spring.redis.
timeout
=
100
00
spring.redis.lettuce.
pool.max-wait
=
-1
spring.redis.lettuce.
cluster.refresh.adaptive
=
true
spring.redis.lettuce.
pool.max-idle
=
1
0
spring.redis.lettuce.
cluster.refresh.period
=
200
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
##
emqx properties:
##
emqx
emqx.clean-session
=
fals
e
emqx.clean-session
=
tru
e
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://192.168.249.180:2883
emqx.broker
=
${EMQX_BROKER}
emqx.client-user-name
=
super
emqx.client-user-name
=
${EMQX_USER}
emqx.client-password
=
123456
emqx.client-password
=
${EMQX_PASSWORD}
emqx.keepAliveInterval
=
1000
tzs.cti.appkey
=
4e805006-3fef-ae43-3915-a153731007c4
tzs.cti.appkey
=
0a1b1cf1-a55b-447a-d275-02931f13b2fa
tzs.cti.secretkey
=
7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.cti.secretkey
=
cae7c0f8-a7b8-9876-d69b-3eba8262898a
tzs.cti.url
=
http://36.41.172.83:8000
tzs.cti.url
=
http://192.168.249.178:8000
##wechatTokenls
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
##wechatTicketUrl
##wechatTicketUrl
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
tzs.wechat.ticketurl
=
https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
#tzs.wechat.tempId.kr=rjW8x9rRitIpa21Jekyx2nzBzpJy7tycssCXSN4YhWw
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.tempId.kr
=
bxchKYhYW7aHbGKM2pVyR_yY2-bG4sRMNU3ZRQbMKYM
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
tzs.wechat.url.kr
=
tzs.yeeamos.com/persondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
...
@@ -50,41 +76,77 @@ tzs.wechat.url.wx=tzs.yeeamos.com/repairPersondetail.html
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
#tzs.wechat.tempId.ts=Kr7lcV8g4g_lgyW_RpwnNgw_HDxxRuVx759EoFWrIfU
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.tempId.ts
=
VWqgY-lXFt4dg2EL4pLjfDCBAU49Z0mRxVaQhAMMW8Q
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
tzs.wechat.url.ts
=
tzs.yeeamos.com/taskComplaintDetail.html
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.newtask
=
tzs-task-newtask
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.task.personinfo
=
tzs-task-personinfo
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.elevator.push
=
/tzs/tcb_elevator
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertInfo.push
=
/tzs/tcb_alertInfo
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertReport.push
=
/tzs/tcb_alertReport
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertHeart.push
=
/tzs/tcb_alertHeart
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.alertMatrix.push
=
/tzs/tcb_alertMatrix
mqtt.topic.cti.push
=
/cti/record
mqtt.topic.cti.push
=
/cti/record
cti.user.name
=
tzs_cti
cti.user.name
=
tzs_cti
cti.user.pwd
=
a1234567
cti.user.pwd
=
a1234567
flc.sms.tempCode
=
SMS_TZS_0001
flc.sms.tempCode
=
SMS_TZS_0001
## ??????id
## 预警通知模板id
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
tzs.wechat.tempId.warning
=
-pHsHLIjW8j-_AemoZycf6Dmu6iYc-YWWaJ0cAPGeUY
##
??????
##
督查整改通知
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.tempId.supervise
=
P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
## ???????id???userId?
## 公众号测试用户id(平台userId)
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
fileserver.domain
=
https://rpm.yeeamos.com:8888/
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://192.168.249.180:19000/
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## 规则配置 properties:
rule.definition.load
=
false
rule.definition.load
=
false
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
##rule.definition.model-package=com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
192.168.249.13
rule.definition.local-ip
=
192.168.249.139
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.auth.user.photo
=
/public/common/userPic.png
minio.url.path
=
${MINIO_FILESERVER_DOMAIN}/
#### 管理员变更机器人账号
tzs.admin.name
=
tzs_robot
tzs.admin.pwd
=
a1234567
##小程序appid
tzs.WxApp.appId
=
wx48a1b1915b10d14b
tzs.WxApp.secret
=
ac4f4a9d3c97676badb70c19a2f37b16
tzs.WxApp.grant-type
=
authorization_code
#气瓶充装信息定时同步至es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#
\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3
es
#
气瓶基本信息定时同步至
es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
minio.url.path
=
http://192.168.249.180:19000/
## 生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
STUDIO_APP_WEB
amos.system.user.product
=
STUDIO_APP_WEB
\ No newline at end of file
##生成监管码前缀域名
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
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