You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2015/12/16 04:24:46 UTC
[jira] [Updated] (NIFI-1290) Document the need for an explicit
Validator for a PropertyDescriptor
[ https://issues.apache.org/jira/browse/NIFI-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-1290:
-------------------------------
Attachment: NIFI_1290.patch
> Document the need for an explicit Validator for a PropertyDescriptor
> --------------------------------------------------------------------
>
> Key: NIFI-1290
> URL: https://issues.apache.org/jira/browse/NIFI-1290
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Documentation & Website
> Reporter: Matt Burgess
> Attachments: NIFI_1290.patch
>
>
> If a PropertyDescriptor (for a Processor) does not explicitly define a Validator, it is assumed invalid. This is ensure the developer knows that custom validation is necessary for added properties.
> The current doc (as of 0.4.0) says the following:
> --------------------------------------------------------------
> A PropertyDescriptor may specify one or more Validators that can be
> used to ensure that the user-entered value
> for a property is valid. If a Validator indicates that a property
> value is invalid, the Component will not be
> able to be run or used until the property becomes valid.
> --------------------------------------------------------------
> Propose the following:
> --------------------------------------------------------------
> A PropertyDescriptor MUST specify one or more Validators that can be
> used to ensure that the user-entered value
> for a property is valid. If a Validator indicates that a property
> value is invalid, the Component will not be
> able to be run or used until the property becomes valid. If you do not
> specify a Validator, the Component will be assumed invalid and NiFi
> will report that the property is not supported.
> --------------------------------------------------------------
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)