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/24 18:38:38 UTC

[jira] [Resolved] (AMBARI-6566) Provide properties_attributes to blueprints endpoint

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

Srimanth Gunturi resolved AMBARI-6566.
--------------------------------------

    Resolution: Fixed

Submitted to trunk.

> 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, AMBARI-6566_2.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)