nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Witt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1290) Document the need for an explicit Validator for a PropertyDescriptor
Date Thu, 17 Dec 2015 17:08:46 GMT

    [ https://issues.apache.org/jira/browse/NIFI-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062348#comment-15062348
] 

Joseph Witt commented on NIFI-1290:
-----------------------------------

+ 1

i'll merge soon

> 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)

Mime
View raw message