hierarchical-validation-baseline #59
@ -19,11 +19,4 @@ class HsCloudServerBookingItemValidator extends HsBookingItemEntityValidator {
|
|||||||
enumerationProperty("SLA-Infrastructure").values("BASIC", "EXT8H", "EXT4H", "EXT2H").optional()
|
enumerationProperty("SLA-Infrastructure").values("BASIC", "EXT8H", "EXT4H", "EXT2H").optional()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<String> validate(final HsBookingItemEntity cloudServerBookingItem) {
|
|
||||||
final var selfValidation = super.validate(cloudServerBookingItem);
|
|
||||||
// FIXME return !selfValidation.isEmpty() ? selfValidation : validateParentEntities(cloudServerBookingItem);
|
|
||||||
return selfValidation;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user