[ 
https://issues.apache.org/jira/browse/AMBARI-14624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106138#comment-15106138
 ] 

Zhaowei Shen commented on AMBARI-14624:
---------------------------------------

For example:
I can create a global Configuration resource with the following Rest. But I 
cannot delete this one or update (if the variables contain a typo). If wanna 
update the variables, I have to apply the Configuration to a service as desired 
configuration (Still cannot support DELETE, only support PUT).

curl -u admin:admin -H "X-Requested-By: ambari" -X  POST   -d '
{
  "tag" : "my_test_global",
  "type" : "version1",
  "properties" : {
    "aaaa" : "aaaa",
    "bbbb" : "bbbb"
  } 
}' "http://ambari_server:8080/api/v1/clusters/CLUSTER_NAME/configurations";

> Provide "delete Configruation Resource" function when the that is not 
> necessary anymore.
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14624
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14624
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Zhaowei Shen
>
> Ambari allow user to create new the Configuration Resource with Rest. But 
> when the Configuration Resource is not necessary anymore, Ambari didn't 
> support the "DELETE" function in Rest.



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

Reply via email to