You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2012/11/01 03:47:12 UTC

[jira] [Updated] (AMBARI-935) Provide API support for updates of multiple resources in a single request

     [ https://issues.apache.org/jira/browse/AMBARI-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako updated AMBARI-935:
-------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: AMBARI-666
    
> Provide API support for updates of multiple resources in a single request
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-935
>                 URL: https://issues.apache.org/jira/browse/AMBARI-935
>             Project: Ambari
>          Issue Type: Sub-task
>            Reporter: John Speidel
>            Assignee: John Speidel
>         Attachments: AMBARI-935.patch
>
>
> Provide API support for updating multiple resource in a single request.  A user should be able to use a collection endpoint along with a predicate to update multiple resources.
> For example:
> PUT /clusters/c1/services?foo=bar
> {
>   "state" : "STARTED"
> }
> For all cluster "c1" services where foo=bar, update the "state" property to "STARTED".
> To update all services under the cluster c1, no predicate would be provided.
> PUT /clusters/c1/services
> {
>   "state" : "STARTED"
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira