Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.9.2
-
None
-
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.