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] [Created] (AMBARI-5597) Ambari REST API: Rename host-groups in cluster create to host_groups for consistency across api
Date Mon, 28 Apr 2014 17:18:16 GMT
John Speidel created AMBARI-5597:
------------------------------------

             Summary: Ambari REST API: Rename host-groups in cluster create to host_groups
for consistency across api
                 Key: AMBARI-5597
                 URL: https://issues.apache.org/jira/browse/AMBARI-5597
             Project: Ambari
          Issue Type: Improvement
            Reporter: John Speidel
            Assignee: John Speidel
             Fix For: 1.6.0


The host group field name is inconsistent across the blueprint and the cluster create body.
In blueprints it is "host_groups" and in the cluster create call it is "host-groups".
Change the field name in the cluster create call to "host_groups" as the rest of the api uses
underscore.

{code}
{
  "blueprint" : "single-node-test",
  "host_groups" :[
    { 
      "name" : "host_group_1",  
      "hosts" : [          
        { 
          "fqdn" : "test.novalocal"
        }
      ]
    }
  ]
}
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message