From 2db1aa88e8ab53096a936163d686b90d8e056a99 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Wed, 21 Aug 2024 23:18:33 +0800
Subject: [PATCH] 国土对接返回信息加密
---
src/main/resources/application-prod.yml | 48 ++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 40 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index a102ac4..245283c 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -12,9 +12,14 @@
url: jdbc:mysql://127.0.0.1:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
username: root
password: jxpskj_2018
- sqlite:
+ sqlite-resource:
driver-class-name: org.sqlite.JDBC
url: jdbc:sqlite:/home/drone/server/sqlite/resource_db.db
+ username:
+ password:
+ sqlite-ret:
+ driver-class-name: org.sqlite.JDBC
+ url: jdbc:sqlite:/home/drone/server/sqlite/result_db.db
username:
password:
# url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
@@ -68,14 +73,26 @@
# If the protocol is ws/wss, this value is required.
path:
# 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
- inbound-topic: sys/product/+/status,thing/product/+/requests
-# inbound-topic: sys/product/+/+,thing/product/+/+
+# inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/ods
+ inbound-topic: sys/product/+/+,thing/product/+/+
DRC:
- protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
- host: 139.196.74.78
- port: 8083
+ protocol: WSS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
+ host: wrj.shuixiongit.com
+ port: 8084
path: /mqtt
+#oss:
+# enable: true
+# provider: minio
+# endpoint: http://139.196.74.78:9000
+# external-endpoint: http://139.196.74.78:9000
+# access-key: sxkj
+# secret-key: sxkj2024
+# bucket: cloud-bucket
+# expire: 3600
+# region: us-east-1
+# object-dir-prefix:
+# out-net-file-address: https://wrj.shuixiongit.com/minio
oss:
enable: true
provider: minio
@@ -87,7 +104,7 @@
expire: 3600
region: us-east-1
object-dir-prefix:
- out-net-file-address: http://dev.jxpskj.com:9000
+ out-net-file-address: https://dev.jxpskj.com:8026
#图斑的解压地址和图斑文件转航线文件的地址
patches:
@@ -96,12 +113,27 @@
unzip: /home/drone/server/temp/
kmz:
destKMZFile: /home/drone/server/template/kmz/
+ planeKmzFile: /home/drone/server/template/kmz2/
sourceDir: /home/drone/server/template/wpmz/
#解析图斑航线模板的地址
xml:
temple:
template: /home/drone/server/template/template.xml
waylines: /home/drone/server/template/waylines.xml
+ planeTemplate: /home/drone/server/template/template-polygon.xml
+ planeWaylines: /home/drone/server/template/waylines-polygon.xml
target:
template: /home/drone/server/template/wpmz/template.kml
- waylines: /home/drone/server/template/wpmz/waylines.wpml
\ No newline at end of file
+ waylines: /home/drone/server/template/wpmz/waylines.wpml
+ planeTemplate: /home/drone/server/template/wpmz/template.kml
+ planeWaylines: /home/drone/server/template/wpmz/waylines.wpml
+
+
+db:
+ sqlite:
+ resource: /home/drone/server/sqlite/resource_db.db
+ result: /home/drone/server/sqlite/result_db.db
+ resultSave: /home/drone/server/sqlite/retUpload/
+ resourceSave: /home/drone/server/sqlite/upload/
+ resultGtSave: /home/drone/server/sqlite/GtUpload/
+
--
Gitblit v1.9.3