Created 05-22-2023 01:28 AM
I am using Nifi parameter context to avoid hardcoding multiple variables.
I used toolkit to create parameter context and used params inside my flow.
Now I want to update some values of this existing parameter context.. 1. to update some values or 2. to add new parameters.
I could not find a way using toolkit in the documentation.
I see an answer here https://community.cloudera.com/t5/Support-Questions/Update-parameter-contexts-dynamically-using-REST... But i am looking for any solution based on toolkit or other easier approach, so that it can be easily handled while deployments to next environments or while updating it in production environments.
Please help me with your approach or suggestions.
Created 05-22-2023 02:38 AM
a bit research helped to find out the way from Nifi toolkit documentations
$ nifi set-param -pcid abc -pn <name> -pv <value> -ps <true/false for senstivity>
and it automatically refreshed/bought-in the updated values in UI.
Created 05-22-2023 02:38 AM
a bit research helped to find out the way from Nifi toolkit documentations
$ nifi set-param -pcid abc -pn <name> -pv <value> -ps <true/false for senstivity>
and it automatically refreshed/bought-in the updated values in UI.
Created 05-22-2023 06:40 AM
Congratulations on solving your issue @SandyClouds and thank you for posting the solution in case it can assist others.