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
#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://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
#          username: root
#          password: yshb@123
          url: jdbc:mysql://139.196.74.78:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
          username: root
          password: jxpskj_2018
        sqlite-resource:
          driver-class-name: org.sqlite.JDBC
          url: jdbc:sqlite:DB/resource_db.db
          username:
          password:
        sqlite-ret:
          driver-class-name: org.sqlite.JDBC
          url: jdbc:sqlite:DB/result_db.db
          username:
          password:
#    url: jdbc:mysql://192.168.2.104:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
#    username: root
#    password: 123456
 
  redis:
    host: 127.0.0.1
    port: 6379
    database: 0
    username: # if you enable
    password:
    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/+/osd
#    inbound-topic: sys/product/+/+,thing/product/+/+
  DRC:
    protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
    host: 139.196.74.78
    port: 8083
    path: /mqtt
 
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: http://dev.jxpskj.com:9000
 
#图斑的解压地址和图斑文件转航线文件的地址
patches:
  url:
    path:
      unzip: src/main/resources/tmp/
      kmz:
        destKMZFile: src/main/resources/template/kmz/
        sourceDir: src/main/resources/template/wpmz/
 
  xml:
    temple:
      template: src/main/resources/template/template.xml
      waylines: src/main/resources/template/waylines.xml
    target:
      template: src/main/resources/template/wpmz/template.kml
      waylines: src/main/resources/template/wpmz/waylines.wpml