[
https://issues.apache.org/jira/browse/NIFI-7009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Gilman updated NIFI-7009:
------------------------------
Fix Version/s: 1.11.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Deleted flow components should not be queried by Atlas reporting task
> ---------------------------------------------------------------------
>
> Key: NIFI-7009
> URL: https://issues.apache.org/jira/browse/NIFI-7009
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Fix For: 1.11.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The NiFi Atlas reporting task retrieves the flow and its components from
> Atlas at every execution of the task in the following way:
> # get flow
> # get each flow component
> # filter out deleted components
> #1 returns references to all the subcomponents of the flow, also to the
> deleted ones. It seems there is no way to parameterize the Atlas query to
> filter out the deleted item here.
> But the result of #1 already contains the status of the components, so the
> deleted items do not need to be queried in #2, then filter out in #3 only.
> #2 and #3 can be swapped, and only the active items need to be retrieved.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)