You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2012/10/27 23:15:12 UTC
[jira] [Created] (AMBARI-935) Provide API support for updates of
multiple resources in a single request
John Speidel created AMBARI-935:
-----------------------------------
Summary: 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: Improvement
Reporter: John Speidel
Assignee: John Speidel
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
[jira] [Updated] (AMBARI-935) Provide API support for updates of
multiple resources in a single request
Posted by "John Speidel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Speidel updated AMBARI-935:
--------------------------------
Attachment: AMBARI-935.patch
> 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: Improvement
> 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
[jira] [Updated] (AMBARI-935) Provide API support for updates of
multiple resources in a single request
Posted by "Yusaku Sako (JIRA)" <ji...@apache.org>.
[ 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