1. Add license for dock.
2. Modify the logic corresponding to the firmware file and device type.
3. Add multiple mqtt clients options.
4. Modify the structure of the interface for obtaining the device list.
5. Fixed some issues.
`object_key`varchar(200)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLCOMMENT'The object key of the firmware package in the bucket.',
`file_size`intNOTNULLCOMMENT'The size of the firmware package.',
`file_md5`varchar(45)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The md5 of the firmware package.',
`device_name`varchar(45)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'model of the device. This parameter corresponds to the device name in the device dictionary table.',
`device_name`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLCOMMENT'model of the device. This parameter corresponds to the device name in the device dictionary table.',
@ -31,7 +31,7 @@ public class MessageSenderServiceImpl implements IMessageSenderService {
@@ -31,7 +31,7 @@ public class MessageSenderServiceImpl implements IMessageSenderService {
log.info("Failed to publish the message. {}",response.toString());
@ -53,6 +53,7 @@ public class MessageSenderServiceImpl implements IMessageSenderService {
@@ -53,6 +53,7 @@ public class MessageSenderServiceImpl implements IMessageSenderService {
@ -91,7 +91,8 @@ public class ControlServiceImpl implements IControlService {
@@ -91,7 +91,8 @@ public class ControlServiceImpl implements IControlService {
@ -43,7 +43,7 @@ public class DeviceFirmwareEntity implements Serializable {
@@ -43,7 +43,7 @@ public class DeviceFirmwareEntity implements Serializable {
@ -35,7 +35,7 @@ public class DistanceLimitStatusReceiver extends BasicDeviceProperty {
@@ -35,7 +35,7 @@ public class DistanceLimitStatusReceiver extends BasicDeviceProperty {
@ -15,6 +16,6 @@ public class ConfigProductServiceImpl implements IRequestsConfigService {
@@ -15,6 +16,6 @@ public class ConfigProductServiceImpl implements IRequestsConfigService {
@ -79,26 +82,30 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -79,26 +82,30 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -106,12 +113,9 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -106,12 +113,9 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
thrownewIllegalArgumentException("Device is offline.");
@ -131,7 +135,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -131,7 +135,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -148,6 +151,13 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -148,6 +151,13 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
// Determine whether it is the ending state, delete the update state key in redis after the job ends.
@ -158,8 +168,14 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -158,8 +168,14 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -170,15 +186,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -170,15 +186,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -194,7 +201,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -194,7 +201,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -206,9 +214,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -206,9 +214,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -217,14 +224,21 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -217,14 +224,21 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
thrownewRuntimeException("The file format is incorrect.");
@ -234,9 +248,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -234,9 +248,8 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -250,15 +263,20 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -250,15 +263,20 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -308,7 +326,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -308,7 +326,6 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
}
returnDeviceFirmwareEntity.builder()
.fileName(dto.getFileName())
.deviceName(dto.getDeviceName())
.fileMd5(dto.getFileMd5())
.fileSize(dto.getFileSize())
.firmwareId(dto.getFirmwareId())
@ -340,7 +357,7 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@@ -340,7 +357,7 @@ public class DeviceFirmwareServiceImpl implements IDeviceFirmwareService {
@ -58,7 +59,7 @@ public class DeviceOSDServiceImpl extends AbstractTSAService {
@@ -58,7 +59,7 @@ public class DeviceOSDServiceImpl extends AbstractTSAService {
@ -75,7 +76,7 @@ public class DeviceOSDServiceImpl extends AbstractTSAService {
@@ -75,7 +76,7 @@ public class DeviceOSDServiceImpl extends AbstractTSAService {
log.warn("Please remount the payload, or restart the drone. Otherwise the data of the payload will not be received.");
@ -111,8 +111,6 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -111,8 +111,6 @@ public class DeviceServiceImpl implements IDeviceService {
@ -120,7 +118,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -120,7 +118,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -151,6 +149,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -151,6 +149,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -185,8 +184,8 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -185,8 +184,8 @@ public class DeviceServiceImpl implements IDeviceService {
@ -194,34 +193,33 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -194,34 +193,33 @@ public class DeviceServiceImpl implements IDeviceService {
@ -305,34 +303,33 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -305,34 +303,33 @@ public class DeviceServiceImpl implements IDeviceService {
@ -377,24 +374,20 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -377,24 +374,20 @@ public class DeviceServiceImpl implements IDeviceService {
@ -518,6 +511,9 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -518,6 +511,9 @@ public class DeviceServiceImpl implements IDeviceService {
@ -605,7 +601,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -605,7 +601,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -666,18 +662,19 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -666,18 +662,19 @@ public class DeviceServiceImpl implements IDeviceService {
@ -774,11 +771,11 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -774,11 +771,11 @@ public class DeviceServiceImpl implements IDeviceService {
@ -849,7 +846,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -849,7 +846,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -976,7 +973,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -976,7 +973,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -1041,7 +1038,7 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -1041,7 +1038,7 @@ public class DeviceServiceImpl implements IDeviceService {
@ -1049,15 +1046,19 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -1049,15 +1046,19 @@ public class DeviceServiceImpl implements IDeviceService {
@ -1065,13 +1066,13 @@ public class DeviceServiceImpl implements IDeviceService {
@@ -1065,13 +1066,13 @@ public class DeviceServiceImpl implements IDeviceService {
@ -35,7 +35,7 @@ public class DockOSDServiceImpl extends AbstractTSAService {
@@ -35,7 +35,7 @@ public class DockOSDServiceImpl extends AbstractTSAService {
@ -47,7 +47,7 @@ public class GatewayOSDServiceImpl extends AbstractTSAService {
@@ -47,7 +47,7 @@ public class GatewayOSDServiceImpl extends AbstractTSAService {
@ -79,7 +78,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@@ -79,7 +78,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@ -126,8 +125,8 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@@ -126,8 +125,8 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@ -186,7 +185,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@@ -186,7 +185,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@ -232,7 +231,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@@ -232,7 +231,7 @@ public class LiveStreamServiceImpl implements ILiveStreamService {
@ -116,12 +115,12 @@ public class MediaServiceImpl implements IMediaService {
@@ -116,12 +115,12 @@ public class MediaServiceImpl implements IMediaService {
@ -152,7 +151,8 @@ public class MediaServiceImpl implements IMediaService {
@@ -152,7 +151,8 @@ public class MediaServiceImpl implements IMediaService {
// After uploading, delete the key with the highest priority.
@ -192,32 +192,39 @@ public class MediaServiceImpl implements IMediaService {
@@ -192,32 +192,39 @@ public class MediaServiceImpl implements IMediaService {
@ -59,12 +59,15 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@@ -59,12 +59,15 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@ -73,16 +76,19 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@@ -73,16 +76,19 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@ -93,9 +99,9 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@@ -93,9 +99,9 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@ -108,8 +114,7 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@@ -108,8 +114,7 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@ -122,39 +127,42 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@@ -122,39 +127,42 @@ public class FlightTaskServiceImpl implements IFlightTaskService {
@ -187,7 +187,7 @@ public class WaylineFileServiceImpl implements IWaylineFileService {
@@ -187,7 +187,7 @@ public class WaylineFileServiceImpl implements IWaylineFileService {
@ -74,23 +72,29 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -74,23 +72,29 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -98,16 +102,35 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -98,16 +102,35 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
thrownewSQLException("Failed to create wayline job.");
}
@ -127,14 +150,14 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -127,14 +150,14 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -156,22 +179,24 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -156,22 +179,24 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
returnResponseResult.error("Failed to create scheduled job.");
}
@ -181,9 +206,9 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -181,9 +206,9 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -194,7 +219,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -194,7 +219,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -211,53 +236,45 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -211,53 +236,45 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -283,17 +300,30 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -283,17 +300,30 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -336,7 +366,8 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -336,7 +366,8 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -357,8 +388,8 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -357,8 +388,8 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -377,14 +408,15 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -377,14 +408,15 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -399,7 +431,6 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -399,7 +431,6 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -407,16 +438,32 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -407,16 +438,32 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -436,9 +483,17 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -436,9 +483,17 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -449,7 +504,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -449,7 +504,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@ -465,7 +520,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {
@@ -465,7 +520,7 @@ public class WaylineJobServiceImpl implements IWaylineJobService {