You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "George Knaggs (Jira)" <ji...@apache.org> on 2020/11/06 22:09:00 UTC
[jira] [Comment Edited] (NIFI-6633) Allow user to copy a parameter
context
[ https://issues.apache.org/jira/browse/NIFI-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227634#comment-17227634 ]
George Knaggs edited comment on NIFI-6633 at 11/6/20, 10:08 PM:
----------------------------------------------------------------
Please add this feature, preferable in a point release and not in a too distant future. This is painful experience. I have flows that I re-use for different data sources/targets, which I previously used variables to configure. When I copied the process group, the variables would copy and I could then change them as needed. Now, I have updated then to use parameters, which I find more useful especially for sensitive values and for processor/controller properties that do not support Expression Language. Unfortunately, now that the parameter context is separate from the process group, I have to manually create a copy of the parameter context, which has 56 parameters.
You could add a copy/paste function to the NiFi Parameter Contexts window, add a 'Save As' to the Update Parameter Context window, or have an export/import feature allowing you to save/load the parameters to disk, possibly in a json format.
Note, I would expect a copy/export feature would copy all parameter values, with the exception for any sensitive parameters.
BTW, I found mentioned in related feature proposal this copy feature, "When creating a new Parameter Context, the user should be given ability to create a new, empty Context or copy an existing Context that they have READ permissions to. This makes it far easier to design a flow, then deploy several instances of the flow, in which each instance has mostly the same parameters but slightly different." See https://cwiki.apache.org/confluence/display/NIFI/Better+Support+for+Parameterizing+Flows
was (Author: jorjnagz):
Please add this feature, preferable in a point release and not in a too distant future. This is painful experience. I have flows that I re-use for different data sources/targets, which I previously used variables to configure. When I copied the process group, the variables would copy and I could then change them as needed. Now, I have updated then to use parameters, which I find more useful especially for sensitive values and for processor/controller properties that do not support Expression Language. Unfortunately, now that the parameter context is separate from the process group, I have to manually create a copy of the parameter context, which has 56 parameters.
You could add a copy/paste function to the NiFi Parameter Contexts window, add a 'Save As' to the Update Parameter Context window, or have an export/import feature allowing you to save/load the parameters to disk, possibly in a json format.
Note, I would expect a copy/export feature would copy all parameter values, with the exception for any sensitive parameters.
> Allow user to copy a parameter context
> --------------------------------------
>
> Key: NIFI-6633
> URL: https://issues.apache.org/jira/browse/NIFI-6633
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core UI
> Reporter: Rob Fellows
> Priority: Major
>
> It would be nice to be able to copy/duplicate an existing parameter context.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)