[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-03 Thread trixpan
Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/483 @joewitt Second tests are ready and hopefully the code should be ready to merge. I will start working on ListenSMTP during the weekend but I expect it to take longer than those two s

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-02 Thread trixpan
Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/483 @joewitt Second processor should be ready, will work on harness later today. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-02 Thread joewitt
Github user joewitt commented on the issue: https://github.com/apache/nifi/pull/483 Sounds quite good to me @trixpan . I would just not worry about the additional attributes - yet. You identified good standard ones and if we find the need for more then we can iterate. You agree?

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-02 Thread trixpan
Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/483 @bbende Was aware of that possibility. What I couldn't find is a way of easily doing the same from Expression Language. It would be nice to be able to access the flowfile lineage from express

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-01 Thread bbende
Github user bbende commented on the issue: https://github.com/apache/nifi/pull/483 Sorry that second line should have been something like: `split = session.putAttribute(split, "split.parent.uuid", parentUUID);` You wouldn't want to overwrite the regular UUID :) --- I

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-01 Thread bbende
Github user bbende commented on the issue: https://github.com/apache/nifi/pull/483 @trixpan if you want to add the UUDI of the original FlowFile you would get it from the attributes: `String parentUuid = originalFlowFile.getAttribute(CoreAttributes.UUID.key());` Then

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-01 Thread trixpan
Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/483 @bbende You are correct, the provenance trail is there, however, generally it seems like the Split* processors tend to add the split source information as well in the shape of > `seg

[GitHub] nifi issue #483: NIFI-1899 - Introduce ExtractEmailAttachments processor

2016-06-01 Thread bbende
Github user bbende commented on the issue: https://github.com/apache/nifi/pull/483 @joewitt @trixpan I think the provenance linkage should already be happening automatically with the following line: `FlowFile split = session.create(originalFlowFile);` With that call,