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 2014/04/28 20:44:14 UTC

[jira] [Resolved] (AMBARI-5597) Ambari REST API: Rename host-groups in cluster create to host_groups for consistency across api

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

John Speidel resolved AMBARI-5597.
----------------------------------

    Resolution: Fixed

> 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
>              Labels: api, blueprints
>             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)