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


Test Runs and Results

...

Date:

...

2022-

...

05-

...

31

Fedora commit: RC-2879f528f473f6c35a528eeea3d6b427623ab3d82
Test suite commit: 5eca0de34c162205d66913b1979967d487619018

Who: Danny Bernstein Jared Whiklo 

Results:

No Format
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 1, Skips: 28
===============================================

Details: testsuite-execution-report-2022-05-31.html


Date: 2021-06-28

Fedora commit: RC-2
Test suite commit:5eca0de34c162205d66913b1979967d487619018

Who: Danny Bernstein 

Expand

Execution

  1. Start Fedora
    1. Using "mvn jetty:run"

      No Format
      mvn jetty:run -Dfcrepo.home=target/ -Dfcrepo.auth.webac.userAgent.baseUri=
Expand

Execution

  1. Start Fedora

    Using "mvn jetty:run"

    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
    Run tests
    1. No Format
      java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yml
      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: -Dfcrepo.auth.webac.groupAgent.baseUri=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-RC-2

Date: 2022-05-31

Fedora commit: 879f528f473f6c35a528eeea3d6b427623ab3d82
Test suite commit: 5eca0de34c162205d66913b1979967d487619018

Who: Jared Whiklo 

Results:

No Format
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 1, Skips: 28
===============================================

...

    1.   -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt  -Dfcrepo.cache.webac.acl.timeout.minutes=0 -pl fcrepo-webapp


  1. 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-RC-2


Results

Summary:

No Format
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 1, Skips: 28
===============================================

...