markap14 commented on code in PR #6433:
URL: https://github.com/apache/nifi/pull/6433#discussion_r975558630


##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/registry/flow/mapping/NiFiRegistryFlowMapper.java:
##########
@@ -185,6 +186,11 @@ public InstantiatedVersionedProcessGroup 
mapProcessGroup(final ProcessGroup grou
         });
     }
 
+    // This is specific for the {@code NifiRegistryFlowRegistryClient}
+    private String getRegistryUrl(final FlowRegistryClientNode registry) {
+        return 
registry.getComponentType().equals("org.apache.nifi.registry.flow.NifiRegistryFlowRegistryClient")
 ? registry.getRawPropertyValue(registry.getPropertyDescriptor("URL")) : "";

Review Comment:
   Might be worth leaving a comment in the code here that we do this purely for 
backward compatibility purposes. Otherwise, we'll be scratching our heads at 
this later :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to