fcrepo 4.x sequencer to process archive files

fedora 4.x sequencer to process archive files

License

License

GroupId

GroupId

org.fcrepo
ArtifactId

ArtifactId

fcrepo-sequencer-archives
Last Version

Last Version

4.0.0-alpha-1
Release Date

Release Date

Type

Type

bundle
Description

Description

fcrepo 4.x sequencer to process archive files
fedora 4.x sequencer to process archive files
Project Organization

Project Organization

DuraSpace, Inc.
Source Code Management

Source Code Management

https://github.com/futures/fcrepo-sequencer-archives

Download fcrepo-sequencer-archives

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.5
org.apache.commons : commons-compress jar 1.5

provided (3)

Group / Artifact Type Version
org.fcrepo : fcrepo-kernel jar 4.0.0-alpha-1
org.fcrepo : fcrepo-serialization jar 4.0.0-alpha-1
javax : javaee-api jar 6.0

test (10)

Group / Artifact Type Version
junit : junit jar 4.11
com.sun.jersey : jersey-grizzly2 jar 1.17.1
com.sun.jersey : jersey-grizzly2-servlet jar 1.17.1
com.sun.jersey.contribs : jersey-spring jar 1.17.1
org.fcrepo : fcrepo-http-commons test-jar 4.0.0-alpha-1
org.springframework : spring-test jar 3.2.3.RELEASE
ch.qos.logback : logback-classic jar 1.0.13
org.apache.httpcomponents : httpclient jar 4.2.5
org.powermock : powermock-module-junit4 jar 1.5.1
org.powermock : powermock-api-mockito jar 1.5.1

Project Modules

There are no modules declared in this project.

fcrepo-sequencer-archives

Modeshape sequencer to process large tar/zip archive files. Initial proof-of-concept implementation extracts table of contents and stores as a separate textfile datastream.

Configuration

To add this sequencer to a webapp such as kitchen-sink:

  1. Build fcrepo-sequencer-archives and install it in your local Maven repository:

    $ mvn install
  2. In the webapp project, add a dependency to pom.xml:

    <dependency>
      <groupId>org.fcrepo</groupId>
      <artifactId>fcrepo-sequencer-archive</artifactId>
      <version>${project.version}</version>
    </dependency>
  3. And add a sequencing block to repository.json:

    "sequencing" : {
      "removeDerivedContentWithOriginal" : true,
      "sequencers" : {
        "ArchiveSequencer" : {
          "classname" : "org.fcrepo.sequencer.archive.ArchiveSequencer",
          "pathExpressions":["fedora://(*.zip)/jcr:content[@jcr:data] => ." ],
          "endpoint" : "http://localhost:8000"
        }
      }
    }, 
org.fcrepo

Fedora Futures

Versions

Version
4.0.0-alpha-1