-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes for version 1.0.0, added support for dcat -> iso19139 harvesting
- Loading branch information
1 parent
56f54c6
commit 044f1e7
Showing
21 changed files
with
795 additions
and
819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
127 changes: 0 additions & 127 deletions
127
src/main/java/eu/odp/harvest/geo/oai/HarvesterManager.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
src/main/java/eu/odp/harvest/geo/oai/JsonPackageRequestProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { | ||
} | ||
} | ||
} |
Oops, something went wrong.