Amherst College Repository Services
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 URIacrepo-idiomatic-pgsql
: Id Mapping Service Database: This exposes a Postgres datastore for use with the Id Mapping serviceacrepo-jsonld-cache
: This service exposes an HTTP endpoint for creating compact JSON-LD documents from a fedora repository using a pluggable context documentacrepo-jsonld-service
: This service creates expanded or compact JSON-LD representations of input documentsacrepo-mint-service
: This mints random (public) URIs for use with fedora resourcesacrepo-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/