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] [Updated] (AMBARI-6566) Provide properties_attributes to blueprints endpoint
Date Tue, 22 Jul 2014 21:46:40 GMT

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

Srimanth Gunturi updated AMBARI-6566:
-------------------------------------

    Attachment: AMBARI-6566.patch

Review at https://reviews.apache.org/r/23825/

> 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
>
>         Attachments: AMBARI-6566.patch
>
>
> 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