Details

    • Sprint:
      Sprint 2017 - 19

      Description

      This task is to resolve the issue of semantic differences in resources that have been:
      1. exported
      2. re-imported
      3. exported again

      For example, create the following resources:
      curl -i -XPUT locahost:8080/f4/rest/book
      curl -i -XPUT -d @image.jpeg -H"Content-Type: image/jpeg" locahost:8080/f4/rest/book/image

      1. Export to /data
      java -jar target/fcrepo-import-export-0.1.1-SNAPSHOT.jar -b -d data -m export -r http://localhost:8080/f4/rest/
      2. Stop, clear, start repo
      3. Import
      java -jar target/fcrepo-import-export-0.1.1-SNAPSHOT.jar -b -d data -m import -r http://localhost:8080/f4/rest/
      4. Export to /data2
      java -jar target/fcrepo-import-export-0.1.1-SNAPSHOT.jar -b -d data2 -m export -r http://localhost:8080/f4/rest/

      5. Compare the to data directories:
      diff -r data data2

      * See semantic differences:
      metadata.ttl:
      > rdf:type ldp:NonRDFSource ;

      book.ttl:
      > rdf:type ldp:RDFSource ;
      > rdf:type ldp:Container ;

      See: https://wiki.duraspace.org/display/FF/Sprint+3+Feedback+-+Joe+Atzberger

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                esc Esmé Cowles
                Reporter:
                atz Joe Atzberger
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: