You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Otto Fowler (Jira)" <ji...@apache.org> on 2020/09/09 21:55:00 UTC

[jira] [Comment Edited] (NIFI-7761) Allow HandleHttpRequest to add specified form data to FlowFile attributes

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

Otto Fowler edited comment on NIFI-7761 at 9/9/20, 9:54 PM:
------------------------------------------------------------

[~grego33] if there is any way you can try or review the PR it would help getting this landed


was (Author: ottobackwards):
[~grego33]if there is any way you can try or review the PR it would help getting this landed

> Allow HandleHttpRequest to add specified form data to FlowFile attributes
> -------------------------------------------------------------------------
>
>                 Key: NIFI-7761
>                 URL: https://issues.apache.org/jira/browse/NIFI-7761
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.12.0
>            Reporter: Matt Gregory
>            Assignee: Otto Fowler
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> NIFI-7420 changed the behavior of HandleHttpRequest to no longer add http.param.* attributes for all parts of a multipart request.  This was nice for scenarios when a single file + form data was being sent in a multipart as the form data was readily accessible as FlowFile attributes.  
>  
> A nice approach suggested by ottobackwards [in Slack|https://apachenifi.slack.com/archives/C0L9VCD47/p1598295952058200] is to allow a list of form fields to be specified to the HandleHttpRequest processor as a property.  I would imagine this working similarly to how LogAttribute specifies Attributes to Log, with a simple comma-separated list.
>  



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