ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [02/50] [abbrv] ambari git commit: AMBARI-13669. Ranger External url is not updated when https flag is enabled. (jaimin)
Date Wed, 04 Nov 2015 13:36:29 GMT
AMBARI-13669. Ranger External url is not updated when https flag is enabled. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/060215d6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/060215d6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/060215d6

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 060215d6446043599e97ed316d780a05d92f8bf3
Parents: b4aaf2a
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Fri Oct 30 17:01:47 2015 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Fri Oct 30 17:02:45 2015 -0700

----------------------------------------------------------------------
 .../0.4.0/configuration/admin-properties.xml    | 14 ++++++++++++
 .../RANGER/configuration/admin-properties.xml   | 24 ++++++++++++++++++++
 2 files changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/060215d6/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
index dd9a1b0..1ff4fd9 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
@@ -170,6 +170,20 @@
     <value-attributes>
       <overridable>false</overridable>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>ranger-site</type>
+        <name>http.enabled</name>
+      </property>
+      <property>
+        <type>ranger-site</type>
+        <name>http.service.port</name>
+      </property>
+      <property>
+        <type>ranger-site</type>
+        <name>https.service.port</name>
+      </property>
+    </depends-on>
   </property>
 
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/060215d6/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/admin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/admin-properties.xml
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/admin-properties.xml
index 67be091..837b26e 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/admin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/admin-properties.xml
@@ -56,6 +56,30 @@
   </property>
 
   <property>
+    <name>policymgr_external_url</name>
+    <value></value>
+    <display-name>External URL</display-name>
+    <description>Policy Manager external url eg: http://RANGER_HOST:6080</description>
+    <value-attributes>
+      <overridable>false</overridable>
+    </value-attributes>
+    <depends-on>
+      <property>
+        <type>ranger-admin-site</type>
+        <name>ranger.service.http.enabled</name>
+      </property>
+      <property>
+        <type>ranger-admin-site</type>
+        <name>ranger.service.http.port</name>
+      </property>
+      <property>
+        <type>ranger-admin-site</type>
+        <name>ranger.service.https.port</name>
+      </property>
+    </depends-on>
+  </property>
+
+  <property>
     <name>db_root_user</name>
     <value>root</value>
     <display-name>Ranger DB root user</display-name>


Mime
View raw message