[
https://issues.apache.org/jira/browse/NIFI-14906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016800#comment-18016800
]
ASF subversion and git services commented on NIFI-14906:
--------------------------------------------------------
Commit f608d6eee4196e70ae882a02dcaf379508f5c670 in nifi's branch
refs/heads/main from markobean
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f608d6eee4 ]
NIFI-14906 ListenHTTP prefers unpacked filename attribute from FlowFiles
(#10246)
Signed-off-by: David Handermann <[email protected]>
> ListenHTTP provides FlowFile package name to contained FlowFiles
> ----------------------------------------------------------------
>
> Key: NIFI-14906
> URL: https://issues.apache.org/jira/browse/NIFI-14906
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Mark Bean
> Assignee: Mark Bean
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Scenario: One or more FlowFiles are packaged into a single FFv3 FlowFile
> package using PackageFlowFile. Using InvokeHTTP, the FlowFile package is sent
> to ListenHTTP. InvokeHTTP is configured to send all attributes (or at least
> `filename` attribute) in the HTTP headers (Request Header Attributes Pattern
> property.) ListenHTTP receives a FFv3 packaged FlowFile sent by InokeHTTP.
> ListenHTTP automatically unpacks the FFv3 package into individual FlowFiles.
> However, the filename of all FlowFiles is the filename of the FFv3 package
> FlowFile. The original filenames within the package are lost.
> Proper behavior would allow the unpacked FlowFile to retain its original
> filename.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)