ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10702) Theme widgets should be merged from inherited theme
Date Fri, 24 Apr 2015 00:51:39 GMT

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

Hudson commented on AMBARI-10702:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2423 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2423/])
AMBARI-10702. Theme widgets should be merged from inherited theme (mpapirkovskyy via srimanth)
- UI test fixes (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1256d0e366f90be7219757b73acd25684b2a5b6b)
* ambari-web/test/mappers/configs/themes_mapper_test.js


> Theme widgets should be merged from inherited theme
> ---------------------------------------------------
>
>                 Key: AMBARI-10702
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10702
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Myroslav Papirkovskyy
>            Assignee: Myroslav Papirkovskyy
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> When implementing HDP-2.3 theme, the use case was to add just 2 more configs to the enhanced-configs.
When I created the default theme.json file, I had to re-define all the widgets - even though
the parent HDP-2.2 theme already had most of them defined.
> Since it is a one-time operation, the {{widgets}} from the inherited parents should be
overridden by the child's widgets based on the "config" key.
> So HDP-2.3's theme.json ( [https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/themes/theme.json]
) should have only below 2 widget entries
> {code}
>       {
>         "config": "yarn-site/yarn.node-labels.enabled",
>         "widget": {
>           "type": "checkbox"
>         }
>       },
>       {
>         "config": "yarn-env/yarn_cgroups_enabled",
>         "widget": {
>           "type": "checkbox"
>         }
>       }
> {code}



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

Mime
View raw message