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)
|
||||
.getValue());
|
||||
|
||||
Assertions.assertEquals("10.3390/s18072310",
|
||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
||||
Assertions
|
||||
.assertEquals(
|
||||
"10.3390/s18072310",
|
||||
tmp
|
||||
.filter(row -> row.getId().equals(doi))
|
||||
.collect()
|
||||
.get(0)
|
||||
.getInstance().get(0)
|
||||
.getPid().get(0)
|
||||
.getValue().toLowerCase());
|
||||
.getInstance()
|
||||
.get(0)
|
||||
.getPid()
|
||||
.get(0)
|
||||
.getValue()
|
||||
.toLowerCase());
|
||||
|
||||
Assertions.assertEquals("doi",
|
||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
||||
Assertions
|
||||
.assertEquals(
|
||||
"doi",
|
||||
tmp
|
||||
.filter(row -> row.getId().equals(doi))
|
||||
.collect()
|
||||
.get(0)
|
||||
.getInstance().get(0)
|
||||
.getPid().get(0)
|
||||
.getQualifier().getClassid());
|
||||
.getInstance()
|
||||
.get(0)
|
||||
.getPid()
|
||||
.get(0)
|
||||
.getQualifier()
|
||||
.getClassid());
|
||||
|
||||
Assertions.assertEquals("Digital Object Identifier",
|
||||
tmp.filter(row -> row.getId().equals(doi)).collect()
|
||||
Assertions
|
||||
.assertEquals(
|
||||
"Digital Object Identifier",
|
||||
tmp
|
||||
.filter(row -> row.getId().equals(doi))
|
||||
.collect()
|
||||
.get(0)
|
||||
.getInstance().get(0)
|
||||
.getPid().get(0)
|
||||
.getQualifier().getClassname());
|
||||
.getInstance()
|
||||
.get(0)
|
||||
.getPid()
|
||||
.get(0)
|
||||
.getQualifier()
|
||||
.getClassname());
|
||||
|
||||
}
|
||||
|
||||
|
@ -281,8 +302,10 @@ public class ProduceTest {
|
|||
|
||||
Assertions.assertEquals(86, mes.size());
|
||||
|
||||
tmp.filter(row -> row.getInstance() != null && row.getInstance().size() > 0)
|
||||
.foreach(e -> Assertions.assertEquals("sysimport:enrich", e.getDataInfo().getProvenanceaction().getClassid()));
|
||||
tmp
|
||||
.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>
|
||||
<mongodb.driver.version>3.4.2</mongodb.driver.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-common.version>[6.0.5]</dnet-actionmanager-common.version>
|
||||
<dnet-openaire-broker-common.version>[3.1.6]</dnet-openaire-broker-common.version>
|
||||
|
|
Loading…
Reference in New Issue