Skip to content

Commit

Permalink
changes for version 1.0.0, added support for dcat -> iso19139 harvesting
Browse files Browse the repository at this point in the history
  • Loading branch information
einspanier committed Nov 19, 2018
1 parent 56f54c6 commit 044f1e7
Show file tree
Hide file tree
Showing 21 changed files with 795 additions and 819 deletions.
13 changes: 6 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>oai-pmh-geo-harvest</artifactId>
<packaging>war</packaging>
<name>EU ODP Geo-Harvesting via OAI-PMH</name>
<version>0.9.0-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<description>This is the web application of the harvest service</description>
<!-- core developers ======================================================= -->
<developers>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -60,10 +60,9 @@
<artifactId>camel-jaxb</artifactId>
<version>${camel.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http4 -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http4</artifactId>
<artifactId>camel-http</artifactId>
<version>${camel.version}</version>
</dependency>
<dependency>
Expand All @@ -72,9 +71,9 @@
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.1</version>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>9.8.0-14</version>
</dependency>
</dependencies>
<build>
Expand Down
131 changes: 0 additions & 131 deletions src/main/java/eu/odp/harvest/geo/oai/Harvester.java

This file was deleted.

127 changes: 0 additions & 127 deletions src/main/java/eu/odp/harvest/geo/oai/HarvesterManager.java

This file was deleted.

44 changes: 0 additions & 44 deletions src/main/java/eu/odp/harvest/geo/oai/Harvesters.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package eu.odp.harvest.geo.oai;

import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.Processor;

public class JsonPackageRequestProcessor implements Processor {
@Override
public void process(Exchange exchange) throws Exception {
Message in = exchange.getIn();
String verb = in.getHeader("verb", String.class);
if ("ListRecords".equals(verb)) {

}
else if ("GetRecord".equals(verb)) {

}
else if ("ListIdentifiers".equals(verb)) {

}
else {
}
}
}
Loading

0 comments on commit 044f1e7

Please sign in to comment.