You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/08/28 00:42:13 UTC

git commit: AMBARI-7049. Remove the explicit logic of rendering specific configType category just for specific services. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk f77e9e818 -> debf29c23


AMBARI-7049. Remove the explicit logic of rendering specific configType category just for specific services. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/debf29c2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/debf29c2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/debf29c2

Branch: refs/heads/trunk
Commit: debf29c23365c0826902f699a3f3cc9e23dc76a6
Parents: f77e9e8
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Wed Aug 27 15:41:52 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Wed Aug 27 15:41:52 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/models/stack_service.js | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/debf29c2/ambari-web/app/models/stack_service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js
index a711936..89b2b81 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -332,25 +332,12 @@ App.StackService.configCategories = function () {
   serviceConfigCategories.pushObject(App.ServiceConfigCategory.create({ name: 'Advanced', displayName: 'Advanced'}));
 
   var configTypes = Object.keys(this.get('configTypes'));
-  if (this.get('serviceName') !== 'HDFS') {
-    configTypes = configTypes.without('core-site');
-  }
+
   //Falcon has dependency on oozie-site but oozie-site advanced/custom section should not be shown on Falcon page
   if (this.get('serviceName') !== 'OOZIE') {
     configTypes = configTypes.without('oozie-site');
   }
 
-  //Hive has dependency on tez-site but tez-site advanced/custom section should not be shown on Hive page
-  if (this.get('serviceName') !== 'TEZ') {
-    configTypes = configTypes.without('tez-site');
-  }
-
-  //oozie has dependency on yarn-site but yarn-site advanced/custom section should not be shown on Oozie page
-  if (this.get('serviceName') !== 'YARN') {
-    configTypes = configTypes.without('yarn-site');
-  }
-
-
   // Add Advanced section for every configType to all the services
   configTypes.forEach(function (type) {
     var displayName = 'Advanced ' + type;