Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6373

Bulk replay of provenance events

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.2
    • None
    • Core Framework
    • None

    Description

      There is a feature request to bulk replay provenance events. Currently, the UI and API allow for only single events to replayed via the POST /provenance-events API. I propose allowing for a JSON request which specifies a list of provenance event IDs, or allows for a range of values (i.e. event IDs 123 < x < 456; startDate > 01/01/19 && endDate < 01/02/19; componentID == 'abcd-efgh...' && eventType == 'ATTRIBUTES_MODIFIED'; etc.) and replays all provenance events which match, and returns a response containing the IDs of each event that was replayed.

      Currently this is accomplished by writing custom scripts to interact with the API and query POST /provenance to perform a search and then iterate over each returned event and replay it individually.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alopresto Andy LoPresto
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: