|
|
|
@ -720,10 +720,10 @@ public class SubscriptionManagerImpl implements SubscriptionManager {
|
|
|
|
|
.collect(Collectors.toSet());
|
|
|
|
|
Set<DeviceIdentifier> skippedDevices = subscribingDeviceIdHolder.getSkippedDevices().keySet();
|
|
|
|
|
if (skippedDevices.containsAll(deviceIdentifiers) && deviceIdentifiers.containsAll(skippedDevices)) {
|
|
|
|
|
String msg = "All devices in the subscription have pending operations for this application.";
|
|
|
|
|
log.error(msg);
|
|
|
|
|
throw new BadRequestException(msg);
|
|
|
|
|
}
|
|
|
|
|
String msg = "All devices in the subscription have pending operations for this application.";
|
|
|
|
|
log.error(msg);
|
|
|
|
|
throw new BadRequestException(msg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|