Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.0
    • Fix Version/s: Fedora 4.6.0
    • Component/s: f4-messaging
    • Labels:
    • Roadmap Theme:
      SPI Specification
    • Sprint:
      Sprint 2015 - 14, Sprint 2015 - 15

      Description

      This task is to make the messaging around updated containers consistent in how the fcrepo-audit and fcrepo-audit-triplestore behave.

      There is filtering in fcrepo-audit that ignores updates to parent containers when a child resource is added:
      https://github.com/fcrepo4-exts/fcrepo-audit/blob/master/src/main/java/org/fcrepo/audit/InternalAuditor.java#L149-L153

      However, these messages are still omitted for general consumption. The fcrepo-audit-triplestore consumes the parent container messages and creates audit events for them.

      This ticket is to either move the logic out of InternalAuditor.java and into JMSTopicPublisher (or the like),
      https://github.com/fcrepo4/fcrepo4/blob/master/fcrepo-jms/src/main/java/org/fcrepo/jms/observer/JMSTopicPublisher.java
      ...or remove the filtering logic altogether.

      This behavior can be verified by spinning up fcrepo4-vagrant with the default configuration (Fedora and triplestore audit enabled), create a container and a child resource in Fedora. The Fedora audit will have two entries and Fuseki will have three.

        Attachments

          Activity

            People

            • Assignee:
              esc Esmé Cowles
              Reporter:
              awoods Andrew Woods
              Reviewer:
              Andrew Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: