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

ASF subversion and git services commented on NIFI-6867:
-------------------------------------------------------

Commit 09c7406d1835dc9828e6aa798db934830fb1f548 in nifi's branch 
refs/heads/master from Grant Henke
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=09c7406 ]

NIFI-6867: Validate PutKudu operation type property

This patch adds validation to the PutKudu operation type property.
It also improves the description to include the valid values and
adjusts the inputs to be case insensitive.

Signed-off-by: Pierre Villard <[email protected]>

This closes #4063.


> PutKudu operation type parameter allows bad values
> --------------------------------------------------
>
>                 Key: NIFI-6867
>                 URL: https://issues.apache.org/jira/browse/NIFI-6867
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: Grant Henke
>            Assignee: Grant Henke
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The description in the operation type parameter of the PutKudu processor 
> doesn't show the valid choices. As far as I can tell the only place to get 
> this information is in the code here:
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/main/java/org/apache/nifi/processors/kudu/PutKudu.java#L258
> A validator that only allows the correct values should also be added:
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/main/java/org/apache/nifi/processors/kudu/PutKudu.java#L117



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to