Hello,

There are no plans to allow an extension (processor/cs/reporting task)
to change parameter contexts.

The REST API can be used to automate these tasks and there are already
commands in NiFi CLI to help make this easier...

nifi set-param
nifi delete-param
nifi list-param-contexts
nifi get-param-context
nifi create-param-context
nifi delete-param-context
nifi merge-param-context
nifi import-param-context
nifi pg-get-param-context
nifi pg-set-param-context

Thanks,

Bryan

On Wed, Jan 27, 2021 at 9:17 AM Russell Bateman <[email protected]> wrote:
>
> Wait! Can't this be done using the ReST APIs?
>
> On 1/27/21 3:24 AM, [email protected] wrote:
> > Hello NiFi-Core-Team,
> >
> > Are you planning to create a high-level Java API for setting (and
> > clearing) individual parameters in the parameter context, so we can use
> > this API in processor development?
> >
> > Example:
> > setParameter(string contextName, string parameterName, string
> > parameterValue, boolean sensitive);
> > deleteParameter(string contextName, string parameterName);
> >
> > Some of our customers have systems with weekly changing parameter values
> > and/or access passphrase.
> > Apart from these nothing changes in the system and the changes can be
> > automated with self written processor.
> >
> > Best regards,
> > Kay-Uwe Moosheimer
> >
> >
> >
>

Reply via email to