You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/02/19 16:43:12 UTC

[jira] [Resolved] (AMBARI-9703) Cannot apply new property set for slider-client through api

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

Andrew Onischuk resolved AMBARI-9703.
-------------------------------------
    Resolution: Fixed

Committed to trunk

> Cannot apply new property set for slider-client through api
> -----------------------------------------------------------
>
>                 Key: AMBARI-9703
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9703
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> **STR**
>   1. Post new property set <http://%s/api/v1/clusters/cl1/configurations>
>     
>         {"type":"slider-client","Config":{"cluster_name":"cl1"},"tag":"customTestVersion","properties":{"customKey":"customValue"},"properties_attributes":{"final":{"customKey":true}}}
>   2. apply new property set <http://%s/api/v1/clusters/cl1>
>     
>         { "Clusters": {  "desired_configs" : {  "type": "slider-client",
>           "tag": "customTestVersion"} }}
>   3. check new property set applied <http://%s/api/v1/clusters/cl1?desired_configs>  
> **ER**  
> set applied, teg customTestVersion  
> **AR**
>     
>               "slider-client" : {
>             "tag" : "version1",
>             "user" : "admin",
>             "version" : 1
>           }
> in response



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)