You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2025/10/18 18:39:00 UTC
[jira] [Created] (NIP-13) Support branch creation in registry clients
Pierre Villard created NIP-13:
---------------------------------
Summary: Support branch creation in registry clients
Key: NIP-13
URL: https://issues.apache.org/jira/browse/NIP-13
Project: NiFi Improvement Proposal
Issue Type: New Feature
Reporter: Pierre Villard
The goal is, for registry clients that support the branching capability, to support (if the new interface method is implemented) the possibility to create a branch directly from the NiFi UI from a versioned process group that would have local changes.
The goal is to give the option for a user to easily make changes to a versioned process group and, if desired, to create a branch and commit the changes to that new branch. This would improve the user experience when a user wants to submit changes through a pull request against the original branch of the versioned flow.
The NiFi API change would be to extend the public FlowRegistryClient API with a default *createBranch(FlowRegistryClientConfigurationContext, FlowLocation, String)* method that throws *UnsupportedOperationException* unless overridden.
In terms of UX, two options may be considered:
* when committing local changes, offer a checkbox in the "commit local changes" view to create a new branch and have the user provide a name for the new branch
* or have a new submenu in the version control menu to create a new branch and have the versioned flow coordinates updated to use that new branch, the user would still have to commit the local changes
The first option requires less user interactions but might be less intuitive.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)