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

Mike Thomsen commented on NIFI-5326:
------------------------------------

That one actually is something that I was thinking about taking on as part of 
this work. However, it's not a dichotomy. What do you offer the user who wants 
to enrich that generated document with a randomize set of known values? None of 
the existing services do that.

Right now, we're still in the planning phase of how to build the test data 
(it's non-trivial generation, ie not randomized segments of lorem ipsum). 
However, this particular thing came up because we know we'll need to insert 
random, known entities into the data.

Besides, if nothing comes of that just remember that a PR doesn't have to be 
merged.

> Create a controller service that returns random data from a JSON file
> ---------------------------------------------------------------------
>
>                 Key: NIFI-5326
>                 URL: https://issues.apache.org/jira/browse/NIFI-5326
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>
> The controller service should be able to load a JSON file and pull random 
> entries from the top level regardless of whether it is a JSON object or list. 
> Arrays of primitive values (ex. strings) should be handled with a common 
> structure like this:
> { "key": "XYZ" }
> where XYZ is the value that was pulled from a list like this:
> [ "ABC", "DEF",...,"XYZ" ]



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

Reply via email to