use of org.icgc.dcc.song.importer.model.DccMetadata in project SONG by overture-stack.
the class DccMetadataFetcher method processDccMetadata.
private Set<File> processDccMetadata(DccMetadata dccMetadata, Map<String, List<PortalFileMetadata>> objectIdMap) {
val objectId = dccMetadata.getId();
val portalFileMetadatasForObjectId = objectIdMap.get(objectId);
val file = simpleDccStorageClient.getFile(objectId, "N/A", dccMetadata.getFileName());
return portalFileMetadatasForObjectId.stream().map(x -> buildFile(dccMetadata, file, x)).collect(toImmutableSet());
}
Aggregations