Fedora Repository Minter Module

The Fedora Commons repository Minter module: Provides repository identifier and path services.

License

License

GroupId

GroupId

org.fcrepo
ArtifactId

ArtifactId

fcrepo-mint
Last Version

Last Version

4.7.5
Release Date

Release Date

Type

Type

bundle
Description

Description

Fedora Repository Minter Module
The Fedora Commons repository Minter module: Provides repository identifier and path services.
Project Organization

Project Organization

DuraSpace, Inc.
Source Code Management

Source Code Management

https://github.com/fcrepo4-exts/fcrepo-mint

Download fcrepo-mint

Dependencies

compile (5)

Group / Artifact Type Version
org.fcrepo : fcrepo-kernel-api jar 4.7.5
org.fcrepo : fcrepo-metrics jar 4.7.5
org.apache.httpcomponents : httpclient jar 4.5.3
org.apache.commons : commons-lang3 jar 3.5
io.dropwizard.metrics : metrics-annotation jar 3.1.2

runtime (1)

Group / Artifact Type Version
org.slf4j : jcl-over-slf4j jar 1.7.21

test (9)

Group / Artifact Type Version
org.springframework : spring-context jar 4.3.3.RELEASE
org.glassfish.hk2.external : javax.inject jar 2.3.0
org.glassfish.grizzly : grizzly-http-server jar 2.3.28
org.glassfish.grizzly : grizzly-http-servlet jar 2.3.28
org.glassfish.jersey.core : jersey-server jar 2.24
junit : junit jar 4.12
org.springframework : spring-test jar 4.3.3.RELEASE
ch.qos.logback : logback-classic jar 1.1.7
org.mockito : mockito-core jar 1.10.19

Project Modules

There are no modules declared in this project.

Fedora 4 URI minter module

Build Status

The fcrepo-mint module provides extension features to a Fedora 4 repository. In particular, it allows users to provide their own URI minting behavior. The default fedora4 minter creates hierarchical paths based on UUIDs, but this module allows repository administrators to override that behavior. This implements a configurable hierarchical minter as well as a connector to an external web service.

To use this module in the context of fcrepo-webapp-plus, an administrator would need to update the Spring configuration to inject this implementation.

For example (in ./spring/rest.xml):

<!-- Mints PIDs-->
<bean class="org.fcrepo.mint.UUIDPathMinter"
    c:length="${fcrepo.uuid.path.length:2}"
    c:count="${fcrepo.uuid.path.count:4}"/>

Alternately, to wire in an external minter available as a web service:

<!-- Mints PIDs using external REST service
<bean class="org.fcrepo.mint.HttpPidMinter"
    c:url="http://localhost/my/minter"
    c:method="POST"
    c:username="${fcrepo.minter.username:minterUser}"
    c:password="${fcrepo.minter.password:minterPass}"
    c:regex=""
    c:xpath="/response/ids/value"/>

Building fcrepo-mint

The fcrepo-mint module requires Maven 3 and Java 8. To build the module, issue the command:

mvn install
org.fcrepo

Fedora Commons Repository 4 - Extras

Non-core Fedora 4 projects that are actively used and supported

Versions

Version
4.7.5
4.7.4
4.7.3
4.7.2
4.7.1
4.7.0
4.6.2
4.6.1
4.6.0
4.5.1
4.5.0
4.4.0
4.3.0
4.2.0
4.1.1
4.1.0
4.0.0