[Graph DUMP] Filtering out from the originalIds the id of the result in OpenAIRE
This commit is contained in:
parent
a22c29fba1
commit
8442efd8d1
|
@ -133,7 +133,9 @@ public class ResultMapper implements Serializable {
|
||||||
.ifPresent(value -> value.stream().forEach(f -> formatList.add(f.getValue())));
|
.ifPresent(value -> value.stream().forEach(f -> formatList.add(f.getValue())));
|
||||||
out.setFormat(formatList);
|
out.setFormat(formatList);
|
||||||
out.setId(input.getId());
|
out.setId(input.getId());
|
||||||
out.setOriginalId(input.getOriginalId().stream().filter(s -> !s.startsWith("50|")).collect(Collectors.toList()));
|
out
|
||||||
|
.setOriginalId(
|
||||||
|
input.getOriginalId().stream().filter(s -> !s.startsWith("50|")).collect(Collectors.toList()));
|
||||||
|
|
||||||
Optional<List<eu.dnetlib.dhp.schema.oaf.Instance>> oInst = Optional
|
Optional<List<eu.dnetlib.dhp.schema.oaf.Instance>> oInst = Optional
|
||||||
.ofNullable(input.getInstance());
|
.ofNullable(input.getInstance());
|
||||||
|
|
Loading…
Reference in New Issue