amarnath reddy pappu created AMBARI-23011:
---------------------------------------------
Summary: Ranger LB URL is pointing to ranger port by default when
we click on Quick link
Key: AMBARI-23011
URL: https://issues.apache.org/jira/browse/AMBARI-23011
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.6.1
Reporter: amarnath reddy pappu
Fix For: trunk, 2.6.2
For Ranger HA, when we give External url as LB url and port (LB:port), but when
we click on quick link is pointing to LB url, but it is using ranger port(6080
or 6182 depend it's http or https).
Below code snippet - reading the host name from policymgr_external_url and then
using default ranger port.
{noformat}
} else if (serviceName === 'RANGER') {
var siteConfigs = this.get('configProperties').findProperty('type',
'admin-properties').properties;
if (siteConfigs['policymgr_external_url']) {
host =
siteConfigs['policymgr_external_url'].split('://')[1].split(':')[0];
var newItem = {};
newItem.url = siteConfigs['policymgr_external_url'];
newItem.label = link.label;
return newItem;
}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)