You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/05/29 00:20:01 UTC

[jira] [Created] (AMBARI-5918) Implement Slider app api to freeze and thaw an application

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)