[ 
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" : "[email protected]",
>       }
>       “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" : "[email protected]"
>     }
>   }
> ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to