You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Turcsanyi (Jira)" <ji...@apache.org> on 2020/01/10 14:35:00 UTC

[jira] [Updated] (NIFI-7009) Deleted flow components should not be queried by Atlas reporting task

     [ https://issues.apache.org/jira/browse/NIFI-7009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Turcsanyi updated NIFI-7009:
----------------------------------
    Description: 
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.

  was:
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. So #2 and #3 can be swapped.


> 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
>
> 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)