You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2019/06/12 00:39:00 UTC
[jira] [Updated] (NIFI-6373) Bulk replay of provenance events
[ https://issues.apache.org/jira/browse/NIFI-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy LoPresto updated NIFI-6373:
--------------------------------
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.
was: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.
> Bulk replay of provenance events
> --------------------------------
>
> Key: NIFI-6373
> URL: https://issues.apache.org/jira/browse/NIFI-6373
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Affects Versions: 1.9.2
> Reporter: Andy LoPresto
> Priority: Major
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)