[
https://issues.apache.org/jira/browse/AMBARI-11964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004822#comment-15004822
]
Hadoop QA commented on AMBARI-11964:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12772282/AMBARI-11964.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-web.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/4291//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/4291//console
This message is automatically generated.
> Allow services to hide "custom" configurations
> ----------------------------------------------
>
> Key: AMBARI-11964
> URL: https://issues.apache.org/jira/browse/AMBARI-11964
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Dmitry Vasilenko
> Assignee: Di Li
> Fix For: trunk
>
> Attachments: AMBARI-11964.patch
>
>
> Currently, the logic to hide custom configuration sections in the web UI is
> hardcoded in the /ambari-web/app/models/stack_service.js
> {noformat}
> // Add custom section for every configType to all the services
> configTypes.forEach(function (type) {
> var configTypesWithNoCustomSection =
> ['capacity-scheduler','mapred-queue-acls','flume-conf',
> 'pig-properties','topology','users-ldif'];
> if (type.endsWith('-env') || type.endsWith('-log4j') ||
> configTypesWithNoCustomSection.contains(type)) {
> return;
> }
> {noformat}
> It will be beneficial to have a declarative way for the Ambari services to
> hide the custom configuration section in the web UI for the given
> configuration XML.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)