Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

OAI Bridge that allows DSpace to harvest multiple collections/communities to a single internal collection or simply expose multiple servers (remote or local) and sets as a single context

License

luskaner/oai-bridge

Repository files navigation

OAIBridge

Build Status

OAI Bridge that allows DSpace to harvest multiple collections/communities to a single internal collection or simply expose multiple servers (remote or local) and sets as a single context.

Requirements

Release

  • Python 3.6+ with the following packages:
    • Flask 1+
      • flask_caching
    • lxml
    • requests
    • yaml
  • WGSI server

Note: Python packages can be installed with pip3 install -r requirements.txt

Testing (in addition, except the WGSI server)

Install them with pip3 install -r requirements.test.txt

  • flask_testing
  • Sickle
  • timeout_decorator

Configuration

  1. Rename configuration.template.yaml to configuration.yaml.
  2. Modify configuration.yaml as per the file instructions.

Note: Run in production with your choosen WGSI server or in debug mode with Flask instructions.

Tests

The tests compare the results between the direct OAI responses and this bridge using Sickle.

  • TestStaticListRecords: Does a test with a curated list of servers with various parameters.
  • TestDynamicListRecords: Same as before but with randoms servers from http://www.openarchives.org/pmh/registry/ListFriends and random configuration. Note: this test is very prone to fail.

Note: This tests might fail due to a timeout specified.

Running

Run the tests following the official python documentation.

About

OAI Bridge that allows DSpace to harvest multiple collections/communities to a single internal collection or simply expose multiple servers (remote or local) and sets as a single context

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages