-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31192/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-9703
    https://issues.apache.org/jira/browse/AMBARI-9703


Repository: ambari


Description
-------

**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


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
 765167e 

Diff: https://reviews.apache.org/r/31192/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to