Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OAI-PMH provider
branch: master
Failed to load latest commit information.
src Added support for records explicitly marked as version 3.1.
.gitignore Commiting multiple updates for issues.
LICENSE Adding files.
NOTICE Adding files.
README.md
pom.xml first implementation of queries in set names (see #31)

README.md

Overview

This is the OAI-PMH Data Provider (OAIP) application for the DataCite central infrastructure. This app is a servlet with the main functionality of disseminating the contents of the DataCite Metadata Store using OAI-PMH.

To learn more about DataCite please visit our website

To use this service please go to http://oai.datacite.org

Installation (for development only)

Tools

You will need Maven 2.2.1 and JDK 6 in your system (OpenJDK from Ubuntu works fine).

Solr setup

This application is configured to connect to a Solr instance for all searching and record retrieval.

Java dependencies

All dependencies are managed by Maven public repositories.

Configure the source code

I assume you had created a fork from the master DataCite OAIP project. Now you need to configure the code before compiling.

The git repository has a bunch of *.template files. You can find them with:

find . -name *.template

Those files are templates for the various configuration files which are machine specific i.e. logging, database credentials etc.

To customise them you need to make a copy omitting (.template from file name) e.g.:

cp src/main/resources/log4j.xml.template \
 src/main/resources/log4j.xml

Now in the created file you need to adjust values according to your local environment.

src/main/resources/database.properties

your database(Solr) configuration.

src/main/resources/log4j.properties

your usual log4j stuff.

Running locally

First run

At this stage you should be able to run the application.

mvn compile tomcat:run

Point your browser at http://localhost:8080/oaip/

You should see the welcome page of the DataCite OAI-PMH Data Provider.

That's all!

Now you can run test OAI-PMH requests against the application.

Something went wrong with that request. Please try again.