Eric Secules created NIFI-7489:
----------------------------------

             Summary: resolveInheritedControllerServices doesn't connect all 
controller services
                 Key: NIFI-7489
                 URL: https://issues.apache.org/jira/browse/NIFI-7489
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework, Flow Versioning
    Affects Versions: 1.11.4
         Environment: Official NiFi Docker Container
            Reporter: Eric Secules
         Attachments: externalServiceReference_Issue.xml

h1. Description

When I download versioned flows from NiFi Registry, sometimes it does not 
connect processors to controller services even though one exists in scope and 
it has the same name as the one it was originally connected to.
h1. Expected Behaviour

NiFi downloads versioned process groups and connects external controller 
services correctly provided that a compatible controller service is available 
and has the same name.
h1. Actual Behaviour

NiFi downloads versioned flows but does not connect all external controller 
services.
h1. Steps to reproduce:
 * Upload the attached template to your NiFi
 * Create the necessary Controller Services at the Root process group and 
manually connect them to the two processors here.
 ** DistributedMapCacheClientService
 ** AzureStorageCredentialsControllerService
 ** DistributedMapCacheServer
 * Start version control on "Inner Versioned Flow"
 * Start version control on "Outer Versioned Flow"
 * Clear Canvas
 * Delete and Recreate the Controller Services
 ** DistributedMapCacheClientService
 ** AzureStorageCredentialsControllerService
 ** DistributedMapCacheServer
 * Import "Outer Versioned Flow" from your registry


 You should observe that one processor in Inner Versioned Flow is invalid 
because it wasn't connected to an existing controller service and that the 
other processor is valid because by coincidence it shares the same dependency 
on an external controller service as the Outer Versioned Flow



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

Reply via email to