The Fedora OAI Provider Service is part of the Fedora Service Framework and offers a vast improvement over the previous, simple OAI provider that Fedora used in previous versions. The new provider is based on Proai, an open source caching, polling OAI provider. It has the following features:
NEW FEATURES: This release of the OAI Provider incorportates the following new features:
To install the service:
The source distribution of the OAI Provider Service includes several test Fedora objects. You can use these objects and the default proai.properties configuration file to quickly get an idea for how the service works.
proai.properties configuration file, but
making sure that the following properties are set according to your own
Fedora installation:
Upon starting, the service will poll Fedora for objects that provide oai record content and have changed since its last update. It will find the objects you just ingested, request appropriate disseminations of each, and save them in its cache. Once it has successfully completed a cache update cycle, you should be able to hit the front-end (where you installed the service) with OAI-PMH verbs. Here are a couple examples:
http://localhost/oaiprovider/?verb=Identify
http://localhost/oaiprovider/?verb=ListRecords&metadataPrefix=oai_dc
Now try using fedora-admin to edit one of the datastreams of one of the demo objects you just ingested. The next time the oaiprovider service polls Fedora for modified records, it should pick up this change and make it available via the front-end.
Note that the poll frequency is ten minutes by default -- this can
be configured to be more or less frequent by changing the
proai.driverPollSeconds in the proai.properties
file.
Please consult the OAI Provider
Configuration Reference for a complete list of proai.properties
configuration options and what they do.
You should also take a look at the log4j.xml that
resides alongside the proai.properties file in
the webapp's WEB-INF/classes directory. This file
controls where log messages will be sent and how much detail they
will contain. When first setting up the OAI provider,
it is recommended that you keep the log level high (DEBUG for
most categories).