[
https://issues.apache.org/jira/browse/NIFI-8233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nissim Shiman updated NIFI-8233:
--------------------------------
Description:
Currently ListenHTTP handles incoming attributes with the property:
"HTTP Headers to receive as Attributes (Regex)"
This works except for the case where the data is from PostHTTP and was sent as
a flowfile.
In this scenerio the flowfile attributes are not sent as headers, rather the
flowfile contents and attributes are packaged together and sent to ListenHTTP
and there is no option for the ListenHTTP processor to do any attribute
filtering.
The property:
"Flowfile attributes to receive as Attributes (Regex)"
will be added to handle this case as part of this ticket.
was:
Currently ListenHTTP handles incoming attributes with the property:
"HTTP Headers to receive as Attributes (Regex)"
This works except for the case where the data is from PostHTTP and was sent as
a flowfile.
In this scenerio the flowfile attributes are not sent as headers, rather the
flowfile contents and attributes are packaged together and sent to ListenHTTP
and there is no option for the ListenHTTP processor to do any attribute
filtering.
The property:
"Flowfile attributes to be filtered (Regex)"
will be added to handle this case as part of this ticket.
Update on 3/12/21:
No new property will be added.
Instead rename the filtering property from: "HTTP Headers to receive as
Attributes (Regex)"
to
"Attributes to Receive (Regex)"
and
have it applied to HTTP headers (when dealing with non-FFv3 data) as well as
incoming attributes (when dealing with FFv3 data)
> ListenHTTP - add ability to filter out incoming flowfile attributes
> -------------------------------------------------------------------
>
> Key: NIFI-8233
> URL: https://issues.apache.org/jira/browse/NIFI-8233
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Nissim Shiman
> Assignee: Nissim Shiman
> Priority: Major
>
> Currently ListenHTTP handles incoming attributes with the property:
> "HTTP Headers to receive as Attributes (Regex)"
> This works except for the case where the data is from PostHTTP and was sent
> as a flowfile.
> In this scenerio the flowfile attributes are not sent as headers, rather the
> flowfile contents and attributes are packaged together and sent to ListenHTTP
> and there is no option for the ListenHTTP processor to do any attribute
> filtering.
> The property:
> "Flowfile attributes to receive as Attributes (Regex)"
> will be added to handle this case as part of this ticket.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)