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 01:42:01 UTC

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

     [ https://issues.apache.org/jira/browse/AMBARI-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srimanth Gunturi updated AMBARI-5918:
-------------------------------------

    Attachment: AMBARI-5918.patch

Review at https://reviews.apache.org/r/21997/

> 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
>
>         Attachments: AMBARI-5918.patch
>
>
> 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)