| | |
| | | server: |
| | | port: 6789 |
| | | spring: |
| | | jackson: |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | time-zone: GMT+8 |
| | | application: |
| | | name: cloud-api-sample |
| | | datasource: |
| | | 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 |
| | | username: root |
| | | password: root |
| | | initial-size: 10 |
| | | min-idle: 10 |
| | | max-active: 20 |
| | | max-wait: 60000 |
| | | |
| | | redis: |
| | | host: cloud_api_sample_redis |
| | | port: 6379 |
| | | database: 0 |
| | | username: # if you enable |
| | | password: |
| | | lettuce: |
| | | pool: |
| | | max-active: 8 |
| | | max-idle: 8 |
| | | min-idle: 0 |
| | | |
| | | |
| | | jwt: |
| | | issuer: DJI |
| | | subject: CloudApiSample |
| | | secret: CloudApiSample |
| | | age: 86400 |
| | | |
| | | mqtt: |
| | | protocol: tcp |
| | | host: Please enter your ip. # 192.168.1.1 |
| | | port: 1883 |
| | | username: JavaServer |
| | | password: 123456 |
| | | client-id: 123456 |
| | | # Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",". |
| | | inbound-topic: sys/product/+/status,thing/product/+/requests |
| | | servlet: |
| | | multipart: |
| | | max-file-size: 2GB |
| | | max-request-size: 2GB |
| | | |
| | | url: |
| | | manage: |
| | |
| | | control: |
| | | prefix: /control |
| | | version: /api/v1 |
| | | patches: |
| | | prefix: /patches |
| | | version: /api/v1 |
| | | summarize: |
| | | prefix: /summarize |
| | | version: /api/v1 |
| | | |
| | | # Tutorial: https://help.aliyun.com/document_detail/100624.htm?spm=a2c4g.11186623.0.0.74075e34eIhK7T#concept-xzh-nzk-2gb |
| | | oss: |
| | | enable: true |
| | | 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. |
| | | # 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: true |
| | |
| | | # 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 |
| | | |
| | | logging: |
| | | level: |
| | | com.dji.sample: debug |
| | | file: |
| | | name: logs/cloud-api-sample.log |
| | | |
| | | ntp: |
| | | server: |
| | | host: ntp.ntsc.ac.cn |
| | | |
| | | # To create a license for an application: https://developer.dji.com/user/apps/#all |
| | | cloud-api: |
| | | app: |
| | | id: 136971 |
| | | key: 3e56cb20958060caeb1071cdb32400e |
| | | license: eS2rczbPpEUZZkOuek7hB1fugv3TE0RdKyEU319A2cxmVKs7Bc11RadcPcHnQJjBq/Peja5R6bp2IILCypa2lskCUGXkXHmqxdPIVTyMQpkZtjM+eXLut/VHPdXVZOvYxKFMVel6jfEyd4rWL9jBI1N34rCvwSgad6T49mRC8R0= |