use of com.epam.pipeline.manager.metadata.parser.MetadataParsingResult in project cloud-pipeline by epam.
the class MetadataUploadManager method uploadFromFile.
public List<MetadataEntity> uploadFromFile(Long parentId, MultipartFile file) {
Assert.notNull(parentId, messageHelper.getMessage(MessageConstants.ERROR_PARAMETER_NULL_OR_EMPTY));
MetadataParsingResult parsedData = readFile(parentId, file);
return metadataEntityManager.createAndUpdateEntities(parentId, parsedData);
}
Aggregations