Versions Compared

Key

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

...

ProjectCommandPlatformTested ByRC 1RC 2Notes
fcrepo4mvn clean install

linux

(tick)

(tick)




(tick)

 Build successfully in Ubuntu Server 16.04 LTS (HVM)


Build successful on Fedora Linux 27; openjdk version "1.8.0_191"; Maven 3.5.0 (Red Hat 3.5.0-6)

fcrepo4mvn clean install mac (tick)(tick)Build successfully
fcrepo4mvn clean installwindows


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

...

  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-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: 
        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-name: fedoraAdmin
        root-controller-user-password: secret3
        permissionless-user-webid: http://example.com/testuser
        permissionless-user-name: 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
Fedora Linux 27Randall Floyd

Total tests run: 220, Failures: 13, Skips: 16

If using recommended config-local.yml above, you must either copy src/main/resources/testng.xml to ./testng-local.xml, or remove testngxml directive to use provided default testng.xml file.








One-Click Run

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

...