bbende commented on code in PR #8726:
URL: https://github.com/apache/nifi/pull/8726#discussion_r1587892003


##########
nifi-extension-bundles/nifi-flow-registry-client-bundle/nifi-flow-registry-client-services/src/main/java/org/apache/nifi/registry/flow/NifiRegistryFlowRegistryClient.java:
##########
@@ -149,7 +149,7 @@ public boolean isStorageLocationApplicable(final 
FlowRegistryClientConfiguration
     }
 
     @Override
-    public Set<FlowRegistryBucket> getBuckets(final 
FlowRegistryClientConfigurationContext context) throws FlowRegistryException, 
IOException {
+    public Set<FlowRegistryBucket> getBuckets(final 
FlowRegistryClientConfigurationContext context, final String branch) throws 
FlowRegistryException, IOException {

Review Comment:
   I would say it is really up to the implementation to decide. We could have 
all the methods in NiFi registry check the incoming branch argument, and 
validate that it equals the same name as the default branch, but I don't think 
it is providing much value since none of the methods are using the branch.
   
   Can you clarify what you mean about `getFlowContents` ? I believe that 
method is unchanged in the NiFi Registry implementation.



-- 
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