diff --git a/oaipmh-core/pom.xml b/oaipmh-core/pom.xml index 76edfcb53c6fb8a766e259fe2125a82dff77f713..ac4cfb5e5ccd566adb3ab3bc4c57a31958bafd4f 100644 --- a/oaipmh-core/pom.xml +++ b/oaipmh-core/pom.xml @@ -4,11 +4,11 @@ <parent> <artifactId>oaipmh</artifactId> <groupId>info.textgrid.middleware</groupId> - <version>1.3.22-SNAPSHOT</version> + <version>1.3.23-SNAPSHOT</version> </parent> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh-core</artifactId> - <version>1.3.22-SNAPSHOT</version> + <version>1.3.23-SNAPSHOT</version> <packaging>jar</packaging> <name>TextGrid :: TG-OAI-PMH :: Core</name> <url>http://maven.apache.org</url> diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDeliverer.java b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDeliverer.java index 936821b21aa7ab761afa5cc29ade843f2c897f8f..7f82b05584aa9f16dcdb953905e719e809d0a6f6 100644 --- a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDeliverer.java +++ b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDeliverer.java @@ -351,7 +351,7 @@ public class RecordListDeliverer { if (setParts[0].equals("project")) { System.out.println("Testitest4"); - queryField = "project.value"; + queryField = "project.id"; valueField = setParts[1]; System.out.println("Testitest4 " + valueField); // setParts[0] = setParts[0].concat(".value"); diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/SetDeliverer.java b/oaipmh-core/src/main/java/info/textgrid/middleware/SetDeliverer.java index e931befca3b042fd387f2593e399579f181333ed..d37ff634ad6c48c86254ee38bf83bc8d655032bb 100644 --- a/oaipmh-core/src/main/java/info/textgrid/middleware/SetDeliverer.java +++ b/oaipmh-core/src/main/java/info/textgrid/middleware/SetDeliverer.java @@ -81,8 +81,8 @@ public class SetDeliverer { String projectName = projectValues[0]; String projectID = projectValues[1]; - set.setSetName("project:" + projectName); - set.setSetSpec(projectID); + set.setSetName(projectName); + set.setSetSpec("project:" + projectID); setList.getSet().add(set); } } diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java index 3efe011b0eb03c2058ad79ffb67ed54bbbd967af..77c35d67b000e54db392c49e7bd3521effde81b4 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java @@ -285,7 +285,7 @@ public class OaiPmhTest { * @throws ParseException */ @Test - @Ignore + //@Ignore public void testListRecordSets() throws ParseException { this.recordList.setContributor(TGConstants.CONTRIBUTOR_LIST); this.recordList.setCoverage(TGConstants.COVERAGE_LIST); @@ -311,7 +311,7 @@ public class OaiPmhTest { this.recordList.setFieldForRange(TGConstants.CREATED); System.out.println("Test for the verb \"ListRecord\" with sets with succesfull response"); - JAXBElement<OAIPMHType> p = this.request.getRequest("ListRecords", "","oai_dc", "project:Digitale Bibliothek", "", "", ""); + JAXBElement<OAIPMHType> p = this.request.getRequest("ListRecords", "","oai_dc", "project:TGPR-372fe6dc-57f2-6cd4-01b5-2c4bbefcfd3c", "", "", ""); JAXB.marshal(p, System.out); System.out.println("-----------------------------------\n"); diff --git a/oaipmh-webapp/pom.xml b/oaipmh-webapp/pom.xml index 82628388fa8a981041d2a21c7fedfb2530ab7c50..ed974a1c692548ac6e7e2857052422206aaf5941 100644 --- a/oaipmh-webapp/pom.xml +++ b/oaipmh-webapp/pom.xml @@ -4,12 +4,12 @@ <parent> <artifactId>oaipmh</artifactId> <groupId>info.textgrid.middleware</groupId> - <version>1.3.22-SNAPSHOT</version> + <version>1.3.23-SNAPSHOT</version> </parent> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh-webapp</artifactId> <packaging>war</packaging> - <version>1.3.22-SNAPSHOT</version> + <version>1.3.23-SNAPSHOT</version> <name>TextGrid :: OAI-PMH :: Webapp</name> <url>http://maven.apache.org</url> <profiles> diff --git a/pom.xml b/pom.xml index 0819a8d83d41d0187dda0e68dcf56253b9da9141..8d1e8c4e569c75e54aa09eb28ee178cb81d7359a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>info.textgrid.middleware</groupId> <artifactId>oaipmh</artifactId> - <version>1.3.22-SNAPSHOT</version> + <version>1.3.23-SNAPSHOT</version> <packaging>pom</packaging> <name>TextGrid :: TG-OAI-PMH :: Parent</name> <properties>