Peter Turcsanyi created NIFI-6798:
-------------------------------------

             Summary: Validate Controller Services referenced via dynamic 
properties
                 Key: NIFI-6798
                 URL: https://issues.apache.org/jira/browse/NIFI-6798
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Peter Turcsanyi


If a Controller Service referenced by another component is disabled, then the 
referencing component should be in invalid state.

It works fine for statically referenced Controller Services (configured via 
static properties of the processor / another service), but it seems the 
framework does not check it for dynamically configured services.

The validator method can be found here:

[https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/AbstractComponentNode.java#L679]

Components that have Controller Service references configured via dynamic 
properties:
 * DBCPConnectionPoolLookup
 * AzureStorageCredentialsControllerServiceLookup
 * (there might be others, needs to be checked)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to