Default value in feed based template defaults to first available

Description

When creating a custom feed-based template a processor with "SSL Context Service" property is always set to "SSL Kylo Context" because no other context is available. This should be set to an empty value as the default value.

Tried allowing user input for this field and leaving it empty during feed creation, but still when viewing in Nifi you will notice it has picked the SSL Kylo Context.

This currently makes using this feed unusable because each time a user creates a feed ...the feed first fails until an administrator goes into NIFi and updates the ssl context to empty.

The specific processor we are using is GetMongo, but my guess is it will the same problem for any dropdown service.

Environment

None

Activity

Show:
Scott Reisdorf
October 25, 2017, 3:08 PM

Just pushed a fix to master.
I will test more tomorrow and close it out.

The code should now respect the default values as applied via the Register Template.
It will also give the user the ability to edit the feed and null out the value in the select lists if the property is not required.

Sonny Heer
October 25, 2017, 3:16 PM

Thanks

Can a patch be easily merged into 0.8.2 by chance?

Done

Assignee

Scott Reisdorf

Reporter

Sonny Heer

Reviewer

None

Story point estimate

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium