- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to update or add items to existing parameter context using CLI or toolkit ?
- Labels:
-
Apache NiFi
-
NiFi Registry
Created ‎05-22-2023 01:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Congratulations on solving your issue @SandyClouds and thank you for posting the solution in case it can assist others.
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
