You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/07/22 19:38:38 UTC
[jira] [Created] (AMBARI-6566) Provide properties_attributes to
blueprints endpoint
Srimanth Gunturi created AMBARI-6566:
----------------------------------------
Summary: Provide properties_attributes to blueprints endpoint
Key: AMBARI-6566
URL: https://issues.apache.org/jira/browse/AMBARI-6566
Project: Ambari
Issue Type: Task
Components: controller
Affects Versions: 1.7.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 1.7.0
API callers should be able to provide {{properties_attributes}} in blueprints using the below format
{code}
"configurations" : [
{
"global" : {
“properties”: {
"hive_database" : "Existing PostgreSQL Database",
"nagios_contact" : "foo@ffl.dsfds",
}
“properties_attributes”: {
“final”: {
“nagios_contact”: “true”
}
}
}
}
]
{code}
This format should be supported for POST, PUT and GET calls.
Since there are already users of existing format below, POST and PUT calls should tolerate it and assume there are no properties_attributes.
{code}
"configurations" : [
{
"global" : {
"hive_database" : "Existing PostgreSQL Database",
"nagios_contact" : "foo@ffl.dsfds"
}
}
]
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)