Matt Gilman created NIP-12:
------------------------------
Summary: Clear Component Bulletins
Key: NIP-12
URL: https://issues.apache.org/jira/browse/NIP-12
Project: NiFi Improvement Proposal
Issue Type: New Feature
Reporter: Matt Gilman
Assignee: Matt Gilman
As a NiFi user, it may be helpful to clear bulletins for a given component. For
components, only the 5 most recent bulletins are stored for up to 5 minutes.
When a bulletin occurs user will often need to adjust the configuration of the
source component. After applying the changes and re-running the component, it's
often unclear whether the bulletins are new or still present from the previous
executions.
In this effort, we want to expose an action in the NiFi UI that allows the user
to explicitly clear the bulletins for the component. The request would include
the current timestamp which will delete all bulletins for that component that
are older than the specified timestamp.
In order to clear bulletins the user must have write permissions to the
component in question. If the component is a Process Group, a user with access
to the `flow` resource will be allowed to submit the request. The node that
receives the request will traverse the components within the specified Process
Group and identify all components the current user has write permissions to.
This selection will be used in a replicated request across the cluster to
ensure that all nodes attempt to work on the same selection of components.
Expected changes:
- API: New methods in the BulletinRepository for clearing bulletins for a
single component and clearing bulletins for a selection of components
- Framework: New endpoints to support clearing bulletins for components that
call down into the BulletinRepository
- UI: New actions for components that invoke the new endpoints
--
This message was sent by Atlassian Jira
(v8.20.10#820010)