[
https://issues.apache.org/jira/browse/NIFI-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520776#comment-16520776
]
Mike Thomsen commented on NIFI-5326:
------------------------------------
I have a client that is using NiFi to generate test data. This isn't meant to
be used with UpdateRecord per se, though I was planning on adding a variant of
it that generates a record once the schema inference from JSON capabilities
from two of my tickets are merged and put into utility classes.
> 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)