Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2852

Mementos return original resource URIs in Subjects: Is this a problem?

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Fedora 5.0.0
    • Fix Version/s: None
    • Component/s: versioning
    • Labels:

      Description

      Currently all subjects of the RDF returned by mementos reference the original resource rather than the memento.  For example: 

      curl http://localhost:8080/rest/test/fcr:versions/20180101120000 will return RDF with a subject of <http://localhost:8080/rest/test> .   

      Assuming that this behavior conforms to the Memento Spec,  consumers of Fedora events (such as the camel toolbox) may not be distinguishing new Memento resources from new non-memento resources.  If this is the case, those downstream processes may break.  For example,  a triple store indexer will add the memento-ized triples with the original resource subject. thus corrupting the representation of the original resource in the triple store.  

      Question: 

      1.  Are we implementing Memento correctly by using the original resource in the URI? 

      2.  What do we need to do, if anything, to make sure that downstream processes can distinguish memento related events from other non-memento resources? 

      As a note, clients can examine the headers of a resource in order to detail whether or not it is a Memento and can process or ignore it accordingly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dbernstein Danny Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: