Srimanth Gunturi created AMBARI-5918:
----------------------------------------

             Summary: Implement Slider app api to freeze and thaw an application
                 Key: AMBARI-5918
                 URL: https://issues.apache.org/jira/browse/AMBARI-5918
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.6.1
            Reporter: Srimanth Gunturi
            Assignee: Srimanth Gunturi
             Fix For: 1.6.1


The following API should be provided so that an app can be frozen and thawed.

*Freeze*
PUT 
{{/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/1399950379868_21}}
{code}
{
  "id" : "1399950379868_21",
  "name" : "hoya22",
  "state" : "FROZEN",
}
{code}

*Thaw*
PUT 
{{/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/1399950379868_21}}
{code}
{
  "id" : "1399950379868_21",
  "name" : "hoya22",
  "state" : "RUNNING",
}
{code}



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

Reply via email to