This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 75bcf0928a NIFI-14625 Remove lookup of registry client node when 
mapping version control info
75bcf0928a is described below

commit 75bcf0928ad27419ed3e85488d794432429e44ce
Author: Bryan Bende <[email protected]>
AuthorDate: Wed Jun 4 15:45:07 2025 -0400

    NIFI-14625 Remove lookup of registry client node when mapping version 
control info
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #9988.
---
 .../apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java    | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java
 
b/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java
index 25a480f23b..59a5d149a7 100644
--- 
a/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java
+++ 
b/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java
@@ -181,11 +181,6 @@ public class NiFiRegistryFlowMapper {
 
         final VersionedFlowCoordinates coordinates = new 
VersionedFlowCoordinates();
         final String registryId = versionControlInfo.getRegistryIdentifier();
-        final FlowRegistryClientNode registry = 
flowManager.getFlowRegistryClient(registryId);
-        if (registry == null) {
-            throw new IllegalStateException("Process Group refers to a Flow 
Registry with ID " + registryId + " but no Flow Registry exists with that ID. 
Cannot resolve to a URL.");
-        }
-
         if (flowMappingOptions.isMapFlowRegistryClientId()) {
             coordinates.setRegistryId(registryId);
         }

Reply via email to