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] [Updated] (AMBARI-8959) UI uses old sub-resource names for API requests to /stacks/
Date Tue, 30 Dec 2014 15:41:13 GMT

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

Aleksandr Kovalenko updated AMBARI-8959:
----------------------------------------
    Attachment: AMBARI-8959.patch

> UI uses old sub-resource names for API requests to /stacks/
> -----------------------------------------------------------
>
>                 Key: AMBARI-8959
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8959
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Aleksandr Kovalenko
>            Assignee: Aleksandr Kovalenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8959.patch
>
>
> BE contains a hotfix for renaming old-style subresource names to new ones:
> "stackServices" -> "services"
> "serviceComponents" -> "components"
> "operatingSystems" -> "operating_systems"
> The logic for the replacement is `if href contains /stacks/ and not contains _=`, so
it returns `operating_systems` for regular requests and `operatingSystems` for requests from
UI, as all of them contain cache busters.
> UI should use new names everywhere; after that it would be possible to remove the hotfix
from BE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message