ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-5892) Create mapper for apps endpoint of Slider apps view
Date Mon, 26 May 2014 12:23:01 GMT

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

Antonenko Alexander updated AMBARI-5892:
----------------------------------------

    Attachment: AMBARI-5892.patch

> Create mapper for apps endpoint of Slider apps view
> ---------------------------------------------------
>
>                 Key: AMBARI-5892
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5892
>             Project: Ambari
>          Issue Type: Task
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>             Fix For: 1.6.1
>
>         Attachments: AMBARI-5892.patch
>
>
> We have models for {{App.SliderApp}} and other related classes. We need to populate the
contents through mappers. The APIs themselves are not implemented yet, but we should be able
to write mappers from the JSON pattern given below.
> Call to {{/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/resources/apps}} should
provide the below response.
> {code}
> {
>   "href" : "http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps?fields=*",
>   "items" : [
>     {
>       "href" : "http://c6401:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/1399950379868_1",
>       "components" : null,
>       "configs" : null,
>       "diagnostics" : "",
>       "endTime" : 1399950490555,
>       "id" : "1399950379868_1",
>       "instance_name" : "SLIDER_1",
>       "jmx" : null,
>       "name" : "word count",
>       "startTime" : 1399950462948,
>       "state" : "FINISHED",
>       "type" : "MAPREDUCE",
>       "urls" : null,
>       "user" : "ambari-qa",
>       "version" : "1.0.0",
>       "view_name" : "SLIDER",
>       "yarnId" : "application_1399950379868_0001"
>     }
>   ]
> }
> {code}



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

Mime
View raw message