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

ASF GitHub Bot commented on NIFI-2938:
--------------------------------------

Github user pvillard31 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2232#discussion_r147637178
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/RouteText.java
 ---
    @@ -77,6 +79,10 @@
     @DynamicProperty(name = "Relationship Name", value = "value to match 
against", description = "Routes data that matches the value specified in the 
Dynamic Property Value to the "
         + "Relationship specified in the Dynamic Property Key.")
     @DynamicRelationship(name = "Name from Dynamic Property", description = 
"FlowFiles that match the Dynamic Property's value")
    +@WritesAttributes({
    +        @WritesAttribute(attribute = "RouteText.Route", description = "The 
name of the relationship to which the FlowFile was routed."),
    +        @WritesAttribute(attribute = "RouteText.Group", description = "The 
value captured by all capturing groups in the 'Grouping Regular Expression' 
property. If this property is not set or contains no capturing groups, this 
attribute will not be added.")
    --- End diff --
    
    ````
    [WARNING] 
src/main/java/org/apache/nifi/processors/standard/RouteText.java[84] (sizes) 
LineLength: Line is longer than 200 characters (found 257).
    ````


> RouteText does not specify the attributes written in its generated docs
> -----------------------------------------------------------------------
>
>                 Key: NIFI-2938
>                 URL: https://issues.apache.org/jira/browse/NIFI-2938
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Documentation & Website, Extensions
>            Reporter: Aldrin Piri
>            Assignee: Andrew Lim
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> RouteText will write the relationship to which a flowfile is directed 
> (RouteText.Route) and, if it was resulting from a matching captured group, 
> would include the RouteText.Group attribute.  This is currently not captured 
> in the generated docs for the processor.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to