forked from D-Net/dnet-hadoop
[BipFinderInstanceLevel] change pom to align to the dhp-schema release 2.10.24 and refactoring
This commit is contained in:
parent
4d517ed9ec
commit
a75fb8c47a
|
@ -245,26 +245,47 @@ public class ProduceTest {
|
||||||
.get(0)
|
.get(0)
|
||||||
.getValue());
|
.getValue());
|
||||||
|
|
||||||
Assertions.assertEquals("10.3390/s18072310",
|
Assertions
|
||||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
.assertEquals(
|
||||||
|
"10.3390/s18072310",
|
||||||
|
tmp
|
||||||
|
.filter(row -> row.getId().equals(doi))
|
||||||
|
.collect()
|
||||||
.get(0)
|
.get(0)
|
||||||
.getInstance().get(0)
|
.getInstance()
|
||||||
.getPid().get(0)
|
.get(0)
|
||||||
.getValue().toLowerCase());
|
.getPid()
|
||||||
|
.get(0)
|
||||||
|
.getValue()
|
||||||
|
.toLowerCase());
|
||||||
|
|
||||||
Assertions.assertEquals("doi",
|
Assertions
|
||||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
.assertEquals(
|
||||||
|
"doi",
|
||||||
|
tmp
|
||||||
|
.filter(row -> row.getId().equals(doi))
|
||||||
|
.collect()
|
||||||
.get(0)
|
.get(0)
|
||||||
.getInstance().get(0)
|
.getInstance()
|
||||||
.getPid().get(0)
|
.get(0)
|
||||||
.getQualifier().getClassid());
|
.getPid()
|
||||||
|
.get(0)
|
||||||
|
.getQualifier()
|
||||||
|
.getClassid());
|
||||||
|
|
||||||
Assertions.assertEquals("Digital Object Identifier",
|
Assertions
|
||||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
.assertEquals(
|
||||||
|
"Digital Object Identifier",
|
||||||
|
tmp
|
||||||
|
.filter(row -> row.getId().equals(doi))
|
||||||
|
.collect()
|
||||||
.get(0)
|
.get(0)
|
||||||
.getInstance().get(0)
|
.getInstance()
|
||||||
.getPid().get(0)
|
.get(0)
|
||||||
.getQualifier().getClassname());
|
.getPid()
|
||||||
|
.get(0)
|
||||||
|
.getQualifier()
|
||||||
|
.getClassname());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -281,8 +302,10 @@ public class ProduceTest {
|
||||||
|
|
||||||
Assertions.assertEquals(86, mes.size());
|
Assertions.assertEquals(86, mes.size());
|
||||||
|
|
||||||
tmp.filter(row -> row.getInstance() != null && row.getInstance().size() > 0)
|
tmp
|
||||||
.foreach(e -> Assertions.assertEquals("sysimport:enrich", e.getDataInfo().getProvenanceaction().getClassid()));
|
.filter(row -> row.getInstance() != null && row.getInstance().size() > 0)
|
||||||
|
.foreach(
|
||||||
|
e -> Assertions.assertEquals("sysimport:enrich", e.getDataInfo().getProvenanceaction().getClassid()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -797,7 +797,7 @@
|
||||||
<mockito-core.version>3.3.3</mockito-core.version>
|
<mockito-core.version>3.3.3</mockito-core.version>
|
||||||
<mongodb.driver.version>3.4.2</mongodb.driver.version>
|
<mongodb.driver.version>3.4.2</mongodb.driver.version>
|
||||||
<vtd.version>[2.12,3.0)</vtd.version>
|
<vtd.version>[2.12,3.0)</vtd.version>
|
||||||
<dhp-schemas.version>[2.9.25-SNAPSHOT]</dhp-schemas.version>
|
<dhp-schemas.version>[2.10.24]</dhp-schemas.version>
|
||||||
<dnet-actionmanager-api.version>[4.0.3]</dnet-actionmanager-api.version>
|
<dnet-actionmanager-api.version>[4.0.3]</dnet-actionmanager-api.version>
|
||||||
<dnet-actionmanager-common.version>[6.0.5]</dnet-actionmanager-common.version>
|
<dnet-actionmanager-common.version>[6.0.5]</dnet-actionmanager-common.version>
|
||||||
<dnet-openaire-broker-common.version>[3.1.6]</dnet-openaire-broker-common.version>
|
<dnet-openaire-broker-common.version>[3.1.6]</dnet-openaire-broker-common.version>
|
||||||
|
|
Loading…
Reference in New Issue