[
https://issues.apache.org/jira/browse/NIFI-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020303#comment-16020303
]
Andy LoPresto commented on NIFI-3938:
-------------------------------------
[~pvillard] I posted the flow
[here|https://gist.github.com/alopresto/beb62a15c82c6d68528474085b1a9610] and
the Groovy script I wrote
[here|https://gist.github.com/alopresto/78eb1a2c2b878f75f61481269af38a9f]. The
{{SplitRecord}} processor is superfluous, as I was just exploring the
{{*Record}} processors.
Enjoy.
> Add a ScriptedLookupService
> ---------------------------
>
> Key: NIFI-3938
> URL: https://issues.apache.org/jira/browse/NIFI-3938
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Fix For: 1.3.0
>
>
> NIFI-3863 aims to implement a LookupRecord processor along with two
> implementations of LookupServices, one for enriching records with Geo
> information from IP addresses, and a static one from a list of provided
> key/value pairs.
> A very flexible and powerful improvement would be to offer a
> ScriptedLookupService, where the same scripting capabilities that are
> available to InvokeScriptedProcessor, ScriptedReader and
> ScriptedRecordSetWriter are available to prototype/implement a LookupService
> for use by the LookupRecord processor.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)