Repository: ambari Updated Branches: refs/heads/trunk 51e8268e5 -> 5cae75eca
AMBARI-5994 Storm UI in Ambari quick link fails when Storm UI server is not co-hosted with nimbus host. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5cae75ec Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5cae75ec Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5cae75ec Branch: refs/heads/trunk Commit: 5cae75ecab8ecdf9588a8d1ac29b2b9441342b92 Parents: 51e8268 Author: aBabiichuk <[email protected]> Authored: Mon Jun 2 20:59:11 2014 +0300 Committer: aBabiichuk <[email protected]> Committed: Mon Jun 2 21:00:48 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/models/quick_links.js | 4 ++-- ambari-web/app/views/common/quick_view_link_view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/5cae75ec/ambari-web/app/models/quick_links.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/quick_links.js b/ambari-web/app/models/quick_links.js index ac0bda9..ec333f4 100644 --- a/ambari-web/app/models/quick_links.js +++ b/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 http://git-wip-us.apache.org/repos/asf/ambari/blob/5cae75ec/ambari-web/app/views/common/quick_view_link_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js index d199d1b..e07e35e 100644 --- a/ambari-web/app/views/common/quick_view_link_view.js +++ b/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) {
