You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/07/13 01:55:47 UTC

[jira] [Created] (AMBARI-2645) API: Security wizard should support an aggregated call for applying multiple configuration to the cluster.

Tom Beerbower created AMBARI-2645:
-------------------------------------

             Summary: API: Security wizard should support an aggregated call for applying multiple configuration to the cluster.
                 Key: AMBARI-2645
                 URL: https://issues.apache.org/jira/browse/AMBARI-2645
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower


Web-ui has to do multiple API calls for creating and applying each new configuration to the cluster.

We should support a batch update for cluster configuration ...

{code}
PUT /api/v1/clusters/c1

[
  {
    "Clusters":{
      "desired_config":{
        "type":"mapred-site",
        "tag":"versionX",
        "properties":{
          "bar":"99"
        }
      }
    }
  },

  {
    "Clusters":{
      "desired_config":{
        "type":"global",
        "tag":"versionXY",
        "properties":{
          "foo":"2"
        }
      }
    }
  }
]
{code}

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