notNull(definition, "Could not find data store definition of name %s", definitionName);
log.debug("Found data store definition {} for {}", definition, definitionName);
return jsonSerializationHelper.toJson(
definitionServiceDelegate.createProperties(definition, definitionName + " properties"), formName, definitionName);
}
<BUG>@Override
public ResponseEntity<ValidationResultsDto> validateProperties(String definitionName, String formData) {
notNull(definitionName, "Data store name cannot be null.");
final Definition<?> definition = getDefinition(definitionName);
notNull(definition, "Could not find data store definition of name %s", definitionName);
Properties properties = getPropertiesFromJson(definition, formData);</BUG>
ValidationResult validationResult = properties.getValidationResult();

notNull(definition, "Could not find data store definition of name %s", definitionName);
log.debug("Found data store definition {} for {}", definition, definitionName);
return jsonSerializationHelper.toJson(
definitionServiceDelegate.createProperties(definition, definitionName + " properties"), formName, definitionName);
}
@Override
public ResponseEntity<ValidationResultsDto> validateProperties(PropertiesWithReferences propertiesContainer) {
Properties properties = propertiesHelpers.propertiesFromDto(propertiesContainer);
ValidationResult validationResult = properties.getValidationResult();
