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

ASF GitHub Bot commented on MINIFI-170:
---------------------------------------

Github user apiri commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi/pull/65#discussion_r92663489
  
    --- Diff: 
minifi-commons/minifi-utils/src/main/java/org/apache/nifi/minifi/commons/status/FlowStatusReport.java
 ---
    @@ -111,14 +116,20 @@ public boolean equals(Object o) {
     
             FlowStatusReport that = (FlowStatusReport) o;
     
    -        if (getControllerServiceStatusList() != null ? 
!getControllerServiceStatusList().equals(that.getControllerServiceStatusList()) 
: that.getControllerServiceStatusList() != null) return false;
    --- End diff --
    
    These all appear to be just whitespace changes... could you revert these?


> 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
>            Reporter: Andrew Psaltis
>            Assignee: Andrew Psaltis
>             Fix For: 0.2.0
>
>
> 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)

Reply via email to