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

Gour Saha commented on SLIDER-950:
----------------------------------

[~thomas_liu] In my opinion, the option {{multi-app-status}} does not sound 
neat. We have to think of a way where the operation is still _*slider status*_, 
but then it allows you to specify multiple app names (somehow). It will surely 
simplify things further, since you won't need a new arg class, 
_ActionMultiAppStatusArgs.java_. 

Few options could be -
* provide documentation that the _*<application>*_ option can be a comma 
separated list of app names (and then split by comma separator to get multiple 
app names)
* create a new option {{--applications}} on the cmd line for _status_ cmd 
itself, such that _*<application>*_ becomes optional, if --applications is used 
along with multiple app names (space separated)

Note, we need to continue to support _*slider status <single_app_name>*_ for 
backward compatibility.

Let me know your thoughts on this?


> Implement GetStatus API call for multiple applications
> ------------------------------------------------------
>
>                 Key: SLIDER-950
>                 URL: https://issues.apache.org/jira/browse/SLIDER-950
>             Project: Slider
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: Slider 0.80
>            Reporter: thomas liu
>            Assignee: thomas liu
>             Fix For: Slider 0.90
>
>         Attachments: SLIDER-950-001.patch, SLIDER-950-DISCUSSION-1.patch
>
>
> We found it useful to implement an API to allow getting status for multiple 
> applications in a cluster. We restrict the applications to a list of names we 
> pass into the API



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

Reply via email to