Closed dbernstein closed 5 years ago
…is false.
Resolves: https://jira.duraspace.org/browse/FCREPO-3002
Start a fresh repo create a container resource1 and a nested binary
curl -X PUT -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest/container
Create a version
curl -X POST -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest/container/fcr:versions
Run the import export tool:
java -jar ~/code/fcrepo-import-export/target/fcrepo-import-export-0.4.0-SNAPSHOT.jar --mode export --predicates "http://www.w3.org/ns/ldp#contains" --resource "http://localhost:8080/rest" --versions --rdfLang "text/turtle" --dir export-dir
Start a fresh repo: stop report, remove fcrepo4-data and start the repo
Import the data with versions disabled.
java -jar ~/code/fcrepo-import-export/target/fcrepo-import-export-0.4.0-SNAPSHOT.jar --mode import --predicates "http://www.w3.org/ns/ldp#contains" --resource "http://localhost:8080/rest" --versions false --rdfLang "text/turtle" --dir export-dir
Verify the resources have been successfully imported and that there are no fcr:versions related warnings or error messages.
Repeat 4.
Import data with versions enabled
java -jar ~/code/fcrepo-import-export/target/fcrepo-import-export-0.4.0-SNAPSHOT.jar --mode import --predicates "http://www.w3.org/ns/ldp#contains" --resource "http://localhost:8080/rest" --versions --rdfLang "text/turtle" --dir export-dir
Verify the resources have been successfully imported and that there are fcr:versions related warnings or error messages.
NOTE: Version import is coming in a subsequent PR. Thus you should not expect versions to successfully import when the versions flag is set to true.
I'm going to include the resolution to this issue in the pr for fcrepo-2982
…is false.
Resolves: https://jira.duraspace.org/browse/FCREPO-3002
Start a fresh repo create a container resource1 and a nested binary
Create a version
Run the import export tool:
Start a fresh repo: stop report, remove fcrepo4-data and start the repo
Import the data with versions disabled.
Verify the resources have been successfully imported and that there are no fcr:versions related warnings or error messages.
Repeat 4.
Import data with versions enabled
Verify the resources have been successfully imported and that there are fcr:versions related warnings or error messages.
NOTE: Version import is coming in a subsequent PR. Thus you should not expect versions to successfully import when the versions flag is set to true.