|
|
@ -76,7 +76,7 @@ public class DeviceTypeManager implements DeviceManager {
|
|
|
|
DeviceTypeDAO.rollbackTransaction();
|
|
|
|
DeviceTypeDAO.rollbackTransaction();
|
|
|
|
} catch (DeviceMgtPluginException iotDAOEx) {
|
|
|
|
} catch (DeviceMgtPluginException iotDAOEx) {
|
|
|
|
log.warn("Error occurred while roll back the device enrol transaction :"
|
|
|
|
log.warn("Error occurred while roll back the device enrol transaction :"
|
|
|
|
+ device.toString(), iotDAOEx);
|
|
|
|
+ device.toString(), iotDAOEx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String msg = "Error while enrolling the sampledevice device : "
|
|
|
|
String msg = "Error while enrolling the sampledevice device : "
|
|
|
|
+ device.getDeviceIdentifier();
|
|
|
|
+ device.getDeviceIdentifier();
|
|
|
@ -143,7 +143,7 @@ public class DeviceTypeManager implements DeviceManager {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
log.debug("Checking the enrollment of sampledevice device : "
|
|
|
|
log.debug("Checking the enrollment of sampledevice device : "
|
|
|
|
+ deviceId.getId());
|
|
|
|
+ deviceId.getId());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Device iotDevice =
|
|
|
|
Device iotDevice =
|
|
|
|
deviceTypeDAO.getDeviceTypeDAO().getDevice(deviceId.getId());
|
|
|
|
deviceTypeDAO.getDeviceTypeDAO().getDevice(deviceId.getId());
|
|
|
@ -261,7 +261,8 @@ public class DeviceTypeManager implements DeviceManager {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List<Device.Property> list) throws DeviceManagementException {
|
|
|
|
public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List<Device.Property> list)
|
|
|
|
|
|
|
|
throws DeviceManagementException {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|