ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-6566) Provide properties_attributes to blueprints endpoint
Date Tue, 22 Jul 2014 17:38:38 GMT
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)

Mime
View raw message