open.nrw-fassaden (Version: 2.1.0)

Facades for open.nrw: Provide CKAN data to the catalog service of the Geoportal and vice versa.

Overview
Requirements
Building with Apache Maven
  1. cd to the root folder of this project (the folder that contains the pom.xml and this readme)

  2. from the command line run

     > mvn clean package
    
Deployment

Use your preferred method to deploy the webapp in Tomcat, e.g.:

Configuration

Logging can be configured with the log4j framework (see http://logging.apache.org/log4j/1.2/). By default a logfile is created here: tomcat/logs/open-nrw-ci-fassaden.log.

If you build with the env-dev profile, you can set your parameters during build, by including a build.poperties file in the modile base directory. Please check the pom.xml to see how parameters are set. The parameters can be changed after deployment in the file camel-oai-pmh.properties. The available parameters are:

Usage

OAI-PMH

Each Facades is exposed by a distinct HTTP endpoint. The endpoints are reached with this URL pattern:

    <tomcat-base-url><webapp-path>/omdf/<harvester>?<verb=operation>&<OPTIONAL argument>

So for example if tomcat-base-url is "http://localhost:8080", webapp-path is "/" and you have a harvester "gp-csw" for the Geoportal, you can reach it with this URL:

    http://localhost:8080/omdf/gp-csw

a harvester "gp-ckan" for the NRW open data portal:

    http://localhost:8080/omdf/gp-ckan

You can issue OAI-PMH requests to all of the available endpoints. All endpoints support the same set of operations.

Supported operations:

Operations arguments:

Further Reading