Commit 6a2dec01 authored by acoburn's avatar acoburn
Browse files

added README for mint service

parent 669a0055
Repository ID Minting Service
=============================
This module mints random IDs for use with a repository. The service implements
Fedora's `UniqueValueSupplier` from `fcrepo-kernel-api`. The service is used with
the `acrepo-idiomatic` service, but it can be replaced with any service that
implements the same interface, using `osgi.jndi.service.name=minter`.
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 ServiceMix](http://servicemix.apache.org/) or
[Apache Karaf](http://karaf.apache.org), you can run the following
command from its shell:
feature:repo-add mvn:edu.amherst.acdc/acrepo-karaf/LATEST/xml/features
feature:install acrepo-mint-service
Or by copying any of the compiled bundles into `$KARAF_HOME/deploy`.
Configuration
-------------
The application can be configured by creating the following configuration
file `$KARAF_HOME/etc/edu.amherst.acdc.mint.cfg`. The following values
are available for configuration:
Set the length of the newly minted ID field
minter.length=7
By editing this file, any currently running routes will be immediately redeployed
with the new values.
For more help see the Apache Camel documentation
http://camel.apache.org/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment