[Dump] fixed issue on dump of datasource pids

This commit is contained in:
Miriam Baglioni 2022-10-13 11:50:48 +02:00
parent 6ed41a9276
commit db657d79a6
1 changed files with 2 additions and 2 deletions

View File

@ -126,10 +126,10 @@ public class DumpGraphEntities implements Serializable {
Optional Optional
.ofNullable(d.getPid()) .ofNullable(d.getPid())
.ifPresent( .ifPresent(
pids -> pids pids -> datasource.setPid(pids
.stream() .stream()
.map(p -> DatasourcePid.newInstance(p.getQualifier().getClassid(), p.getValue())) .map(p -> DatasourcePid.newInstance(p.getQualifier().getClassid(), p.getValue()))
.collect(Collectors.toList())); .collect(Collectors.toList())));
Optional Optional
.ofNullable(d.getDatasourcetype()) .ofNullable(d.getDatasourcetype())