You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sandor Magyari (JIRA)" <ji...@apache.org> on 2015/09/03 11:32:45 UTC
[jira] [Created] (AMBARI-12989) Blueprint: API call to create
cluster instance with blueprint fails when blueprint_name is not correct
Sandor Magyari created AMBARI-12989:
---------------------------------------
Summary: 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
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)