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

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

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

    https://github.com/apache/nifi-minifi/pull/65#discussion_r92694526
  
    --- Diff: minifi-commons/minifi-utils/pom.xml ---
    @@ -15,6 +15,12 @@
     -->
     <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
         <modelVersion>4.0.0</modelVersion>
    +    <dependencies>
    +        <dependency>
    +            <groupId>com.fasterxml.jackson.core</groupId>
    +            <artifactId>jackson-databind</artifactId>
    --- End diff --
    
    Certainly.


> 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