[
https://issues.apache.org/jira/browse/NIFI-5936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397285#comment-17397285
]
ASF subversion and git services commented on NIFI-5936:
-------------------------------------------------------
Commit 5ff4974b1fe742faa06fa3209466077fc27cf54d in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5ff4974 ]
NIFI-5936: Added DROP provenance event to MockProcessSession.remove() to match
real impl
This closes #5302
Signed-off-by: Mike Thomsen <[email protected]>
> MockProcessSession remove() does not report a "DROP" provenance event
> ---------------------------------------------------------------------
>
> Key: NIFI-5936
> URL: https://issues.apache.org/jira/browse/NIFI-5936
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Joe Percivall
> Assignee: Matt Burgess
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The StandardProcessSession remove method emits a "DROPPED" provenance
> event[1] whereas the MockProcessSession does not[2]. MockProcessSession
> should mimic the Standard as closely as possible.
> [1]
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java#L2002
> [2]
> https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/MockProcessSession.java#L620
--
This message was sent by Atlassian Jira
(v8.3.4#803005)