[ 
https://issues.apache.org/jira/browse/NIFI-13904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892603#comment-17892603
 ] 

ASF subversion and git services commented on NIFI-13904:
--------------------------------------------------------

Commit d1f4048b061b91f93856287c238682b364f74ed4 in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d1f4048b06 ]

NIFI-13904 Fixed CLI commands to set/remove parameter context inheritance 
(#9437)

Signed-off-by: David Handermann <[email protected]>

> Linking Parameter Contexts using NiFi Toolkit causes sensitive parameters to 
> become invalid
> -------------------------------------------------------------------------------------------
>
>                 Key: NIFI-13904
>                 URL: https://issues.apache.org/jira/browse/NIFI-13904
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M4
>            Reporter: Chris Sampson
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Linking Parameter Contexts using the NiFi Toolkit causes sensitive parameters 
> to become invalid in the dependent/parent Parameter Context.
> For example:
> * create-param-provider
> * fetch-params (including {{apply}})
> * create-param-context
> * set-param-value (including {{sensitive}} value params)
> * set-inherited-param-contexts (linking the PC from the Param Provider, to 
> the separately created PC)
> The {{sensitive}} params in the second PC will now be invlaid.
> This might be because the Toolkit [resets the parameters on the "parent" 
> PC|https://github.com/apache/nifi/blob/main/nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/nifi/params/SetInheritedParamContexts.java#L88],
>  which maybe doesn't correctly get/set the {{sensitive}} param values



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

Reply via email to