You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/03/03 14:39:49 UTC

[2/3] ambari git commit: AMBARI-9885 Modify the API call to exclude Flume metrics on Dashboard and Service pages. (ababiichuk)

AMBARI-9885 Modify the API call to exclude Flume metrics on Dashboard and Service pages. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: fcda5e1f035a783773b264e02edbe4bed9916d0a
Parents: 6f5d57e
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Mar 3 11:36:05 2015 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Mar 3 15:39:06 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/global/update_controller.js       | 3 +--
 ambari-web/test/controllers/global/update_controller_test.js | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fcda5e1f/ambari-web/app/controllers/global/update_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/update_controller.js b/ambari-web/app/controllers/global/update_controller.js
index 4958210..41cbd10 100644
--- a/ambari-web/app/controllers/global/update_controller.js
+++ b/ambari-web/app/controllers/global/update_controller.js
@@ -409,8 +409,7 @@ App.UpdateController = Em.Controller.extend({
   getConditionalFields: function () {
     var conditionalFields = [];
     var serviceSpecificParams = {
-      'FLUME': "host_components/metrics/flume/flume," +
-        "host_components/processes/HostComponentProcess",
+      'FLUME': "host_components/processes/HostComponentProcess",
       'YARN': "host_components/metrics/yarn/Queue," +
         "ServiceComponentInfo/rm_metrics/cluster/activeNMcount," +
         "ServiceComponentInfo/rm_metrics/cluster/lostNMcount," +

http://git-wip-us.apache.org/repos/asf/ambari/blob/fcda5e1f/ambari-web/test/controllers/global/update_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/global/update_controller_test.js b/ambari-web/test/controllers/global/update_controller_test.js
index 04c8b7a..f55136b 100644
--- a/ambari-web/test/controllers/global/update_controller_test.js
+++ b/ambari-web/test/controllers/global/update_controller_test.js
@@ -135,8 +135,7 @@ describe('App.UpdateController', function () {
             }
           }
         ],
-        result: ["host_components/metrics/flume/flume,"+
-          "host_components/processes/HostComponentProcess"]
+        result: ["host_components/processes/HostComponentProcess"]
       },
       {
         title: 'YARN service',