ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-8029. Components dropdown on "Select Configuration Group Hosts" empty for KNOX. (jaimin)
Date Thu, 30 Oct 2014 00:42:27 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 7bb936b65 -> 350f6ff0c


AMBARI-8029. Components dropdown on "Select Configuration Group Hosts" empty for KNOX. (jaimin)


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

Branch: refs/heads/trunk
Commit: 350f6ff0c1efe3d6c163f500fbf658899ead5fdd
Parents: 7bb936b
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Wed Oct 29 17:41:59 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Wed Oct 29 17:41:59 2014 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml   | 1 +
 .../controllers/main/service/manage_config_groups_controller.js    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/350f6ff0/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml
index 89605a6..90ab331 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/metainfo.xml
@@ -26,6 +26,7 @@
       <components>
         <component>
           <name>KNOX_GATEWAY</name>
+          <displayName>Knox Gateway</displayName>
           <category>MASTER</category>
           <cardinality>1+</cardinality>
           <commandScript>

http://git-wip-us.apache.org/repos/asf/ambari/blob/350f6ff0/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
index 18fcd93..4f74f28 100644
--- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
+++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
@@ -385,8 +385,8 @@ App.ManageConfigGroupsController = Em.Controller.extend({
   componentsForFilter: function () {
     return App.StackServiceComponent.find().filterProperty('serviceName', this.get('serviceName')).map(function
(component) {
       return Em.Object.create({
-        displayName: component.get('displayName'),
         componentName: component.get('componentName'),
+        displayName: App.format.role(component.get('componentName')),
         selected: false
       });
     });


Mime
View raw message