Browse Source

AMBARI-4231 Storm: Update Dashboard / Services to support Storm. (Denys Buzhor vs ababiichuk)

aBabiichuk 11 years ago
parent
commit
0b04d90e3e

+ 7 - 0
ambari-web/app/assets/data/services/HDP2/services.json

@@ -77,6 +77,13 @@
         "cluster_name" : "cl",
         "service_name" : "ZOOKEEPER"
       }
+    },
+    {
+      "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/services/STORM",
+      "ServiceInfo" : {
+        "cluster_name" : "cl",
+        "service_name" : "STORM"
+      }
     }
   ]
 }

+ 4 - 2
ambari-web/app/models/service.js

@@ -179,7 +179,8 @@ App.Service.DisplayNames = {
   'GANGLIA': 'Ganglia',
   'NAGIOS': 'Nagios',
   'HUE': 'Hue',
-  'FLUME': 'Flume'
+  'FLUME': 'Flume',
+  'STORM': 'Storm'
 };
 
 App.Service.servicesSortOrder = [
@@ -199,7 +200,8 @@ App.Service.servicesSortOrder = [
   'ZOOKEEPER',
   'PIG',
   'SQOOP',
-  'HUE'
+  'HUE',
+  'STORM'
 ];
 
 App.Service.FIXTURES = [];