[
https://issues.apache.org/jira/browse/NIFI-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520999#comment-16520999
]
Sivaprasanna Sethuraman commented on NIFI-5326:
-----------------------------------------------
IMHO, this particular case of returning some entries from a JSON file seems
like targeting a one off scenario and not seem common enough to be added to the
project for a wider release. There is NIFI-5084 which asks for a more generic &
common use case and seems like a viable candidate for a wider release. Thoughts?
> 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)