ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9703) Cannot apply new property set for slider-client through api
Date Thu, 19 Feb 2015 14:15:11 GMT
Andrew Onischuk created AMBARI-9703:
---------------------------------------

             Summary: 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)

Mime
View raw message