...
Instructions
- Download / Install Fedora
Deploying Fedora - Complete Guide
- The following system properties are important to include when starting up a Fedora that will be the target of the Fedora API Test Suite:
- -Dfcrepo.home=<some_directory>
- -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
- 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 \
-pl fcrepo-webapp |
- Run tests
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: 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: 2020-05-05
Commit: ?
Who: awoods
Expand |
---|
|
Execution- Start Fedora
No Format |
---|
java -Dfcrepo.log=DEBUG -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/ -jar fcrepo-webapp/target/fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.jar --headless |
- Run tests
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: 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 |
|
Results
Summary
No Format |
---|
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 74, Skips: 24
=============================================== |
Details testsuite-execution-report.html
Date: 2020-05-27
Commit: df2982c01
Who: dbernstein
Expand |
---|
|
Execution- Start Fedora
No Format |
---|
mvn jetty:run -Dfcrepo.ocfl.staging.dir=target/fcrepo-data/staging -Dfcrepo.ocfl.storage.root.dir=target/fcrepo-data/ocfl-root \
-Dfcrepo.ocfl.work.dir=target/fcrepo-data/work -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 |
- Run tests
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: 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 |
No Format |
---|
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 61, Skips: 25
===============================================
testsuite-execution-report.html |
|
Results
Summary:
No Format |
---|
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 61, Skips: 25
=============================================== |
Details: testsuite-execution-report-2020-05-27-1250.html
Date: 2020-06-12
Commit: bd01b67
Who: whikloj
Expand |
---|
|
Execution- Start Fedora
No Format |
---|
mvn -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/ -Dfcrepo.ocfl.staging.dir=/Users/whikloj/www/fcrepo4/ocfl_temp/staging -Dfcrepo.ocfl.storage.root.dir=/Users/whikloj/www/fcrepo4/ocfl_temp/storage_root -Dfcrepo.ocfl.work.dir=/Users/whikloj/www/fcrepo4/ocfl_temp/work jetty:run -pl fcrepo-webapp |
- Run tests
No Format |
---|
java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yaml |
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 |
|
Results
Summary:
No Format |
---|
===============================================
Fedora API Specification Test Suite
Total tests run: 241, Failures: 47, Skips: 25
=============================================== |
...