Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

One of the requirements for Fedora 6 is that it continues to implement the Fedora API Specification. Compliance with the specification is measured by the results of running the Fedora API Test Suite. The Earlier results of running the test suite results of Fedora 5 are published below:

Instructions

  1. Download /

...

  1. Install Fedora
    1. Deploying Fedora - Complete Guide

    2. The following system properties are important to include when starting up a Fedora that will be the target of the Fedora API Test Suite:
      1. -Dfcrepo.home=<some_directory>
      2. -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/
      3. -Dfcrepo.auth.webac.groupAgent.baseUri=http://example.com/
      4. -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt
    3. For example: command for starting Fedora from within the source code base:


      No Format

Leading up to the release of Fedora 6, we will be running the API Test Suite against the in-progress Fedora 6 to track progress.

Recommended Method for Running Tests:

  1. Start Fedora 
    1. No Format
      
      mvn jetty:run -Dfcrepo.home=target/ -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/ \
      	-Dfcrepo.auth.webac.groupAgent.baseUri=http://example.com/ \
      	-Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt \
      	-pl fcrepo-webapp


  2. Run tests

    1. No Format
      java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yml


    2. Where "config-local.yml" contains:

      No Format
      default:
        rooturl: http://localhost:8080/rest/
        root-controller-user-webid: http://example.com/fedoraAdmin
        root-controller-user-name: fedoraAdmin
        root-controller-user-password: fedoraAdmin
        permissionless-user-webid: http://example.com/testuser
        permissionless-user-name: testuser
        permissionless-user-password: testpass
        broker-url: tcp://127.0.0.1:61616
        topic-name: fedora
        queue-name: 
        implementation-name: Fedora
        implementation-version: 6.0.0


...