/repository-extension-services

OSGi extension services for extending a Fedora4 Repository

Primary LanguageJavaApache License 2.0Apache-2.0

Amherst College Repository Services

Build Status

This is a collection of OSGi services that extend the functionality of a Fedora4 repository.

Services

  • acrepo-idiomatic: Id Mapping Service: This maps a public ID to a (internal and typically much longer) fedora URI
  • acrepo-idiomatic-pgsql: Id Mapping Service Database: This exposes a Postgres datastore for use with the Id Mapping service
  • acrepo-jsonld-cache: This service exposes an HTTP endpoint for creating compact JSON-LD documents from a fedora repository using a pluggable context document
  • acrepo-jsonld-service: This service creates expanded or compact JSON-LD representations of input documents
  • acrepo-mint-service: This mints random (public) URIs for use with fedora resources
  • acrepo-xml-metadata: This service translates Fedora RDF documents into MODS/XML or DC/XML

Building

To build this project use

mvn install

Deploying in OSGi

Each of these projects can be deployed in an OSGi container. For example using Apache Karaf version 4.x and above, you can run the following command from its shell:

feature:repo-add mvn:edu.amherst.acdc/acrepo-karaf/LATEST/xml/features
feature:install acrepo-idiomatic
feature:install acrepo-idiomatic-pgsql
feature:install acrepo-jsonld-cache
feature:install acrepo-jsonld-service
feature:install acrepo-mint-service
feature:install acrepo-xml-metadata

Or by copying any of the compiled bundles into $KARAF_HOME/deploy.

More information

For more information, please visit https://acdc.amherst.edu or https://acdc.amherst.edu/wiki/