Versions Compared

Key

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

...

ProjectCommandPlatformTested ByRC 1RC 2Notes
fcrepo4mvn clean install

linux

(tick)

(tick)


 Build successfully in Ubuntu Server 16.04 LTS (HVM)
fcrepo4mvn clean install mac (tick)
Build successfully
fcrepo4mvn clean installwindows


Does not compile on Windows 10 https://gist.github.com/robyj/ac6de53305cf8e903cf63268ad736a9b

Note (18 January 2018): The victims database warnings are due to the victi.ms site currently returning a 503 error. Jared Whiklo has reported this issue upstream: https://github.com/victims/victims-web/issues/155

API-Test Suite

  1. Start Fedora with the following command

    Code Block
    mvn jetty:run -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/ -pl fcrepo-webapp/


  2. Run the API-Test suite with the following command

    Code Block
    java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yml


    1. Where "config-local.yml" is something like the following

      No Format
      default:
        rooturl: http://localhost:8080/rest/
        root-controller-user-webid: http://example.com/fedoraAdmin
        root-controller-user-password: fedoraAdmin
        permissionless-user-webid: http://example.com/testuser
        permissionless-user-password: testpass
        broker-url: tcp://127.0.0.1:61616
        topic-name: fedora
        queue-name: 
        testngxml: testng-local.xml
        implementation-name: Fedora
        implementation-version: 5.0.0-RC
      tomcat:
        rooturl: http://localhost:8080/fcrepo/rest/
        root-controller-user-webid: http://example.com/fedoraAdmin
        root-controller-user-password: secret3
        permissionless-user-webid: http://example.com/testuser
        permissionless-user-password: password1
        broker-url: tcp://127.0.0.1:61616
        topic-name: fedora
        queue-name: 
        testngxml: testng-local.xml
        implementation-name: Fedora
        implementation-version: 5.0.0-RC


PlatformTested byResults RC-2 (#pass,fail,skip)Notes












One-Click Run

cd fcrepo-webapp; mvn clean install -Pone-click

...

  1. Create nested containers
  2. Create binary resources
  3. Run fixity on binary
  4. Update Properties:  Perform SPARQL-Update on container
  5. Update Properties:  Perform SPARQL-Update on binary
  6. Delete container
  7. Delete binary
  8. Use transactions
  9. Create versions
  10. View versions

WebAC Tests

Use the following recipes to create WebAC-protected resources

Default ACL

  1. Create resource
  2. Verify expected access privileges based on default (root) ACL
PlatformTested bySuccess? RC-2Notes













Simple read-only

  1. Create resource to protect
  2. Create ACL on protected resource (read-only)
  3. Create child of protected resource
  4. Verify expected access privileges on target and child
PlatformTested bySuccess? RC-2Notes













Simple read-write

  1. Create resource to protect
  2. Create ACL on protected resource (read/write)
  3. Create child of protected resource
  4. Verify expected access privileges on target and child
PlatformTested bySuccess? RC-2Notes













External Content

Create and verify all three modes of external content handling: proxy, redirect, copy

Handling (proxy,redirect,copy)PlatformTested bySuccess? RC-2Notes















Database Tests

With Tomcat8 deployment, run above manual tests with alternate backend databases (Configuring JDBC Object Store)

...