Bläddra i källkod

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

aBabiichuk 10 år sedan
förälder
incheckning
fcda5e1f03

+ 1 - 2
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," +

+ 1 - 2
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',