Versions Compared

Key

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

...

  1. Download / 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
      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 \
          -Dfcrepo.cache.webac.acl.timeout.minutes=0 \ 
      	-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


...