rain
2024-07-30 d2d88ecb5fd7407b768a314fb0f88d49c40abbe8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#spring
spring:
  datasource:
    #使用阿里的Druid
    type: com.alibaba.druid.pool.DruidDataSource
    dynamic:
      primary: master #设置默认的数据源或者数据源组,默认值即为master
      strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
      datasource:
        master:
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://127.0.0.1:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
          username: root
          password: jxpskj_2018
        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
#      username: root
#      password: yshb@123
#      url: jdbc:mysql://127.0.0.1:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
#      username: root
#      password: jxpskj_2018
 
  redis:
    host: 127.0.0.1
    port: 6379
    database: 0
    username: # if you enable
    password: jxpskj_2018
    lettuce:
      pool:
        max-active: 8
        max-idle: 8
        min-idle: 0
 
  rabbitmq:
    host: 182.108.40.114
    port: 35672
    username: root
    password: root
    virtualHost: /
    is-open: false
 
 
jwt:
  issuer: DJI
  subject: CloudApiSample
  secret: CloudApiSample
  age: 86400
 
mqtt:
  # @see com.dji.sample.component.mqtt.model.MqttUseEnum
  # BASIC parameters are required.
  BASIC:
    protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
    host: 139.196.74.78
    port: 1883
    username: manage
    password: 123456
#    host: 127.0.0.1
#    port: 1883
#    username: guest
#    password: guest
    client-id: manage_drone
    # If the protocol is ws/wss, this value is required.
    path:
    # 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/ods
#    inbound-topic: sys/product/+/+,thing/product/+/+
  DRC:
    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
  endpoint: http://dev.jxpskj.com:9000
  external-endpoint: http://dev.jxpskj.com:9000
  access-key: pskj
  secret-key: pskj@2021
  bucket: cloud-bucket
  expire: 3600
  region: us-east-1
  object-dir-prefix:
  out-net-file-address: https://dev.jxpskj.com:8026
 
#图斑的解压地址和图斑文件转航线文件的地址
patches:
  url:
    path:
      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
      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/