[
https://issues.apache.org/jira/browse/NIFIREG-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634242#comment-16634242
]
Randy Thomasson commented on NIFIREG-182:
-----------------------------------------
To me, this is more than a minor annoyance.
As a developer, I would expect to be able to exercise the full lifecycle of a
flow version including:
* Creating a flow version (currently supported in both the NiFi UI and the
Registry REST API)
* Retrieving a flow version (currently supported in both the NiFi UI and the
Registry REST API)
* Deleting a flow version (currently not supported)
The current workarounds for dealing with this as outlined by Fredrik in
original post leave a lot to be desired.
My general expectation would be that any API that allows me to create something
would make provision for deleting the same.
> Add a way to move on from reverted versions
> -------------------------------------------
>
> Key: NIFIREG-182
> URL: https://issues.apache.org/jira/browse/NIFIREG-182
> Project: NiFi Registry
> Issue Type: New Feature
> Affects Versions: 0.2.0
> Environment: NiFi 1.7.0, NiFi Registry 0.2.0
> Reporter: Fredrik Skolmli
> Priority: Minor
>
> Quote from {{nifi-users thread "Registry - deleting versions of flow}}".
> {quote}I'm not sure if my workflow needs to change using NiFi + NiFi
> Registry, or if this is a bug or corner-case.
>
> I do the following:
> 1) Create a new process group, make the initial flow and start version
> control (ver 1)
> 2) Modify the workflow and commit (ver 2)
> 3) Realize the most recent change was defective, and reverts (back to ver 1)
> 4) Make some new changes
>
> I'm now stuck with NiFi telling me "Local changes have been made and a newer
> version of the flow is available".
>
> There are two options as I see it:
>
> 1) The need for the ability to delete version 2, enabling me to commit my
> local changes.
> 2) The ability to commit a new version 3, which is a child of version 1.
>
> As of now (running NiFI 1.7 and Registry 0.2), my only options are to either
> revert my local changes or stop version control. My current workaround is
> unfortunately to stop version control, delete the entire flow using the
> Registry UI and start over again.
> Thoughts?
> {quote}
>
> Creating Jira ticket as suggested by [~bende] to track
> development/ideas/thoughts.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)