From d175a7fe7d6e96c0e6abfe3954eefed539bb6e3c Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 18 Sep 2023 19:23:41 +0800
Subject: [PATCH] 初始提交
---
src/main/resources/application.yml | 82 ++++++++++++++++++++++------------------
1 files changed, 45 insertions(+), 37 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index a5c937a..1604425 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,16 +7,16 @@
druid:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://cloud_api_sample_mysql:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://172.16.13.129:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
username: root
- password: root
+ password: 123456
initial-size: 10
min-idle: 10
max-active: 20
max-wait: 60000
redis:
- host: cloud_api_sample_redis
+ host: 127.0.0.1
port: 6379
database: 0
username: # if you enable
@@ -43,20 +43,25 @@
# BASIC parameters are required.
BASIC:
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
- host: Please enter your ip.
- port: 1883
- username: JavaServer
- password: 123456
- client-id: 123456
+ 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:
# Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",".
- inbound-topic: sys/product/+/status,thing/product/+/requests
+# inbound-topic: sys/product/+/status,thing/product/+/requests
+ inbound-topic: sys/product/+/+,thing/product/+/+
DRC:
protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
- host: Please enter your ip.
- port: 8083
- path: /mqtt
+ host: 182.106.212.58
+ port: 15675
+ path: /ws
url:
manage:
@@ -79,18 +84,18 @@
version: /api/v1
# Tutorial: https://www.alibabacloud.com/help/en/object-storage-service/latest/use-a-temporary-credential-provided-by-sts-to-access-oss
-oss:
- enable: false
- provider: ali # @see com.dji.sample.component.OssConfiguration.model.enums.OssTypeEnum
- endpoint: https://oss-cn-hangzhou.aliyuncs.com
- access-key: Please enter your access key.
- secret-key: Please enter your secret key.
- expire: 3600
- region: Please enter your oss region. # cn-hangzhou
- role-session-name: cloudApi
- role-arn: Please enter your role arn. # acs:ram::123456789:role/stsrole
- bucket: Please enter your bucket name.
- object-dir-prefix: Please enter a folder name.
+#oss:
+# enable: false
+# provider: ali # @see com.dji.sample.component.OssConfiguration.model.enums.OssTypeEnum
+# endpoint: https://oss-cn-hangzhou.aliyuncs.com
+# access-key: Please enter your access key.
+# secret-key: Please enter your secret key.
+# expire: 3600
+# region: Please enter your oss region. # cn-hangzhou
+# role-session-name: cloudApi
+# role-arn: Please enter your role arn. # acs:ram::123456789:role/stsrole
+# bucket: Please enter your bucket name.
+# object-dir-prefix: Please enter a folder name.
#oss:
# enable: true
@@ -105,16 +110,19 @@
# bucket: cloudapi-bucket
# object-dir-prefix: wayline
-#oss:
-# enable: true
-# provider: minio
-# endpoint: http://192.168.1.1:9000
-# access-key: minioadmin
-# secret-key: minioadmin
-# bucket: cloud-bucket
-# expire: 3600
-# region: us-east-1
-# 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
+ access-key: pskj
+ secret-key: pskj@2021
+ bucket: cloud-bucket
+ expire: 3600
+ region: us-east-1
+ object-dir-prefix: wayline
logging:
level:
@@ -129,6 +137,6 @@
# To create a license for an application: https://developer.dji.com/user/apps/#all
cloud-api:
app:
- id: Please enter the app id.
- key: Please enter the app key.
- license: Please enter the app license.
\ No newline at end of file
+ id: 136971
+ key: 3e56cb20958060caeb1071cdb32400e
+ license: eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0=
\ No newline at end of file
--
Gitblit v1.9.3