Project

General

Profile

« Previous | Next » 

Revision 41412

External records parser test added

View differences:

modules/uoa-claims -demo/claims-demo/src/test/java/eu/dnetlib/data/claims/migration/parser/ExternalParserTest.java
1
package eu.dnetlib.data.claims.migration.parser;
2

  
3
import eu.dnetlib.data.claims.migration.Result;
4
import eu.dnetlib.data.claimsDemo.ClaimUtils;
5
import org.junit.Assert;
6
import org.junit.Test;
7

  
8
/**
9
 * Created by kiatrop on 23/2/2016.
10
 */
11
public class ExternalParserTest {
12

  
13
    private String crossrefJson = "{\"status\":\"ok\",\"message-type\":\"work-list\",\"message-version\":\"1.0.0\",\"message\":" +
14
            "{\"query\":{\"search-terms\":null,\"start-index\":0},\"items-per-page\":20,\"items\":[{\"indexed\":" +
15
            "{\"date-parts\":[[2015,12,28]], \"date-time\":\"2015-12-28T17:45:59Z\",\"timestamp\":1451324759779}," +
16
            "\"reference-count\":0,\"publisher\":\"Society for Neuroscience\", \"issue\":\"17\"," +
17
            "\"published-print\":{\"date-parts\":[[2012,4,25]]},\"DOI\":\"10.1523\\/jneurosci.2900-11.2012\"," +
18
            "\"type\":\"journal-article\",\"created\": {\"date-parts\":[[2012,4,25]]," +
19
            "\"date-time\":\"2012-04-25T16:38:54Z\",\"timestamp\":1335371934000},\"page\":\"5728-5736\"," +
20
            "\"source\":\"CrossRef\",\"title\":[\"Imaging Microglial\\/Macrophage Activation in Spinal Cords of " +
21
            "Experimental Autoimmune Encephalomyelitis Rats by Positron Emission Tomography Using the Mitochondrial " +
22
            "18 kDa Translocator Protein Radioligand [18F]DPA-714\"]," +
23
            "\"prefix\":\"http:\\/\\/id.crossref.org\\/prefix\\/10.1523\",\"volume\":\"32\",\"author\":" +
24
            "[{\"affiliation\":[],\"family\":\"Abourbeh\",\"given\":\"G.\"},{\"affiliation\":[],\"family\":\"Theze\"," +
25
            "\"given\":\"B.\"},{\"affiliation\":[],\"family\":\"Maroy\",\"given\":\"R.\"},{\"affiliation\":[],\"family\":" +
26
            "\"Dubois\",\"given\":\"A.\"},{\"affiliation\":[],\"family\":\"Brulon\",\"given\":\"V.\"}," +
27
            "{\"affiliation\":[],\"family\":\"Fontyn\",\"given\":\"Y.\"},{\"affiliation\":[],\"family\":\"Dolle\"," +
28
            "\"given\":\"F.\"},{\"affiliation\":[],\"family\":\"Tavitian\",\"given\":\"B.\"},{\"affiliation\":[]," +
29
            "\"family\":\"Boisgard\",\"given\":\"R.\"}],\"member\":\"http:\\/\\/id.crossref.org\\/member\\/393\"," +
30
            "\"published-online\":{\"date-parts\":[[2012,4,25]]},\"container-title\":[\"Journal of Neuroscience\"]," +
31
            "\"deposited\":{\"date-parts\":[[2014,2,27]],\"date-time\":\"2014-02-27T06:42:02Z\",\"timestamp\":1393483322000}," +
32
            "\"score\":1.0,\"subtitle\":[],\"issued\":{\"date-parts\":[[2012,4,25]]}," +
33
            "\"URL\":\"http:\\/\\/dx.doi.org\\/10.1523\\/jneurosci.2900-11.2012\",\"ISSN\":[\"0270-6474\",\"1529-2401\"]," +
34
            "\"subject\":[\"Neuroscience(all)\"]}],\"total-results\":1,\"facets\":{}}}" +
35
            "";
36

  
37

  
38
    @Test
39
    public void crossref2ResultTest(){
40
        Result result = ExternalRecordParser.crossref2Result(crossrefJson);
41

  
42
        Assert.assertNull(result.getAccessRights());
43
        Assert.assertNull(result.getBestLicense());
44
        Assert.assertEquals("openaire____::crossref", result.getCollectedFrom());
45
        Assert.assertEquals("10.1523/jneurosci.2900-11.2012", result.getDoi());
46
        Assert.assertNull(result.getOai());
47
        Assert.assertNull(result.getOpenaireId());
48
        Assert.assertNull(result.getPmcid());
49
        Assert.assertEquals(ClaimUtils.PUBLICATION, result.getResultType());
50
        Assert.assertEquals("Imaging Microglial/Macrophage Activation in Spinal Cords of Experimental Autoimmune Encephalomyelitis Rats by Positron Emission Tomography Using the Mitochondrial 18 kDa Translocator Protein Radioligand [18F]DPA-714", result.getTitle());
51
        Assert.assertEquals("json", result.getRecordFormat());
52
        Assert.assertEquals("http://dx.doi.org/10.1523/jneurosci.2900-11.2012", result.getExternalUrl());
53
        Assert.assertNull(result.getEmbargoEndDate());
54
        Assert.assertNull(result.getOrcidworkid());
55
    }
56

  
57
    private String orcidXml = "<orcid-message xmlns=\"http://www.orcid.org/ns/orcid\">\n" +
58
            "    <message-version>1.1</message-version>\n" +
59
            "    <orcid-profile type=\"user\">\n" +
60
            "        <orcid-identifier>\n" +
61
            "            <uri>http://orcid.org/0000-0002-9414-646X</uri>\n" +
62
            "            <path>0000-0002-9414-646X</path>\n" +
63
            "            <host>orcid.org</host>\n" +
64
            "        </orcid-identifier>\n" +
65
            "        <orcid-preferences>\n" +
66
            "            <locale>es</locale>\n" +
67
            "        </orcid-preferences>\n" +
68
            "        <orcid-history>\n" +
69
            "            <creation-method>website</creation-method>\n" +
70
            "            <completion-date>2013-01-11T14:07:54.194Z</completion-date>\n" +
71
            "            <submission-date>2013-01-11T13:27:46.558Z</submission-date>\n" +
72
            "            <last-modified-date>2016-01-27T16:06:13.543Z</last-modified-date>\n" +
73
            "            <claimed>true</claimed>\n" +
74
            "        </orcid-history>\n" +
75
            "        <orcid-activities>\n" +
76
            "            <orcid-works>\n" +
77
            "                <orcid-work put-code=\"21755327\" visibility=\"public\">\n" +
78
            "                    <work-title>\n" +
79
            "                        <title>Providing Ubiquitous Positioning in Outdoor Environments</title>\n" +
80
            "                    </work-title>\n" +
81
            "                    <journal-title>2015 IEEE International Conference on Systems, Man, and Cybernetics</journal-title>\n" +
82
            "                    <work-citation>\n" +
83
            "                        <work-citation-type>bibtex</work-citation-type>\n" +
84
            "                        <citation>@inproceedings{Moreno_2015,doi = {10.1109/smc.2015.229},url = {http://dx.doi.org/10.1109/smc.2015.229},year = 2015,month = {oct},publisher = {Institute of Electrical {\\&amp;} Electronics Engineers ({IEEE})},author = {Daniel Moreno and Sergio F. Ochoa and Roc Meseguer},title = {Providing Ubiquitous Positioning in Outdoor Environments},booktitle = {2015 {IEEE} International Conference on Systems, Man, and Cybernetics}}</citation>\n" +
85
            "                    </work-citation>\n" +
86
            "                    <work-type>conference-paper</work-type>\n" +
87
            "                    <publication-date>\n" +
88
            "                        <year>2015</year>\n" +
89
            "                        <month>10</month>\n" +
90
            "                    </publication-date>\n" +
91
            "                    <work-external-identifiers>\n" +
92
            "                        <work-external-identifier>\n" +
93
            "                            <work-external-identifier-type>doi</work-external-identifier-type>\n" +
94
            "                            <work-external-identifier-id>10.1109/smc.2015.229</work-external-identifier-id>\n" +
95
            "                        </work-external-identifier>\n" +
96
            "                    </work-external-identifiers>\n" +
97
            "                    <work-contributors>\n" +
98
            "                        <contributor>\n" +
99
            "                            <credit-name visibility=\"public\">Daniel Moreno</credit-name>\n" +
100
            "                            <contributor-attributes>\n" +
101
            "                                <contributor-role>author</contributor-role>\n" +
102
            "                            </contributor-attributes>\n" +
103
            "                        </contributor>\n" +
104
            "                        <contributor>\n" +
105
            "                            <credit-name visibility=\"public\">Sergio F. Ochoa</credit-name>\n" +
106
            "                            <contributor-attributes>\n" +
107
            "                                <contributor-role>author</contributor-role>\n" +
108
            "                            </contributor-attributes>\n" +
109
            "                        </contributor>\n" +
110
            "                        <contributor>\n" +
111
            "                            <credit-name visibility=\"public\">Roc Meseguer</credit-name>\n" +
112
            "                            <contributor-attributes>\n" +
113
            "                                <contributor-role>author</contributor-role>\n" +
114
            "                            </contributor-attributes>\n" +
115
            "                        </contributor>\n" +
116
            "                    </work-contributors>\n" +
117
            "                    <work-source>\n" +
118
            "                        <uri>http://orcid.org/0000-0002-3054-1567</uri>\n" +
119
            "                        <path>0000-0002-3054-1567</path>\n" +
120
            "                        <host>orcid.org</host>\n" +
121
            "                    </work-source>\n" +
122
            "                </orcid-work>\n" +
123
            "                <orcid-work put-code=\"19191618\" visibility=\"public\">\n" +
124
            "                    <work-title>\n" +
125
            "                        <title>A Context-Aware Model to Provide Positioning in Disaster Relief Scenarios</title>\n" +
126
            "                    </work-title>\n" +
127
            "                    <journal-title>Sensors</journal-title>\n" +
128
            "                    <work-citation>\n" +
129
            "                        <work-citation-type>bibtex</work-citation-type>\n" +
130
            "                        <citation>@article{Moreno_2015,doi = {10.3390/s151025176},url = {http://dx.doi.org/10.3390/s151025176},year = 2015,month = {sep},publisher = {{MDPI} {AG}},volume = {15},number = {10},pages = {25176--25207},author = {Daniel Moreno and Sergio Ochoa and Roc Meseguer},title = {A Context-Aware Model to Provide Positioning in Disaster Relief Scenarios},journal = {Sensors}}</citation>\n" +
131
            "                    </work-citation>\n" +
132
            "                    <work-type>journal-article</work-type>\n" +
133
            "                    <publication-date>\n" +
134
            "                        <year>2015</year>\n" +
135
            "                        <month>09</month>\n" +
136
            "                    </publication-date>\n" +
137
            "                    <work-external-identifiers>\n" +
138
            "                        <work-external-identifier>\n" +
139
            "                            <work-external-identifier-type>doi</work-external-identifier-type>\n" +
140
            "                            <work-external-identifier-id>10.3390/s151025176</work-external-identifier-id>\n" +
141
            "                        </work-external-identifier>\n" +
142
            "                    </work-external-identifiers>\n" +
143
            "                    <work-contributors>\n" +
144
            "                        <contributor>\n" +
145
            "                            <credit-name visibility=\"public\">Daniel Moreno</credit-name>\n" +
146
            "                            <contributor-attributes>\n" +
147
            "                                <contributor-role>author</contributor-role>\n" +
148
            "                            </contributor-attributes>\n" +
149
            "                        </contributor>\n" +
150
            "                        <contributor>\n" +
151
            "                            <credit-name visibility=\"public\">Sergio Ochoa</credit-name>\n" +
152
            "                            <contributor-attributes>\n" +
153
            "                                <contributor-role>author</contributor-role>\n" +
154
            "                            </contributor-attributes>\n" +
155
            "                        </contributor>\n" +
156
            "                        <contributor>\n" +
157
            "                            <credit-name visibility=\"public\">Roc Meseguer</credit-name>\n" +
158
            "                            <contributor-attributes>\n" +
159
            "                                <contributor-role>author</contributor-role>\n" +
160
            "                            </contributor-attributes>\n" +
161
            "                        </contributor>\n" +
162
            "                    </work-contributors>\n" +
163
            "                    <work-source>\n" +
164
            "                        <uri>http://orcid.org/0000-0002-3054-1567</uri>\n" +
165
            "                        <path>0000-0002-3054-1567</path>\n" +
166
            "                        <host>orcid.org</host>\n" +
167
            "                    </work-source>\n" +
168
            "                </orcid-work>" +
169
            "</orcid-works></orcid-activities></orcid-profile></orcid-message>";
170

  
171
    @Test
172
    public void orcid2ResultTest() {
173
        Result result = ExternalRecordParser.orcid2Result(orcidXml, "0000-0002-9414-646X-21755327");
174

  
175
        Assert.assertNull(result.getAccessRights());
176
        Assert.assertNull(result.getBestLicense());
177
        Assert.assertEquals("openaire____::orcid", result.getCollectedFrom());
178
        Assert.assertEquals("10.1109/smc.2015.229", result.getDoi());
179
        Assert.assertEquals("0000-0002-9414-646X-21755327", result.getOrcidworkid());
180
        Assert.assertNull(result.getOai());
181
        Assert.assertNull(result.getOpenaireId());
182
        Assert.assertNull(result.getPmcid());
183
        Assert.assertEquals(ClaimUtils.PUBLICATION, result.getResultType());
184
        Assert.assertEquals("Providing Ubiquitous Positioning in Outdoor Environments", result.getTitle());
185
        Assert.assertEquals("xml", result.getRecordFormat());
186
        Assert.assertEquals("http://dx.doi.org/10.1109/smc.2015.229", result.getExternalUrl());
187
        Assert.assertNull(result.getEmbargoEndDate());
188

  
189
    }
190

  
191

  
192
    private String dataciteXml = "<rdf:RDF\n" +
193
            "    xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" +
194
            "    xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" +
195
            "    xmlns:j.0=\"http://purl.org/dc/terms/\" > \n" +
196
            "  <rdf:Description rdf:about=\"http://dx.doi.org/10.5060/D4RN35SD/USGS85K1_041\">\n" +
197
            "    <j.0:creator>Krimmel, Robert</j.0:creator>\n" +
198
            "    <j.0:publisher>National Snow and Ice Data Center/World Data Center for Glaciology, Boulder</j.0:publisher>\n" +
199
            "    <j.0:title>Chocolate Glacier</j.0:title>\n" +
200
            "    <j.0:date>2008</j.0:date>\n" +
201
            "    <owl:sameAs>doi:10.5060/D4RN35SD/USGS85K1_041</owl:sameAs>\n" +
202
            "    <owl:sameAs>info:doi/10.5060/D4RN35SD/USGS85K1_041</owl:sameAs>\n" +
203
            "    <j.0:identifier>10.5060/D4RN35SD/USGS85K1_041</j.0:identifier>\n" +
204
            "  </rdf:Description>\n" +
205
            "</rdf:RDF>\n";
206

  
207
    @Test
208
    public void datacite2ResultTest() {
209
        Result result = ExternalRecordParser.datacite2Result(dataciteXml);
210

  
211
        Assert.assertNull(result.getAccessRights());
212
        Assert.assertNull(result.getBestLicense());
213
        Assert.assertEquals("openaire____::datacite", result.getCollectedFrom());
214
        Assert.assertEquals("10.5060/D4RN35SD/USGS85K1_041", result.getDoi());
215
        Assert.assertNull(result.getOrcidworkid());
216
        Assert.assertNull(result.getOai());
217
        Assert.assertNull(result.getOpenaireId());
218
        Assert.assertNull(result.getPmcid());
219
        Assert.assertEquals(ClaimUtils.DATASET, result.getResultType());
220
        Assert.assertEquals("Chocolate Glacier", result.getTitle());
221
        Assert.assertEquals("xml", result.getRecordFormat());
222
        Assert.assertEquals("http://dx.doi.org/10.5060/D4RN35SD/USGS85K1_041", result.getExternalUrl());
223
        Assert.assertNull(result.getEmbargoEndDate());
224

  
225
    }
226
}
modules/uoa-claims -demo/claims-demo/src/test/java/eu/dnetlib/data/claims/migration/parser/OafParserTest.java
93 93
        Assert.assertEquals("pmc_test",result.getPmcid());
94 94
        Assert.assertEquals(ClaimUtils.PUBLICATION, result.getResultType());
95 95
        Assert.assertEquals("ПОСТКОНВЕРСИОННАЯ АСИСТОЛИЯ ЖЕЛУДОЧКОВ СЕРДЦА У БОЛЬНЫХ ИНФАРКТОМ МИОКАРДА И ВОЗМОЖНОСТИ ЕЕ ПРОФИЛАКТИКИ",result.getTitle());
96
        Assert.assertEquals("xml", result.getRecordFormat());
96 97

  
97 98
        Assert.assertEquals("http://cyberleninka.ru/article/n/postkonversionnaya-asistoliya-zheludochkov-serdtsa-u-bolnyh-infarktom-miokarda-i-vozmozhnosti-ee-profilaktiki", result.getExternalUrl());
98 99
        Assert.assertEquals("2099-12-31",result.getEmbargoEndDate());
......
181 182
        Assert.assertEquals("orcidworkid_test", result.getOrcidworkid());
182 183
        Assert.assertEquals("doi_test", result.getDoi());
183 184

  
185

  
184 186
    }
185 187
    private String datasetOaf = "<response>\n" +
186 188
            "\t  <header>\n" +
......
260 262
        Assert.assertEquals("pmc_test",result.getPmcid());
261 263
        Assert.assertEquals(ClaimUtils.DATASET, result.getResultType());
262 264
        Assert.assertEquals("ПОСТКОНВЕРСИОННАЯ АСИСТОЛИЯ ЖЕЛУДОЧКОВ СЕРДЦА У БОЛЬНЫХ ИНФАРКТОМ МИОКАРДА И ВОЗМОЖНОСТИ ЕЕ ПРОФИЛАКТИКИ",result.getTitle());
265
        Assert.assertEquals("xml", result.getRecordFormat());
263 266

  
264 267
        Assert.assertEquals("http://dx.doi.org/doi_test", result.getExternalUrl());
265 268
        Assert.assertEquals("2099-12-31",result.getEmbargoEndDate());
......
380 383
        Assert.assertEquals("EC", project.getFunderShortName());
381 384
        Assert.assertEquals("European Commission", project.getFunderName());
382 385
        Assert.assertEquals("Saponification pre-treatment and biosensors based control system for slaughterhouse waste anaerobic digestion improvement", project.getName());
386

  
383 387
    }
384 388

  
385 389

  
modules/uoa-claims -demo/claims-demo/src/test/java/eu/dnetlib/data/claims/migration/parser/DMFParserTest.java
1
package eu.dnetlib.data.claims.migration.parser;
2

  
3
/**
4
 * Created by kiatrop on 23/2/2016.
5
 */
6
public class DMFParserTest {
7

  
8
    private String publicationDmf= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
9
            "<record xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:prov=\"http://www.openarchives.org/OAI/2.0/provenance\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dri=\"http://www.driver-repository.eu/namespace/dri\" xmlns:dr=\"http://www.driver-repository.eu/namespace/dr\" xmlns:oaf=\"http://namespace.openaire.eu/oaf\">\n" +
10
            "  <header xmlns=\"http://namespace.openaire.eu/\">\n" +
11
            "    <dri:objIdentifier>crossref____::47593e13b24bcdd0f3d5573499f1d3a9</dri:objIdentifier>\n" +
12
            "    <dri:recordIdentifier>10.1088/0004-637X/761/1/34</dri:recordIdentifier>\n" +
13
            "    <dri:dateOfCollection></dri:dateOfCollection>\n" +
14
            "    <dri:mdFormat></dri:mdFormat>\n" +
15
            "    <dri:mdFormatInterpretation></dri:mdFormatInterpretation>\n" +
16
            "    <dri:repositoryId></dri:repositoryId>\n" +
17
            "    <dr:objectIdentifier></dr:objectIdentifier>\n" +
18
            "    <dr:dateOfCollection>2014-10-10T14:59:49+00:00</dr:dateOfCollection>\n" +
19
            "    <oaf:datasourceprefix>crossref____</oaf:datasourceprefix>\n" +
20
            "  </header>\n" +
21
            "  <metadata xmlns=\"http://namespace.openaire.eu/\">\n" +
22
            "      <dc:dateAccepted>2012-01-01T00:00:00Z</dc:dateAccepted>\n" +
23
            "             <dc:identifier>http://stacks.iop.org/0004-637X/761/i=1/a=34?key=crossref.d14dae8ac205453af63561a69c108e13</dc:identifier>\n" +
24
            "          <dc:title>A THREE-DIMENSIONAL VIEW OF THE REMNANT OF NOVA PERSEI 1901 (GK Per)</dc:title>\n" +
25
            "             <oaf:collectedDatasourceid>openaire____::crossref</oaf:collectedDatasourceid>\n" +
26
            "       <oaf:accessrights></oaf:accessrights>\n" +
27
            "       <oaf:hostedBy name=\"Unknown Repository\" id=\"openaire____::1256f046-bf1f-4afc-8b47-d0b147148b18\"/>\n" +
28
            "    <oaf:collectedFrom name=\"Crossref\" id=\"openaire____::crossref\" />\n" +
29
            "          \n" +
30
            "     <dc:creator>Liimets, T.</dc:creator>\n" +
31
            "     <dc:creator>Corradi, R. L. M.</dc:creator>\n" +
32
            "     <dc:creator>Santander-Garc&#237;a, M.</dc:creator>\n" +
33
            "     <dc:creator>Villaver, E.</dc:creator>\n" +
34
            "     <dc:creator>Rodr&#237;guez-Gil, P.</dc:creator>\n" +
35
            "     <dc:creator>Verro, K.</dc:creator>\n" +
36
            "     <dc:creator>Kolka, I.</dc:creator>\n" +
37
            " \n" +
38
            "        <dc:identifier identifierType=\"doi\">10.1088/0004-637X/761/1/34</dc:identifier>\n" +
39
            //"        <dr:CobjIdentifier>10.1088/0004-637X/761/1/34</dr:CobjIdentifier>\n" +
40
            "       <dc:identifier identifierType=\"orcidworkid\">0000-0002-1112-1292-12694010</dc:identifier>\n" +
41
            //"        <dr:CobjIdentifier>0000-0002-1112-1292-12694010</dr:CobjIdentifier>" +
42
            "  </metadata>\n" +
43
            "</record>";
44

  
45
    private  String datasetDmf = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
46
            "<record xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:prov=\"http://www.openarchives.org/OAI/2.0/provenance\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dri=\"http://www.driver-repository.eu/namespace/dri\" xmlns:dr=\"http://www.driver-repository.eu/namespace/dr\" xmlns:oaf=\"http://namespace.openaire.eu/oaf\">\n" +
47
            "  <header xmlns=\"http://namespace.openaire.eu/\">\n" +
48
            "    <dri:objIdentifier>datacite____::f17ed62850888624de6afc5ccf7fa81f</dri:objIdentifier>\n" +
49
            "    <dri:recordIdentifier>10.13140/2.1.4645.5364</dri:recordIdentifier>\n" +
50
            "    <dri:dateOfCollection></dri:dateOfCollection>\n" +
51
            "    <dri:mdFormat></dri:mdFormat>\n" +
52
            "    <dri:mdFormatInterpretation></dri:mdFormatInterpretation>\n" +
53
            "    <dri:repositoryId></dri:repositoryId>\n" +
54
            "    <dr:objectIdentifier></dr:objectIdentifier>\n" +
55
            "    <dr:dateOfCollection>2015-04-02T11:08:55+00:00</dr:dateOfCollection>\n" +
56
            "    <oaf:datasourceprefix>datacite____</oaf:datasourceprefix>\n" +
57
            "  </header>\n" +
58
            "  <metadata xmlns=\"http://namespace.openaire.eu/\">\n" +
59
            "      <dc:dateAccepted>2014-01-01T00:00:00Z</dc:dateAccepted>\n" +
60
            "             <dc:identifier>http://dx.doi.org/10.13140%2F2.1.4645.5364</dc:identifier>\n" +
61
            "          <dc:title>Valors i actituds sobre just&#237;cia distributiva: prestacions socials i fiscalitat</dc:title>\n" +
62
            "             <dc:publisher>GSADI-UAB - Centre Estudis Opini&#243; (CEO)</dc:publisher>\n" +
63
            "       <oaf:collectedDatasourceid>openaire____::datacite</oaf:collectedDatasourceid>\n" +
64
            "       <oaf:accessrights></oaf:accessrights>\n" +
65
            "          <oaf:hostedBy name=\"Unknown Repository\" id=\"openaire____::1256f046-bf1f-4afc-8b47-d0b147148b18\"/>\n" +
66
            "    <oaf:collectedFrom name=\"Datacite\" id=\"openaire____::datacite\" />\n" +
67
            "          \n" +
68
            "     <dc:creator>Xavier Guijarro Rubinat</dc:creator>\n" +
69
            "     <dc:creator>Jose A. Noguera</dc:creator>\n" +
70
            "     <dc:creator>Eduardo Tapia</dc:creator>\n" +
71
            "     <dc:creator>Jordi Tena-S&#225;nchez</dc:creator>\n" +
72
            "     <dc:creator>FJ Miquel Quesada</dc:creator>\n" +
73
            "     <dc:creator>Mercedes Vinagre</dc:creator>\n" +
74
            "     <dc:creator>FJ Le&#243;n</dc:creator>\n" +
75
            "     <dc:creator>Toni Ll&#224;cer</dc:creator>\n" +
76
            " \n" +
77
            "        <oaf:identifier identifierType=\"doi\">10.13140/2.1.4645.5364</oaf:identifier>\n" +
78
            "        <dr:CobjIdentifier>10.13140/2.1.4645.5364</dr:CobjIdentifier>\n" +
79
            "\n" +
80
            "\n" +
81
            "  </metadata>\n" +
82
            "</record>";
83

  
84
    private  String contextDmf = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
85
            "<record xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:prov=\"http://www.openarchives.org/OAI/2.0/provenance\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dri=\"http://www.driver-repository.eu/namespace/dri\" xmlns:dr=\"http://www.driver-repository.eu/namespace/dr\" xmlns:oaf=\"http://namespace.openaire.eu/oaf\">\n" +
86
            "  <header xmlns=\"http://namespace.openaire.eu/\">\n" +
87
            "    <dri:objIdentifier>od______1031::ec6940963d90d1e275970ed2a0ac2508</dri:objIdentifier>\n" +
88
            "    <dri:recordIdentifier>od______1031::ec6940963d90d1e275970ed2a0ac2508</dri:recordIdentifier>\n" +
89
            "    <dri:dateOfCollection></dri:dateOfCollection>\n" +
90
            "    <dri:mdFormat></dri:mdFormat>\n" +
91
            "    <dri:mdFormatInterpretation></dri:mdFormatInterpretation>\n" +
92
            "    <dri:repositoryId></dri:repositoryId>\n" +
93
            "    <dr:objectIdentifier></dr:objectIdentifier>\n" +
94
            "    <dr:dateOfCollection>2015-01-22T11:40:51+00:00</dr:dateOfCollection>\n" +
95
            "    <oaf:datasourceprefix>openaire____</oaf:datasourceprefix>\n" +
96
            "  </header>\n" +
97
            "  <metadata xmlns=\"http://namespace.openaire.eu/\">\n" +
98
            "                     <oaf:collectedDatasourceid></oaf:collectedDatasourceid>\n" +
99
            "          <oaf:hostedBy name=\"\" id=\"\"/>\n" +
100
            "    <oaf:collectedFrom name=\"\" id=\"\" />\n" +
101
            "          \n" +
102
            "     <oaf:concept id=\"egi::country::gr\" />\n" +
103
            "\n" +
104
            "\n" +
105
            "\n" +
106
            "  </metadata>\n" +
107
            "</record>";
108

  
109
}
modules/uoa-claims -demo/claims-demo/uoa-claims-demo.iml
11 11
    </content>
12 12
    <orderEntry type="inheritedJdk" />
13 13
    <orderEntry type="sourceFolder" forTests="false" />
14
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-cql-utils:1.0.1" level="project" />
15
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-data-provision-rmi:1.0.0" level="project" />
16
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-blackboard-common:1.0.0" level="project" />
17
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-notifications-common:1.1.0" level="project" />
14 18
    <orderEntry type="library" name="Maven: junit:junit:4.8.2" level="project" />
15 19
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-commons:1.2.0-SNAPSHOT" level="project" />
16 20
    <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-core:2.2.7" level="project" />
......
22 26
    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.6.6" level="project" />
23 27
    <orderEntry type="library" name="Maven: com.unboundid:unboundid-ldapsdk:1.1.3" level="project" />
24 28
    <orderEntry type="library" name="Maven: apache:commons-logging:1.1.1" level="project" />
25
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
26 29
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-api:1.2.0-SNAPSHOT" level="project" />
27 30
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-actionmanager-api:3.0.0" level="project" />
28
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-rmi-api:2.3.0" level="project" />
29
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-api:2.7.8" level="project" />
30
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.2.0" level="project" />
31
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.1" level="project" />
32
    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.0.3" level="project" />
33
    <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
34
    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
31
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-domain:1.2.0-SNAPSHOT" level="project" />
32
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.5.6-Final" level="project" />
33
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:3.5.6-Final" level="project" />
34
    <orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
35
    <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.1" level="project" />
36
    <orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
37
    <orderEntry type="library" name="Maven: cglib:cglib:2.2" level="project" />
38
    <orderEntry type="library" name="Maven: javassist:javassist:3.9.0.GA" level="project" />
39
    <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final" level="project" />
40
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-annotations:3.5.6-Final" level="project" />
41
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-commons-annotations:3.2.0.Final" level="project" />
42
    <orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.0.0.RELEASE" level="project" />
43
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
44
    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.0.0.RELEASE" level="project" />
35 45
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-misc-utils:1.0.0" level="project" />
36 46
    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
37 47
    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.8" level="project" />
......
43 53
    <orderEntry type="library" name="Maven: jgrapht:jgrapht:0.7.2" level="project" />
44 54
    <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.8.0" level="project" />
45 55
    <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
46
    <orderEntry type="library" name="Maven: org.springframework:spring-test:4.0.0.RELEASE" level="project" />
47
    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.0.0.RELEASE" level="project" />
48
    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
49
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-domain:1.2.0-SNAPSHOT" level="project" />
50
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.5.6-Final" level="project" />
51
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:3.5.6-Final" level="project" />
52
    <orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
53
    <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.1" level="project" />
54
    <orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
55
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-annotations:3.5.6-Final" level="project" />
56
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-commons-annotations:3.2.0.Final" level="project" />
57
    <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final" level="project" />
58
    <orderEntry type="library" name="Maven: cglib:cglib:2.2" level="project" />
59
    <orderEntry type="library" name="Maven: asm:asm:3.3.1" level="project" />
60
    <orderEntry type="library" name="Maven: javassist:javassist:3.9.0.GA" level="project" />
56
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-spring-utils:1.0.0" level="project" />
57
    <orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
58
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.0.0.RELEASE" level="project" />
59
    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.0.0.RELEASE" level="project" />
60
    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.0.0.RELEASE" level="project" />
61
    <orderEntry type="library" name="Maven: jparsec:jparsec:2.0" level="project" />
62
    <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
63
    <orderEntry type="library" name="Maven: org.antlr:antlr:2.7.7" level="project" />
64
    <orderEntry type="library" name="Maven: runcc:runcc:0.7" level="project" />
65
    <orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" />
66
    <orderEntry type="library" name="Maven: commons-pool:commons-pool:1.5.4" level="project" />
61 67
    <orderEntry type="library" name="Maven: com.google.gwt:gwt-user:2.7.0" level="project" />
62 68
    <orderEntry type="library" name="Maven: javax.validation:validation-api:1.0.0.GA" level="project" />
63 69
    <orderEntry type="library" name="Maven: javax.validation:validation-api:sources:1.0.0.GA" level="project" />
......
68 74
    <orderEntry type="library" name="Maven: apache:oro:2.0.8" level="project" />
69 75
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:2.7.8" level="project" />
70 76
    <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
77
    <orderEntry type="library" name="Maven: asm:asm:3.3.1" level="project" />
71 78
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-core:2.7.8" level="project" />
72 79
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:2.7.8" level="project" />
73 80
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:2.7.8" level="project" />
......
77 84
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:2.7.8" level="project" />
78 85
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:2.7.8" level="project" />
79 86
    <orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.0.2" level="project" />
80
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
81
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.0.0.RELEASE" level="project" />
82
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
83
    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.0.0.RELEASE" level="project" />
84
    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.0.0.RELEASE" level="project" />
85 87
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-common:1.0.0" level="project" />
86
    <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
87
    <orderEntry type="library" name="Maven: org.antlr:antlr:2.7.7" level="project" />
88 88
    <orderEntry type="library" name="Maven: opensymphony:quartz:1.6.6" level="project" />
89
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
90
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-spring-utils:1.0.0" level="project" />
91
    <orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
92
    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.0.0.RELEASE" level="project" />
93
    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.0.0.RELEASE" level="project" />
94
    <orderEntry type="library" name="Maven: jparsec:jparsec:2.0" level="project" />
95
    <orderEntry type="library" name="Maven: runcc:runcc:0.7" level="project" />
96
    <orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.0.0.RELEASE" level="project" />
97
    <orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" />
98
    <orderEntry type="library" name="Maven: commons-pool:commons-pool:1.5.4" level="project" />
99 89
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-clients:1.2.0-SNAPSHOT" level="project" />
90
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-rmi-api:2.3.0" level="project" />
91
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-api:2.7.8" level="project" />
92
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.2.0" level="project" />
93
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.1" level="project" />
94
    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.0.3" level="project" />
95
    <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
96
    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
100 97
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-datasource-manager-rmi:4.0.0" level="project" />
101 98
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-enabling-database-api:1.0.0" level="project" />
102 99
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-index-client:1.1.0" level="project" />
103
    <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.4" level="project" />
104 100
    <orderEntry type="library" name="Maven: com.mycila:xmltool:3.3" level="project" />
105
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-cql-utils:1.0.1" level="project" />
101
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-cql-utils:1.0.2-SNAPSHOT" level="project" />
106 102
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-queryparser:4.9.0" level="project" />
107 103
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-core:4.9.0" level="project" />
108 104
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-queries:4.9.0" level="project" />
109 105
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-sandbox:4.9.0" level="project" />
110 106
    <orderEntry type="library" name="Maven: org.z3950.zing:cql-java:1.7" level="project" />
111
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-data-provision-rmi:1.0.0" level="project" />
107
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-data-provision-rmi:1.0.1-SNAPSHOT" level="project" />
112 108
    <orderEntry type="library" name="Maven: org.apache.ant:ant:1.8.2" level="project" />
113 109
    <orderEntry type="library" name="Maven: org.apache.ant:ant-launcher:1.8.2" level="project" />
114 110
    <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.0.0.RELEASE" level="project" />
111
    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.0.0.RELEASE" level="project" />
112
    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.0.0.RELEASE" level="project" />
113
    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
114
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
115
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
115 116
    <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:1.9.5" level="project" />
116
    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
117
    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
117 118
    <orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:1.0" level="project" />
118
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-blackboard-common:1.0.0" level="project" />
119
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-notifications-common:1.1.0" level="project" />
119
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-blackboard-common:1.0.1-SNAPSHOT" level="project" />
120
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-notifications-common:1.1.1-SNAPSHOT" level="project" />
120 121
    <orderEntry type="library" name="Maven: postgresql:postgresql:9.1-901.jdbc4" level="project" />
122
    <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.4" level="project" />
121 123
    <orderEntry type="library" name="Maven: javax.mail:mail:1.4" level="project" />
122 124
    <orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
125
    <orderEntry type="library" name="Maven: org.springframework:spring-test:4.0.0.RELEASE" level="project" />
126
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
123 127
  </component>
124
</module>
125

  
128
</module>

Also available in: Unified diff