[
https://issues.apache.org/jira/browse/NIFI-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Bress updated NIFI-729:
---------------------------
Description:
RouteOnAttribute defines two relationships: ['matched' and
'unmatched'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/RouteOnAttribute.java#L92-L99]
You should not be able to route to these relationships by adding new dynamic
properties like this:
matched = ${filename:equals('something.txt')}
or
unmatched = ${filename:equals('somethingelse.txt')}
Same thing applies to RouteHL7 but with ['failure' and
'original'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-hl7-bundle/nifi-hl7-processors/src/main/java/org/apache/nifi/processors/hl7/RouteHL7.java#L86-L93]
was:
RouteOnAttribute defines two relationships: ['matched' and
'unmatched'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/RouteOnAttribute.java#L92-L99]
You should not be able to add a new dynamic property like this
matched = ${filename:equals('something.txt')}
or
unmatch = ${filename:equals('somethingelse.txt')}
Same thing applies to RouteHL7 but with ['failure' and
'original'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-hl7-bundle/nifi-hl7-processors/src/main/java/org/apache/nifi/processors/hl7/RouteHL7.java#L86-L93]
> RouteOnAttribute and RouteHL7 should not let you route to existing
> relationships
> --------------------------------------------------------------------------------
>
> Key: NIFI-729
> URL: https://issues.apache.org/jira/browse/NIFI-729
> Project: Apache NiFi
> Issue Type: New Feature
> Affects Versions: 0.1.0
> Reporter: Dan Bress
> Priority: Trivial
>
> RouteOnAttribute defines two relationships: ['matched' and
> 'unmatched'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/RouteOnAttribute.java#L92-L99]
> You should not be able to route to these relationships by adding new dynamic
> properties like this:
> matched = ${filename:equals('something.txt')}
> or
> unmatched = ${filename:equals('somethingelse.txt')}
> Same thing applies to RouteHL7 but with ['failure' and
> 'original'|https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-hl7-bundle/nifi-hl7-processors/src/main/java/org/apache/nifi/processors/hl7/RouteHL7.java#L86-L93]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)