You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/08/14 13:20:15 UTC

ambari git commit: AMBARI-12759 'Ranger DB host' missing in Customize Services page of Add Service Wizard (additional2). (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.1 4fa59162b -> 06f7a5596


AMBARI-12759 'Ranger DB host' missing in Customize Services page of Add Service Wizard (additional2). (ababiichuk)


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

Branch: refs/heads/branch-2.1.1
Commit: 06f7a55967e81d510db4fba5b5cce3e98c66933e
Parents: 4fa5916
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Fri Aug 14 14:09:55 2015 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Fri Aug 14 14:09:55 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/data/HDP2.2/site_properties.js |  2 +-
 ambari-web/app/data/HDP2.3/site_properties.js | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/06f7a559/ambari-web/app/data/HDP2.2/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2.2/site_properties.js b/ambari-web/app/data/HDP2.2/site_properties.js
index 730907f..019a4eb 100644
--- a/ambari-web/app/data/HDP2.2/site_properties.js
+++ b/ambari-web/app/data/HDP2.2/site_properties.js
@@ -486,7 +486,7 @@ hdp22properties.push(
     "isReconfigurable": true,
     "displayType": "",
     "isOverridable": false,
-    "isVisible": false,
+    "isVisible": true,
     "serviceName": "RANGER",
     "filename": "admin-properties.xml",
     "category": "DBSettings",

http://git-wip-us.apache.org/repos/asf/ambari/blob/06f7a559/ambari-web/app/data/HDP2.3/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2.3/site_properties.js b/ambari-web/app/data/HDP2.3/site_properties.js
index cd16770..82721dc 100644
--- a/ambari-web/app/data/HDP2.3/site_properties.js
+++ b/ambari-web/app/data/HDP2.3/site_properties.js
@@ -26,6 +26,7 @@ var excludedConfigs = [
   'db_root_user',
   'db_root_password',
   'nimbus.host',
+  'db_host',
   'XAAUDIT.DB.IS_ENABLED',
   'XAAUDIT.HDFS.IS_ENABLED',
   'UPDATE_XAPOLICIES_ON_GRANT_REVOKE',
@@ -91,6 +92,20 @@ hdp23properties.push({
     "index": 1
   },
   {
+    "id": "site property",
+    "name": "db_host",
+    "displayName": "Ranger DB host",
+    "recommendedValue": "",
+    "isReconfigurable": true,
+    "displayType": "",
+    "isOverridable": false,
+    "isVisible": false,
+    "serviceName": "RANGER",
+    "filename": "admin-properties.xml",
+    "category": "DBSettings",
+    "index": 2
+  },
+  {
     "name": "ranger_mysql_database",
     "id": "puppet var",
     "displayName": "Database Type",