incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-971) Add api support for creating multiple resources in a single request
Date Tue, 06 Nov 2012 19:08:12 GMT

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

John Speidel updated AMBARI-971:
--------------------------------

    Attachment: AMBARI-971.patch
    
> Add api support for creating multiple resources in a single request
> -------------------------------------------------------------------
>
>                 Key: AMBARI-971
>                 URL: https://issues.apache.org/jira/browse/AMBARI-971
>             Project: Ambari
>          Issue Type: New Feature
>            Reporter: John Speidel
>            Assignee: John Speidel
>         Attachments: AMBARI-971.patch
>
>
> Add the ability to create multiple resources of the same type by providing an array of
resource properties in the http body.
> For example, to create multiple service resources for the cluster named "mycluster":
> POST htp://myHost:8080/api/v1/clusters/mycluster/services
> [ 
> {"ServiceInfo" : {
>         "service_name" : "PIG"
>       }
> },
> {"ServiceInfo" : {
>         "service_name" : "OOZIE"
>       }
> },
> {"ServiceInfo" : {
>         "service_name" : "HIVE"
>       }
> }
> ]

--
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

Mime
View raw message