Fedora Repository Storage Strategies Module

Provides store strategy hints based on policy evaluation.

License

License

GroupId

GroupId

org.fcrepo
ArtifactId

ArtifactId

fcrepo-storage-policy
Last Version

Last Version

4.0.0-beta-03
Release Date

Release Date

Type

Type

bundle
Description

Description

Fedora Repository Storage Strategies Module
Provides store strategy hints based on policy evaluation.
Project Organization

Project Organization

DuraSpace, Inc.

Download fcrepo-storage-policy

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework : spring-context jar 4.0.3.RELEASE
org.fcrepo : fcrepo-http-api jar 4.0.0-beta-03
org.apache.httpcomponents : httpclient jar 4.3.3

provided (2)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.0.1
javax : javaee-api jar 7.0

test (16)

Group / Artifact Type Version
javax.annotation : javax.annotation-api jar 1.2
junit : junit jar 4.11
com.sun.jersey.jersey-test-framework : jersey-test-framework-grizzly2 jar 1.17.1
com.sun.jersey : jersey-servlet jar 1.17.1
org.glassfish.jersey.containers : jersey-container-grizzly2-servlet jar 2.0
org.fcrepo : fcrepo-http-commons test-jar 4.0.0-beta-03
org.fcrepo : fcrepo-configs jar 4.0.0-beta-03
org.fcrepo : fcrepo-auth-common jar 4.0.0-beta-03
org.glassfish.grizzly : grizzly-http-server jar 2.3.6
org.glassfish.grizzly : grizzly-http-servlet jar 2.3.6
javax.mail : mail jar 1.4.4
com.sun.jersey : jersey-grizzly2 jar 1.17.1
org.springframework : spring-test jar 4.0.3.RELEASE
com.sun.jersey.contribs : jersey-spring jar 1.17.1
org.powermock : powermock-module-junit4 jar 1.5.5
org.powermock : powermock-api-mockito jar 1.5.5

Project Modules

There are no modules declared in this project.

PLEASE BE ADVISED

The main branch of Fedora contains the most current state of 6.0.0 development. It is nearing an alpha release and while not considered production ready, it is ready for community testing and feedback.

Updated: November 13, 2020


Build

JavaDocs | Fedora Wiki | Use cases | REST API |

Fedora is a robust, modular, open source repository system for the management and dissemination of digital content. It is especially suited for digital libraries and archives, both for access and preservation. It is also used to provide specialized access to very large and complex digital collections of historic and cultural materials as well as scientific data. Fedora has a worldwide installed user base that includes academic and cultural heritage organizations, universities, research institutions, university libraries, national libraries, and government agencies. The Fedora community is supported by the stewardship of the DuraSpace organization.

Technical goals:

  • Improved scalability and performance
  • More flexible storage options
  • Improved reporting and metrics
  • Improved durability

Downloads

The current web-deployable version of Fedora can be downloaded from the Duraspace website or from Github. These artifacts can be deployed directly in a Jetty or Tomcat container as described in the guide to deploying Fedora.

Contributing

Contributions to the Fedora project are always welcome. These may take the form of testing the application, clarifying documentation or writing code.

Code contributions will take the form of pull requests to this repository. They also require a signed contributor license agreement on file before a pull request can be merged. New developers may wish to review this guide as it explains both the process and standards for test coverage, style and documentation.

Getting help

There are two community mailing lists where you can post questions or raise topics for discussion. Everyone is welcome to subscribe and participate.

Many of the developers are available on the #fcrepo IRC channel, hosted by freenode.net.

In addition, there are weekly technical calls which anyone may join.

Building and running Fedora from source

System Requirements

  • Java 11
  • Maven 3.6.3
$ git clone https://github.com/fcrepo/fcrepo.git
$ cd fcrepo
$ MAVEN_OPTS="-Xmx1024m -XX:MaxMetaspaceSize=1024m" mvn install

The compiled Fedora war file can be found in ./fcrepo-webapp/target. This can be deployed directly to a servlet container as described in the deployment guide.

If deployed locally using a war file called fcrepo.war, the web application will typically be available at http://localhost:8080/fcrepo/rest.

There are two convenient methods for testing the Fedora application by launching it directly from the command line.

One option is to use the "one click" application, which comes with an embedded Jetty servlet. This can be optionally built by running:

mvn install -pl fcrepo-webapp -P one-click

and can be started by either double-clicking on the jar file or by running the following command:

java -jar ./fcrepo-webapp/target/fcrepo-webapp-<version>-jetty-console.jar

By default, a Fedora home directory, fcrepo, is created in the current directory. You can change the default location by passing in an argument when starting the one-click, e.g.:

java -Dfcrepo.home=/data/fedora-home -jar fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.jar

An alternative is use the maven command: mvn jetty:run

$ cd fcrepo-webapp
$ MAVEN_OPTS="-Xmx512m" mvn jetty:run

For both of these methods, your Fedora repository will be available at: http://localhost:8080/rest/

Note: You may need to set the $JAVA_HOME property, since Maven uses it to find the Java runtime to use, overriding your PATH. mvn --version will show which version of Java is being used by Maven, e.g.:

Java version: 1.8.0_31, vendor: Oracle Corporation
Java home: /usr/local/java-1.8.0_31/jre

To set your $JAVA_HOME environment variable:

export JAVA_HOME=/path/to/java

If you have problems building fcrepo with the above settings, you may need to also pass options to the JaCoCo code coverage plugin:

$ MAVEN_OPTS="-Xmx1024m" mvn -Djacoco.agent.it.arg="-XX:MaxMetaspaceSize=1024m -Xmx1024m" -Djacoco.agent.ut.arg="-XX:MaxMetaspaceSize=1024m -Xmx1024m"  clean install
org.fcrepo

Fedora Commons Repository 4

Versions

Version
4.0.0-beta-03
4.0.0-beta-02
4.0.0-beta-01
4.0.0-alpha-5
4.0.0-alpha-4
4.0.0-alpha-3
4.0.0-alpha-2
4.0.0-alpha-1