ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandor Magyari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12989) Blueprint: API call to create cluster instance with blueprint fails when blueprint_name is not correct
Date Fri, 13 Jan 2017 10:51:26 GMT

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

Sandor Magyari updated AMBARI-12989:
------------------------------------
    Resolution: Not A Problem
      Assignee: Sandor Magyari
        Status: Resolved  (was: Patch Available)

This is not specific to blueprints, this same behavior exists for every resource in the api.
Blueprint documentation has been modified to be aware that the name specified in this field
will override the name specified in the URL.

> Blueprint: API call to create cluster instance with blueprint fails when blueprint_name
is not correct
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-12989
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12989
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.6.0
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>            Priority: Minor
>         Attachments: AMBARI-12989.patch
>
>
> When creating any resource like blueprint, cluster etc, you can specify the resource
name both in the Url and Json payload as well. For example in case of a blueprint creation:
api/v1/blueprints/sandboxURL  Json: {"Blueprints":{"blueprint_name":"sandboxJson"}}. In this
case the blueprint will be created as sandboxJson so the name specified in Json will override
the name specifie din the Url. The behavoir is true for cluster creation and any other resource
where you can specify name in Json as well. This could be a bit misleading so the API may
return an error in case of resource names don't match.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message