Hello,

This pattern isn't really supported at the moment...

You would not want to make calls to external services when opening the
config window of a processor because then you risk blocking on an
network call if the system is down or unresponsive, or just risking
taking a really long time to load.

You could possibly attempt to start some background thread when the
processor starts that would periodically fetch values to a list in the
processor, and then every time getPropertyDescriptors was called you
would create a new PropertDescriptor for the given property using the
latest list, but there is nothing built in to help with this.

It also doesn't work well for documentation which is auto-generated
when the application starts and would have no way of knowing what the
allowable values are for the property.

-Bryan

On Mon, Mar 26, 2018 at 9:55 AM, Dominique De Vito <ddv36...@gmail.com> wrote:
> Hi,
>
> I try to define a Processor such as for a given attribut:
>
> * the possible values are dynamically fetched from a REST WS (from time to
> time)
>
> * the UI offers to select one of these values from a drop-down list.
>
> Is there some processor implementing such a pattern? If so, then, I may take
> it as an example.
>
> If there is no such processor, does someone know if the Processor I envision
> is doable with current NiFi version?
>
> Thanks.
>
> Regards,
> Dominique
>

Reply via email to