Browse Source

AMBARI-4861: Falcon Quick link doesn't work with port customization. (jaimin)

Jaimin Jetly 11 years ago
parent
commit
f0a9aaa62f

+ 3 - 4
ambari-web/app/models/quick_links.js

@@ -407,10 +407,9 @@ App.QuickLinks.FIXTURES = [
     url:'%@://%@:%@/',
     service_id: 'FALCON',
     template:'%@://%@:%@/',
-    http_config: 'falconserver.host',
-    https_config: 'falconserver.host',
-    site: 'oozie-site',
-    regex: portRegex,
+    http_config: 'falcon_port',
+    site: 'global',
+    regex: '^(\\d+)$',
     default_http_port: 15000
   }
 ];

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

@@ -49,7 +49,7 @@ App.QuickViewLinks = Em.View.extend({
   /**
    * list of files that contains properties for enabling/disabling ssl
    */
-  requiredSiteNames: ['core-site', 'hdfs-site', 'hbase-site', 'oozie-site', 'yarn-site', 'mapred-site'],
+  requiredSiteNames: ['global','core-site', 'hdfs-site', 'hbase-site', 'oozie-site', 'yarn-site', 'mapred-site'],
 
   setConfigProperties: function () {
     this.set('configProperties', []);