diff --git a/pom.xml b/pom.xml
index af0bda4..4d90d0a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
oai-pmh-geo-harvest
war
EU ODP Geo-Harvesting via OAI-PMH
- 0.9.0-SNAPSHOT
+ 1.0.0-SNAPSHOT
This is the web application of the harvest service
@@ -22,7 +22,7 @@
junit
junit
- 4.10
+ 4.12
test
@@ -60,10 +60,9 @@
camel-jaxb
${camel.version}
-
org.apache.camel
- camel-http4
+ camel-http
${camel.version}
@@ -72,9 +71,9 @@
${spring.version}
- xalan
- xalan
- 2.7.1
+ net.sf.saxon
+ Saxon-HE
+ 9.8.0-14
diff --git a/src/main/java/eu/odp/harvest/geo/oai/Harvester.java b/src/main/java/eu/odp/harvest/geo/oai/Harvester.java
deleted file mode 100644
index 5182dcf..0000000
--- a/src/main/java/eu/odp/harvest/geo/oai/Harvester.java
+++ /dev/null
@@ -1,131 +0,0 @@
-package eu.odp.harvest.geo.oai;
-
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- * Business class that represents a harvester and can be marshalled to XML.
- */
-@XmlRootElement
-@XmlType(propOrder={"id","endpoint","type","name","description","url","selective"})
-public class Harvester {
- String id;
- String endpoint;
- String type;
- String name;
- String description;
- String url;
- boolean selective;
-
- /**
- * Gets the ID.
- * @return id
- */
- public String getId() {
- return id;
- }
-
- /**
- * Sets the ID.
- * @param id id
- */
- public void setId(String id) {
- this.id = id;
- }
-
- /**
- * Gets the HTTP endpoint where this harvester is available.
- * @return enpoint URL
- */
- public String getEndpoint() {
- return endpoint;
- }
-
- /**
- * Sets the HTTP endpoint where this harvester is available.
- * @param endpoint endpoint URL
- */
- public void setEndpoint(String endpoint) {
- this.endpoint = endpoint;
- }
-
- /**
- * Gets the type of the harvester, e.g inspire.
- * @return type
- */
- public String getType() {
- return type;
- }
-
- /**
- * Sets the type of the harvester, e.g. inspire.
- * @param type type
- */
- public void setType(String type) {
- this.type = type;
- }
-
- /**
- * Gets the URL of the target catalog
- * @return URL of the target catalog
- */
- public String getUrl() {
- return url;
- }
-
- /**
- * Sets the URL of the target catalog.
- * @param url URL of the target catalog
- */
- public void setUrl(String url) {
- this.url = url;
- }
-
- /**
- * Gets the description.
- * @return description
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * Sets the description
- * @param description description
- */
- public void setDescription(String description) {
- this.description = description;
- }
-
- /**
- * Gets the name.
- * @return name
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the name
- * @param name name
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * Gets flag if the catalog supports selective harvesting.
- * @return true, if selective harvesting is supported
- */
- public boolean isSelective() {
- return selective;
- }
-
- /**
- * Sets flag if the catalog supports selective harvesting.
- * @param selective flag
- */
- public void setSelective(boolean selective) {
- this.selective = selective;
- }
-}
diff --git a/src/main/java/eu/odp/harvest/geo/oai/HarvesterManager.java b/src/main/java/eu/odp/harvest/geo/oai/HarvesterManager.java
deleted file mode 100644
index 6ced795..0000000
--- a/src/main/java/eu/odp/harvest/geo/oai/HarvesterManager.java
+++ /dev/null
@@ -1,127 +0,0 @@
-package eu.odp.harvest.geo.oai;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.Route;
-import org.apache.camel.model.ModelCamelContext;
-import org.apache.camel.model.RoutesDefinition;
-import org.apache.log4j.Logger;
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.io.*;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-/**
- * Management class for new harvesters.
- * This class provides methods to create a list of harvesters from a list of parameter maps and
- * to validate parameters for new or updated harvesters.
- */
-public class HarvesterManager implements CamelContextAware {
-
- // Logger
- private final static Logger LOG = Logger.getLogger(HarvesterManager.class);
-
- // Camel context to deploy harvester routes to
- private ModelCamelContext camelContext;
-
- // Regular expression that harvester IDs must match, can also be set via Spring config
- private String idRegex = "^[a-zA-Z0-9\\-]*$";
-
- private String harvesterBaseUrl;
-
- /**
- * Creates the list of harvesters from a list of parameter maps.
- * @param mapList list of parameter maps
- * @return harvesters
- */
- public Harvesters createHarvesters(List