From 8d9a2d656e4ae007590c622e5f7c228adacdca49 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Fri, 14 Jun 2024 10:11:36 +0800
Subject: [PATCH] 统一风格
---
src/main/resources/application.yml | 86 +++----------------------------------------
1 files changed, 6 insertions(+), 80 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index b5e3c7a..c7e9e87 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -10,78 +10,15 @@
druid:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
-# url: jdbc:mysql://172.16.13.129:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
-# username: root
-# password: 123456
- url: jdbc:mysql://182.106.212.58:3308/drone_test?useSSL=false&allowPublicKeyRetrieval=true
- username: root
- password: yshb@123
initial-size: 10
min-idle: 10
max-active: 20
max-wait: 60000
- 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
-
servlet:
multipart:
max-file-size: 2GB
max-request-size: 2GB
- rabbitmq:
- host: 182.106.212.58
- port: 35672
- username: root
- password: root
- virtualHost: /
- is-open: true
-# rabbitmq:
-# host: localhost
-# port: 5672
-# username: guest
-# password: guest
-# virtualHost: /
-# is-open: true
-
-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: 182.106.212.58
- port: 31883
- username: root
- password: root
-# host: 127.0.0.1
-# port: 1883
-# username: guest
-# password: guest
- client-id: aix123456
- # 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: 182.106.212.58
- port: 35675
- path: /ws
url:
manage:
@@ -101,6 +38,12 @@
version: /api/v1
control:
prefix: /control
+ version: /api/v1
+ patches:
+ prefix: /patches
+ version: /api/v1
+ summarize:
+ prefix: /summarize
version: /api/v1
# Tutorial: https://www.alibabacloud.com/help/en/object-storage-service/latest/use-a-temporary-credential-provided-by-sts-to-access-oss
@@ -129,23 +72,6 @@
# role-arn:
# bucket: cloudapi-bucket
# object-dir-prefix: wayline
-
-oss:
- enable: true
- provider: minio
-# endpoint: http://172.16.13.129:9000
-# access-key: admin
-# secret-key: 12345678
- endpoint: http://dev.jxpskj.com:9000
- external-endpoint: http://dev.jxpskj.com:9000
-# endpoint: https://dev.jxpskj.com:8026
- access-key: pskj
- secret-key: pskj@2021
- bucket: cloud-bucket
- expire: 3600
- region: us-east-1
- object-dir-prefix:
- out-net-file-address: http://171.34.76.171:8880/drone/file
logging:
level:
--
Gitblit v1.9.3