updated test for EU Open Data portal datasets

scholexplorer_resolve_on_hadoop
Alessia Bardi 3 years ago
parent fd705404a1
commit c67329d3ad

@ -420,7 +420,7 @@ public class MappersTest {
assertValidId(p.getCollectedfrom().get(0).getKey());
assertTrue(StringUtils.isNotBlank(p.getTitle().get(0).getValue()));
assertEquals(0, p.getAuthor().size());
assertEquals(0, p.getPid().size());
assertEquals(1, p.getPid().size());
assertEquals("OPEN", p.getBestaccessright().getClassid());
assertEquals("dataset", p.getResulttype().getClassname());
assertEquals(1, p.getInstance().size());

@ -1047,6 +1047,7 @@ dnet:pid_types @=@ dnet:pid_types @=@ urn @=@ urn
dnet:pid_types @=@ dnet:pid_types @=@ who @=@ WHO Identifier
dnet:pid_types @=@ dnet:pid_types @=@ drks @=@ DRKS Identifier
dnet:pid_types @=@ dnet:pid_types @=@ handle @=@ Handle
dnet:pid_types @=@ dnet:pid_types @=@ data.europa.eu @=@ EU Persistent URL
dnet:topic_types @=@ dnet:topic_types @=@ ENRICH/MISSING/SUBJECT/ACM @=@ An ACM classification term that can be associated to your publications
dnet:topic_types @=@ dnet:topic_types @=@ ENRICH/MISSING/SUBJECT/ARXIV @=@ An ARXIV classification term that can be associated to your publications
dnet:topic_types @=@ dnet:topic_types @=@ ENRICH/MISSING/SUBJECT/DDC @=@ A Dewey Decimal classification term (DDC) that can be associated to your publications

@ -7,7 +7,7 @@
<dri:recordIdentifier>60a0a5b0-b63c-473f-b8bc-207ea037eb3b</dri:recordIdentifier>
<dri:dateOfCollection>2021-01-28T17:24:33.095+01:00</dri:dateOfCollection>
<oaf:datasourceprefix>r3c4b2081b22</oaf:datasourceprefix>
<dr:dateOfTransformation>2021-02-03T10:16:27.948+01:00</dr:dateOfTransformation>
<dr:dateOfTransformation>2021-02-03T16:57:03.099+01:00</dr:dateOfTransformation>
</oai:header>
<oai:metadata>
<datacite:resource
@ -334,6 +334,7 @@
</datacite:geoLocation>
</datacite:geoLocations>
</datacite:resource>
<oaf:identifier identifierType="data.europa.eu">http://data.europa.eu/88u/dataset/60a0a5b0-b63c-473f-b8bc-207ea037eb3b</oaf:identifier>
<oaf:country>EU</oaf:country>
<oaf:accessrights>OPEN</oaf:accessrights>
<dr:CobjCategory type="dataset">0021</dr:CobjCategory>

Loading…
Cancel
Save