[jira] [Commented] (NIFI-5641) GetMongo should be able to copy attributes from input flowfile to result set flowfiles

2018-09-28 Thread Pierre Villard (JIRA)


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

Pierre Villard commented on NIFI-5641:
--

[~mike.thomsen] - yep
{quote}{color:#33}Creates a new FlowFile in the repository with no content 
but with a parent linkage to {{parent}}. The newly created FlowFile will 
inherit all of the parent's attributes except for the UUID. This method will 
automatically generate a Provenance FORK event or a Provenance JOIN event, 
depending on whether or not other FlowFiles are generated from the same parent 
before the ProcessSession is committed.{color}{quote}

> GetMongo should be able to copy attributes from input flowfile to result set 
> flowfiles
> --
>
> Key: NIFI-5641
> URL: https://issues.apache.org/jira/browse/NIFI-5641
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Minor
>
> User requested that GetMongo should be able to copy the attributes that come 
> from the input flowfile to the result set flowfiles. Should be implemented as 
> an optional property, off by default.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5641) GetMongo should be able to copy attributes from input flowfile to result set flowfiles

2018-09-27 Thread Mike Thomsen (JIRA)


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

Mike Thomsen commented on NIFI-5641:


[~markap14] so create(FlowFile) copies all of the attributes?

> GetMongo should be able to copy attributes from input flowfile to result set 
> flowfiles
> --
>
> Key: NIFI-5641
> URL: https://issues.apache.org/jira/browse/NIFI-5641
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Minor
>
> User requested that GetMongo should be able to copy the attributes that come 
> from the input flowfile to the result set flowfiles. Should be implemented as 
> an optional property, off by default.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5641) GetMongo should be able to copy attributes from input flowfile to result set flowfiles

2018-09-27 Thread Mark Payne (JIRA)


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

Mark Payne commented on NIFI-5641:
--

[~mike.thomsen] unless I am missing something, this already happens:
{code:java}
outgoingFlowFile = (input == null) ? session.create() : 
session.create(input);{code}
The only time that we call {{session.create()}} we do by passing in the 
incoming FlowFile, if there is one. This will properly copy the attributes of 
the incoming FlowFile to the outgoing FlowFile. It appears that you reviewed & 
merged this commit already for 1.8.0.

> GetMongo should be able to copy attributes from input flowfile to result set 
> flowfiles
> --
>
> Key: NIFI-5641
> URL: https://issues.apache.org/jira/browse/NIFI-5641
> Project: Apache NiFi
>  Issue Type: New Feature
>Reporter: Mike Thomsen
>Assignee: Mike Thomsen
>Priority: Minor
>
> User requested that GetMongo should be able to copy the attributes that come 
> from the input flowfile to the result set flowfiles. Should be implemented as 
> an optional property, off by default.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)