Pierre Villard created NIFI-13990:
-------------------------------------

             Summary: CLI - pg-enable-services will fail if parent PG has 
disabled CS
                 Key: NIFI-13990
                 URL: https://issues.apache.org/jira/browse/NIFI-13990
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Pierre Villard
            Assignee: Pierre Villard


Scenario:
 * root process group
 ** has a disabled controller service
 ** has a process group PG1
 * PG1
 ** has multiple controller services

If using pg-enable-services on PG1, it will always fail because it'll check the 
listed controller services at PG1 level which also includes controller services 
from parent process groups although the request to enable controller services 
will not enable controller services in parent process groups.

When checking controller service states, it should filter the list of 
controller services with the ones defined at the level of the specified process 
group.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to