Pierre Villard created NIFI-16338:
-------------------------------------

             Summary: Resolve ancestor controller service references during 
Connector component verification
                 Key: NIFI-16338
                 URL: https://issues.apache.org/jira/browse/NIFI-16338
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Pierre Villard
            Assignee: Pierre Villard


Connector component verification creates temporary contexts from versioned 
component properties. During this process, StandardComponentContextProvider 
translates versioned controller service identifiers to runtime instance 
identifiers.

The current implementation builds this mapping using 
ProcessGroup.findAllControllerServices(), which searches the current process 
group and its descendants. This does not match controller service visibility 
rules: a processor or controller service can reference services in its current 
process group or ancestor groups, but not descendant groups.

As a result, Connector verification can fail when a component in a nested 
process group references a controller service defined in a parent group. The 
versioned identifier remains unresolved and validation reports that it is not a 
valid controller service identifier.



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

Reply via email to