ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-5819) Slider UI should initialize the view name, instance, version from URL
Date Tue, 20 May 2014 11:14:38 GMT

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

Aleksandr Kovalenko commented on AMBARI-5819:
---------------------------------------------

+1 for the patch

> Slider UI should initialize the view name, instance, version from URL
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-5819
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5819
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 1.6.1
>
>         Attachments: AMBARI-5819.patch
>
>
> When Slider Apps view UI loads, it does not know the location of the API. The API is
located at 
> {code}
> http://server:8080/api/v1/views/[VIEW_NAME]/versions/[VERSION]/instances/[INSTANCE_NAME]/
> {code}
> For example, Slider Apps view API will be at 
> {code}
> http://server:8080/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/
> {code}
> The UI should determine the _VIEW_NAME_ , _VERSION_ and _INSTANCE_NAME_ from its URL.
These should be set as constants in the App object, along with helpful methods helpful methods
to construct URL prefixes.



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

Mime
View raw message