Skip to content
Snippets Groups Projects

refactor(policy): add monitoring proto changes

Merged Vasilis Katopodis requested to merge policy/refactor_monitoring_proto into develop
Files
19
@@ -40,7 +40,8 @@ public class PolicyRuleService {
!serviceId.getContextId().isBlank(), "Context Id of Service Id must not be empty.");
checkArgument(!serviceId.getId().isBlank(), "Service Id must not be empty.");
this.serviceId = serviceId;
checkArgument(!deviceIds.isEmpty(), "Device Ids must not be empty.");
// TODO If device list not empty
// checkArgument(!deviceIds.isEmpty(), "Device Ids must not be empty.");
this.deviceIds = deviceIds;
this.isValid = true;
this.exceptionMessage = "";
Loading