Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure you have a suitable database installed (MySQL, PostgreSQL, Oracle, or McKoi) and a database user account that can create tables in the database.

Make sure your Fedora Repository is running with the Resource Index turned ON. This is necessary because the OAI provider periodically queries the resource index to discover which records of interest have changed.

  1. Deploy the oaiprovider.war file into your servlet container.
  2. Configure the OAI Provider as described in the Configuration section below.
  3. Re-start the Web application (this is often done by restarting the servlet container itself).

...

Upon starting, the Fedora OAI Provider service will poll the repository for objects that provide OAI record content and have changed since its last update. It will find the demonstration 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 call the oaiprovider client service interface with OAI-PMH verbs. Here are some examples (note that you may have to substitute the name of your host for localhost):

Panel

http://localhost/oaiprovider/?verb=IdentifyImage Added

httpIdentifyhttp://localhost/oaiprovider/?verb=ListRecords&metadataPrefix=oai_dcImage Added

Now try using the fedora-admin command line application to edit a Datastream in one of the demonstration objects you just ingested. The next time the OAI Provider service polls the repository for modified objects, it should pick up this change and make it available via the oaiprovider client service interface.

...