Gabriel Orstadius-Bui created NIFI-13752:
--------------------------------------------

             Summary: Getting Flows from Registry ignores specified Branch
                 Key: NIFI-13752
                 URL: https://issues.apache.org/jira/browse/NIFI-13752
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI, NiFi Registry
    Affects Versions: 2.0.0-M4
            Reporter: Gabriel Orstadius-Bui


In the dialog used when importing a Flow from a registry client that supports 
branches (GitHub), the Flows shown are always from the client's default branch, 
not from the chosen branch in the dialog.

Reviewing the PRs where the support for branches were added in the UI and 
Backend, it seems like the UI (correctly) sends a query parameter specifying 
the chosen branch in the getFlows method, but that the backend does not take 
this into consideration.

The Backend's API endpoint GET 
/flow/registries/\{registry-id}/buckets/\{bucket-id}/flows, should be updated 
to take the sent "branch" query parameter into consideration.

Related Tickets:

https://issues.apache.org/jira/browse/NIFI-13120
https://issues.apache.org/jira/browse/NIFI-13127

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to