Skip to content
Snippets Groups Projects
Commit e61cbfa1 authored by mbrodhu's avatar mbrodhu
Browse files

version to 1.3.9 snapshot

parent 35204340
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@
<parent>
<artifactId>oaipmh</artifactId>
<groupId>info.textgrid.middleware</groupId>
<version>1.3.8-SNAPSHOT</version>
<version>1.3.9-SNAPSHOT</version>
</parent>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh-core</artifactId>
<version>1.3.8-SNAPSHOT</version>
<version>1.3.9-SNAPSHOT</version>
<packaging>jar</packaging>
<name>TextGrid :: TG-OAI-PMH :: Core</name>
<url>http://maven.apache.org</url>
......
......@@ -25,9 +25,9 @@ public class OaiPmhTest {
private RecordDeliverer record = new RecordDeliverer(oaiEsClient, TGConstants.TGFields, TGConstants.TGWorkFields, true, false);
private RecordListDeliverer recordList = new RecordListDeliverer(oaiEsClient, TGConstants.TGFields, TGConstants.TGWorkFields, true, false);
private OAIPMHImpl testRequest = new OAIPMHImpl(oaiEsClient, record);
private OAIPMHImpl repIdentificationTestRequest = new OAIPMHImpl(oaiEsClient, rep);
private OAIPMHImpl recordListRequest = new OAIPMHImpl(oaiEsClient, recordList);
//private OAIPMHImpl testRequest = new OAIPMHImpl(oaiEsClient, record);
//private OAIPMHImpl repIdentificationTestRequest = new OAIPMHImpl(oaiEsClient, rep);
//private OAIPMHImpl recordListRequest = new OAIPMHImpl(oaiEsClient, recordList);
private OAIPMHImpl request = new OAIPMHImpl(oaiEsClient, rep, record, recordList);
......@@ -83,7 +83,7 @@ public class OaiPmhTest {
public void testGetRequestIdentify() throws ParseException {
System.out.println("Test for the verb \"Identify\" with succesfull response");
JAXBElement<OAIPMHType> r = repIdentificationTestRequest.getRequest("Identify", "", "",
JAXBElement<OAIPMHType> r = request.getRequest("Identify", "", "",
"", "", "", "");
JAXB.marshal(r, System.out);
System.out.println("-----------------------------------\n");
......@@ -92,7 +92,7 @@ public class OaiPmhTest {
@Test
//@Ignore
public void testGetRequestIdentifyVerbError() throws ParseException {
JAXBElement<OAIPMHType> t = testRequest.getRequest("Identify", "", "a",
JAXBElement<OAIPMHType> t = request.getRequest("Identify", "", "a",
"", "", "", "");
JAXB.marshal(t, System.out);
System.out.println("-----------------------------------\n");
......@@ -103,7 +103,7 @@ public class OaiPmhTest {
public void testGetRequestIdentifyArgumentError() throws ParseException {
System.out
.println("Test for the verb \"Identify\" with error response");
JAXBElement<OAIPMHType> z = testRequest.getRequest("Identify", "a", "",
JAXBElement<OAIPMHType> z = request.getRequest("Identify", "a", "",
"", "", "a", "");
JAXB.marshal(z, System.out);
System.out.println("-----------------------------------\n");
......@@ -126,7 +126,7 @@ public class OaiPmhTest {
public void testGetRequestGetRecordError2() throws ParseException {
System.out
.println("Test for the verb \"GetRecord\" with succesfull response");
JAXBElement<OAIPMHType> p = testRequest.getRequest("GetRecord",
JAXBElement<OAIPMHType> p = request.getRequest("GetRecord",
"wr71.0", "oai_dc", "", "", "", "");
JAXB.marshal(p, System.out);
System.out.println("-----------------------------------\n");
......@@ -137,7 +137,7 @@ public class OaiPmhTest {
@Ignore
public void testGetRequestGetRecordError3() throws ParseException{
System.out.println("Test for the verb \"GetRecord\" with succesfull response"
); JAXBElement<OAIPMHType> p = testRequest.getRequest("GetRecord", "",
); JAXBElement<OAIPMHType> p = request.getRequest("GetRecord", "",
"", "", "", "", ""); JAXB.marshal(p, System.out);
System.out.println("-----------------------------------\n");
......@@ -148,7 +148,7 @@ public class OaiPmhTest {
@Ignore
public void testListIdentifierSets() throws ParseException {
System.out.println("Test for the verb \"ListIdentifiers\" with succesfull response");
JAXBElement<OAIPMHType> p = testRequest.getRequest("ListIdentifiers",
JAXBElement<OAIPMHType> p = request.getRequest("ListIdentifiers",
"", "oai_dc", "project.value:St. Matthias Test 07", "", "", "");
JAXB.marshal(p, System.out);
System.out.println("-----------------------------------\n");
......@@ -159,7 +159,7 @@ public class OaiPmhTest {
@Ignore
public void testListRecordSets() throws ParseException {
System.out.println("Test for the verb \"ListRecord\" with sets with succesfull response");
JAXBElement<OAIPMHType> p = recordListRequest.getRequest("ListRecords",
JAXBElement<OAIPMHType> p = request.getRequest("ListRecords",
"", "oai_dc", "project.value:Digitale Bibliothek", "", "", "");
JAXB.marshal(p, System.out);
System.out.println("-----------------------------------\n");
......@@ -169,7 +169,7 @@ public class OaiPmhTest {
@Test
@Ignore
public void testListRecords() throws ParseException{
JAXBElement<OAIPMHType> r = testRequest.getRequest("ListRecords", "",
JAXBElement<OAIPMHType> r = request.getRequest("ListRecords", "",
"oai_dc", "", "2011-02-06T20:48:39", "", ""); JAXB.marshal(r,
System.out); System.out.println("-----------------------------------\n");
}
......@@ -177,7 +177,7 @@ public class OaiPmhTest {
@Test
@Ignore
public void testListMetadataFormats() throws ParseException{
JAXBElement<OAIPMHType> r = testRequest.getRequest("ListMetadataFormats",
JAXBElement<OAIPMHType> r = request.getRequest("ListMetadataFormats",
"wr67.0", "", "", "", "", ""); JAXB.marshal(r, System.out);
System.out.println("-----------------------------------\n");
}
......@@ -186,7 +186,7 @@ public class OaiPmhTest {
@Ignore
public void testListSets() throws ParseException {
JAXBElement<OAIPMHType> r = testRequest.getRequest("ListSets", "", "",
JAXBElement<OAIPMHType> r = request.getRequest("ListSets", "", "",
"", "", "", "");
JAXB.marshal(r, System.out);
System.out.println("-----------------------------------\n");
......@@ -196,7 +196,7 @@ public class OaiPmhTest {
@Ignore
public void testListIdentifiers() throws ParseException{
JAXBElement<OAIPMHType> r = testRequest.getRequest("ListIdentifiers", "",
JAXBElement<OAIPMHType> r = request.getRequest("ListIdentifiers", "",
"oai_dc", "", "", "", ""); JAXB.marshal(r, System.out);
System.out.println("-----------------------------------\n");
}
......
......@@ -4,12 +4,12 @@
<parent>
<artifactId>oaipmh</artifactId>
<groupId>info.textgrid.middleware</groupId>
<version>1.3.8-SNAPSHOT</version>
<version>1.3.9-SNAPSHOT</version>
</parent>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh-webapp</artifactId>
<packaging>war</packaging>
<version>1.3.8-SNAPSHOT</version>
<version>1.3.9-SNAPSHOT</version>
<name>TextGrid :: OAI-PMH :: Webapp</name>
<url>http://maven.apache.org</url>
<profiles>
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>info.textgrid.middleware</groupId>
<artifactId>oaipmh</artifactId>
<version>1.3.8-SNAPSHOT</version>
<version>1.3.9-SNAPSHOT</version>
<packaging>pom</packaging>
<name>TextGrid :: TG-OAI-PMH :: Parent</name>
<properties>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment