Explorar el Código

AMBARI-5994 Storm UI in Ambari quick link fails when Storm UI server is not co-hosted with nimbus host. (ababiichuk)

aBabiichuk hace 11 años
padre
commit
5cae75ecab

+ 2 - 2
ambari-web/app/models/quick_links.js

@@ -395,8 +395,8 @@ App.QuickLinks.FIXTURES = [
     url:'%@://%@:%@/',
     service_id: 'STORM',
     template:'%@://%@:%@/',
-    http_config: 'nimbus.host',
-    https_config: 'nimbus.host',
+    http_config: 'stormuiserver_host',
+    https_config: 'stormuiserver_host',
     site: 'storm-site',
     regex: portRegex,
     default_http_port: 8744

+ 1 - 1
ambari-web/app/views/common/quick_view_link_view.js

@@ -160,7 +160,7 @@ App.QuickViewLinks = Em.View.extend({
         hosts[0] = this.findComponentHost('FALCON_SERVER');
         break;
       case "STORM":
-        hosts[0] = this.findComponentHost('NIMBUS');
+        hosts[0] = this.findComponentHost('STORM_UI_SERVER');
         break;
     }
     if (!hosts) {