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

ASF GitHub Bot commented on METRON-982:
---------------------------------------

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

    https://github.com/apache/metron/pull/607#discussion_r129904369
  
    --- Diff: 
metron-interface/metron-rest/src/main/java/org/apache/metron/rest/service/impl/StormStatusServiceImpl.java
 ---
    @@ -17,10 +17,7 @@
      */
     package org.apache.metron.rest.service.impl;
     
    -import org.apache.metron.rest.model.TopologyResponse;
    -import org.apache.metron.rest.model.TopologyStatus;
    -import org.apache.metron.rest.model.TopologyStatusCode;
    -import org.apache.metron.rest.model.TopologySummary;
    +import org.apache.metron.rest.model.*;
    --- End diff --
    
    @merrimanr @mattf-horton We did not have an official vote.  Given the 
widespread acceptance of it, since it's not a dev guildelines and not a bylaw 
thing, my impression was we didn't need it. Having said that, if it needs or 
should have an actual vote, I'm definitely okay with it and it should be done 
before https://github.com/apache/metron/pull/577 goes in.
    
    However, 577 is still outstanding pending additional feedback I requested.  
I was inclined to not update the wiki, because we hadn't built out and 
validated the tooling at the time.  I personally lean towards updating the wiki 
once we're good with that PR going in.


> REST STORM Support for supervisor summary
> -----------------------------------------
>
>                 Key: METRON-982
>                 URL: https://issues.apache.org/jira/browse/METRON-982
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>
> The supervisor summary can be used for information on the cluster including 
> the number of slots etc
> StormStatusServiceImpl already calls the storm ui rest endpoints and should 
> be extended to call:
> {code}
> /api/v1/supervisor/summary (GET)
> returns all supervisors summary
> Response Fields:
> Field Value   Description
> id    String  Supervisor's id
> host  String  Supervisor's host name
> uptime        String  Shows how long the supervisor is running
> slotsTotal    Integer Total number of available worker slots for this 
> supervisor
> slotsUsed     Integer Number of worker slots used on this supervisor
> Sample Response:
> json { "supervisors": [ { "id": "0b879808-2a26-442b-8f7d-23101e0c3696", 
> "host": "10.11.1.7", "uptime": "5m 58s", "slotsTotal": 4, "slotsUsed": 3 } ] }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to