You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Andrew Psaltis (JIRA)" <ji...@apache.org> on 2016/12/13 17:30:58 UTC

[jira] [Created] (MINIFI-170) Change FlowStatusReport to be JSON

Andrew Psaltis created MINIFI-170:
-------------------------------------

             Summary: Change FlowStatusReport to be JSON
                 Key: MINIFI-170
                 URL: https://issues.apache.org/jira/browse/MINIFI-170
             Project: Apache NiFi MiNiFi
          Issue Type: Bug
          Components: utilities
    Affects Versions: 0.1.0, 0.2.0
            Reporter: Andrew Psaltis
            Assignee: Andrew Psaltis


The current FlowStatus report is in a format that is close to but not JSON. 
{code}
FlowStatusReport{controllerServiceStatusList=null, processorStatusList=[{name='GenerateFlowFile', processorHealth={runStatus='Running', hasBulletins=false, validationErrorList=[]}, processorStats={activeThreads=0, flowfilesReceived=0, bytesRead=0, bytesWritten=1024000, flowfilesSent=0, invocations=100, processingNanos=106080516}, bulletinList=[]}], connectionStatusList=null, remoteProcessGroupStatusList=null, instanceStatus=null, systemDiagnosticsStatus=null, reportingTaskStatusList=null, errorsGeneratingReport=[]}
{code}

This makes it painful for consumption by other tools as there needs to be custom script written to either massage it into JSON or to parse it. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)