|
@@ -21,8 +21,14 @@ var App = require('app');
|
|
|
var hdp22SepcificProperties = [
|
|
|
require('data/HDP2.2/yarn_properties'),
|
|
|
require('data/HDP2.2/tez_properties'),
|
|
|
- require('data/HDP2.2/hive_properties')
|
|
|
-].reduce(function(p, c) { return c.concat(p); });
|
|
|
+ require('data/HDP2.2/hive_properties'),
|
|
|
+ require('data/HDP2.2/hdfs_properties'),
|
|
|
+ require('data/HDP2.2/hbase_properties'),
|
|
|
+ require('data/HDP2.2/storm_properties'),
|
|
|
+ require('data/HDP2.2/knox_properties')
|
|
|
+].reduce(function (p, c) {
|
|
|
+ return c.concat(p);
|
|
|
+ });
|
|
|
|
|
|
var hdp2properties = require('data/HDP2/site_properties').configProperties;
|
|
|
var excludedConfigs = [
|
|
@@ -113,7 +119,7 @@ hdp22properties.push(
|
|
|
"displayType": "checkbox",
|
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hdfs-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HDFS"
|
|
|
},
|
|
|
{
|
|
@@ -122,7 +128,7 @@ hdp22properties.push(
|
|
|
"displayName": "Audit to DB",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hdfs-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HDFS"
|
|
|
},
|
|
|
{
|
|
@@ -131,24 +137,34 @@ hdp22properties.push(
|
|
|
"defaultValue": "no",
|
|
|
"displayName": "Enable Ranger for HDFS",
|
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hdfs-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HDFS"
|
|
|
},
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "HDFS",
|
|
|
+ "id": "site property",
|
|
|
+ "name": "POLICY_USER",
|
|
|
+ "value": "ambari-qa",
|
|
|
+ "defaultValue": "ambari-qa",
|
|
|
+ "displayName": "policy User for HDFS",
|
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hdfs-plugin-properties"
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HDFS"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
+ "displayName": "Ranger repository config password",
|
|
|
+ "filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HDFS"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
+ "displayName": "Ranger repository config user",
|
|
|
+ "filename": "ranger-hdfs-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HDFS"
|
|
|
},
|
|
|
/*********RANGER FOR HIVE************/
|
|
|
{
|
|
@@ -158,7 +174,7 @@ hdp22properties.push(
|
|
|
"displayType": "checkbox",
|
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hive-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HIVE"
|
|
|
},
|
|
|
{
|
|
@@ -167,7 +183,7 @@ hdp22properties.push(
|
|
|
"displayName": "Audit to DB",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hive-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HIVE"
|
|
|
},
|
|
|
{
|
|
@@ -176,34 +192,44 @@ hdp22properties.push(
|
|
|
"defaultValue": "no",
|
|
|
"displayName": "Enable Ranger for HIVE",
|
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hive-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HIVE"
|
|
|
},
|
|
|
{
|
|
|
"id": "site property",
|
|
|
- "name": "UPDATE_XAPOLICIES_ON_GRANT_REVOKE",
|
|
|
- "defaultValue": true,
|
|
|
- "displayName": "Should Hive GRANT/REVOKE update XA policies?",
|
|
|
- "displayType": "checkbox",
|
|
|
+ "name": "POLICY_USER",
|
|
|
+ "value": "ambari-qa",
|
|
|
+ "defaultValue": "ambari-qa",
|
|
|
+ "displayName": "policy User for HIVE",
|
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hive-plugin-properties",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
"serviceName": "HIVE"
|
|
|
},
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "HIVE",
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
+ "displayName": "Ranger repository config password",
|
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hive-plugin-properties"
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HIVE"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
+ "displayName": "Ranger repository config user",
|
|
|
+ "filename": "ranger-hive-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HIVE"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "UPDATE_XAPOLICIES_ON_GRANT_REVOKE",
|
|
|
+ "defaultValue": true,
|
|
|
+ "displayType": "checkbox",
|
|
|
+ "displayName": "Should Hive GRANT/REVOKE update XA policies?",
|
|
|
+ "filename": "ranger-hive-plugin-properties.xml",
|
|
|
+ "category": "GrantSettings",
|
|
|
+ "serviceName": "HIVE"
|
|
|
},
|
|
|
/*********RANGER FOR HBASE************/
|
|
|
{
|
|
@@ -213,7 +239,7 @@ hdp22properties.push(
|
|
|
"displayType": "checkbox",
|
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hbase-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HBASE"
|
|
|
},
|
|
|
{
|
|
@@ -222,7 +248,7 @@ hdp22properties.push(
|
|
|
"displayName": "Audit to DB",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hbase-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "HBASE"
|
|
|
},
|
|
|
{
|
|
@@ -231,7 +257,33 @@ hdp22properties.push(
|
|
|
"defaultValue": "no",
|
|
|
"displayName": "Enable Ranger for HBASE",
|
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hbase-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
+ "serviceName": "HBASE"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "POLICY_USER",
|
|
|
+ "value": "ambari-qa",
|
|
|
+ "defaultValue": "ambari-qa",
|
|
|
+ "displayName": "policy User for HBASE",
|
|
|
+ "filename": "ranger-hbase-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HBASE"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
+ "displayName": "Ranger repository config password",
|
|
|
+ "filename": "ranger-hbase-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "HBASE"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
+ "displayName": "Ranger repository config user",
|
|
|
+ "filename": "ranger-hbase-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
"serviceName": "HBASE"
|
|
|
},
|
|
|
{
|
|
@@ -241,25 +293,9 @@ hdp22properties.push(
|
|
|
"displayName": "Should HBase GRANT/REVOKE update XA policies?",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hbase-plugin-properties",
|
|
|
+ "category": "GrantSettings",
|
|
|
"serviceName": "HBASE"
|
|
|
},
|
|
|
- {
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "HBASE",
|
|
|
- "filename": "ranger-hbase-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-hbase-plugin-properties"
|
|
|
- },
|
|
|
/*********RANGER FOR STORM************/
|
|
|
{
|
|
|
"id": "site property",
|
|
@@ -268,7 +304,7 @@ hdp22properties.push(
|
|
|
"displayType": "checkbox",
|
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-storm-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "STORM"
|
|
|
},
|
|
|
{
|
|
@@ -277,7 +313,7 @@ hdp22properties.push(
|
|
|
"displayName": "Audit to DB",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
|
- "category": "Advanced storm-hbase-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "STORM"
|
|
|
},
|
|
|
{
|
|
@@ -286,24 +322,34 @@ hdp22properties.push(
|
|
|
"defaultValue": "no",
|
|
|
"displayName": "Enable Ranger for STORM",
|
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-storm-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "STORM"
|
|
|
},
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "STORM",
|
|
|
+ "id": "site property",
|
|
|
+ "name": "POLICY_USER",
|
|
|
+ "value": "ambari-qa",
|
|
|
+ "defaultValue": "ambari-qa",
|
|
|
+ "displayName": "policy User for STORM",
|
|
|
+ "filename": "ranger-storm-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "STORM"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
+ "displayName": "Ranger repository config password",
|
|
|
+ "filename": "ranger-storm-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "STORM"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
+ "displayName": "Ranger repository config user",
|
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-strom-plugin-properties"
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "STORM"
|
|
|
},
|
|
|
/*********RANGER FOR KNOX************/
|
|
|
{
|
|
@@ -313,7 +359,7 @@ hdp22properties.push(
|
|
|
"displayType": "checkbox",
|
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-knox-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "KNOX"
|
|
|
},
|
|
|
{
|
|
@@ -322,7 +368,7 @@ hdp22properties.push(
|
|
|
"displayName": "Audit to DB",
|
|
|
"displayType": "checkbox",
|
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-knox-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "KNOX"
|
|
|
},
|
|
|
{
|
|
@@ -331,42 +377,36 @@ hdp22properties.push(
|
|
|
"defaultValue": "no",
|
|
|
"displayName": "Enable Ranger for KNOX",
|
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-knox-plugin-properties",
|
|
|
+ "category": "RangerSettings",
|
|
|
"serviceName": "KNOX"
|
|
|
},
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "KNOX",
|
|
|
+ "id": "site property",
|
|
|
+ "name": "POLICY_USER",
|
|
|
+ "value": "ambari-qa",
|
|
|
+ "defaultValue": "ambari-qa",
|
|
|
+ "displayName": "policy User for KNOX",
|
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
|
- "category": "Advanced ranger-knox-plugin-properties"
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "KNOX"
|
|
|
},
|
|
|
- /**********************************************RANGER***************************************/
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
- "name": "RANGER_HOST",
|
|
|
- "displayName": "Policy Admin URL",
|
|
|
- "value": "",
|
|
|
- "defaultValue": "",
|
|
|
- "description": "The host that has been assigned to run Ranger Server",
|
|
|
- "displayType": "masterHost",
|
|
|
- "isOverridable": false,
|
|
|
- "isVisible": true,
|
|
|
- "isRequiredByAgent": false,
|
|
|
- "isRequired": false,
|
|
|
- "serviceName": "RANGER",
|
|
|
- "filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
+ "displayName": "Ranger repository config password",
|
|
|
+ "filename": "ranger-knox-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "KNOX"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
+ "displayName": "Ranger repository config user",
|
|
|
+ "filename": "ranger-knox-plugin-properties.xml",
|
|
|
+ "category": "RepositoryConfigs",
|
|
|
+ "serviceName": "KNOX"
|
|
|
},
|
|
|
+ /**********************************************RANGER***************************************/
|
|
|
{
|
|
|
"id": "site property",
|
|
|
"name": "ambari_user_password",
|
|
@@ -558,7 +598,7 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "RangerSettings"
|
|
|
},
|
|
|
{
|
|
|
"id": "puppet var",
|
|
@@ -571,7 +611,7 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "RangerSettings"
|
|
|
},
|
|
|
{
|
|
|
"id": "puppet var",
|
|
@@ -584,7 +624,7 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "RangerSettings"
|
|
|
},
|
|
|
{
|
|
|
"id": "puppet var",
|
|
@@ -597,7 +637,7 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "RangerSettings"
|
|
|
},
|
|
|
{
|
|
|
"id": "site property",
|
|
@@ -615,7 +655,7 @@ hdp22properties.push(
|
|
|
},
|
|
|
{
|
|
|
displayName: 'UNIX',
|
|
|
- foreignKeys: ['remoteLoginEnabled', 'authServiceHostName','authServicePort']
|
|
|
+ foreignKeys: ['remoteLoginEnabled', 'authServiceHostName', 'authServicePort']
|
|
|
},
|
|
|
{
|
|
|
displayName: 'NONE'
|
|
@@ -628,10 +668,10 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "RangerSettings"
|
|
|
},
|
|
|
{
|
|
|
- "id": "puppet var",
|
|
|
+ "id": "site property",
|
|
|
"name": "remoteLoginEnabled",
|
|
|
"displayName": "Allow remote Login",
|
|
|
"defaultValue": true,
|
|
@@ -641,13 +681,93 @@ hdp22properties.push(
|
|
|
"isVisible": true,
|
|
|
"serviceName": "RANGER",
|
|
|
"filename": "admin-properties.xml",
|
|
|
- "category": "Advanced admin-properties"
|
|
|
+ "category": "UnixAuthenticationSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "authServiceHostName",
|
|
|
+ "displayName": "authServiceHostName",
|
|
|
+ "defaultValue": 'localhost',
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "UnixAuthenticationSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "authServicePort",
|
|
|
+ "displayName": "authServicePort",
|
|
|
+ "defaultValue": '5151',
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "displayType": "int",
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "UnixAuthenticationSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "xa_ldap_url",
|
|
|
+ "displayName": "xa_ldap_url",
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "LDAPSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "xa_ldap_userDNpattern",
|
|
|
+ "displayName": "xa_ldap_userDNpattern",
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "LDAPSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "xa_ldap_groupRoleAttribute",
|
|
|
+ "displayName": "xa_ldap_groupRoleAttribute",
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "LDAPSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "xa_ldap_ad_domain",
|
|
|
+ "displayName": "xa_ldap_ad_domain",
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "ADSettings"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "site property",
|
|
|
+ "name": "xa_ldap_ad_url",
|
|
|
+ "displayName": "xa_ldap_ad_url",
|
|
|
+ "isReconfigurable": true,
|
|
|
+ "isOverridable": false,
|
|
|
+ "isVisible": true,
|
|
|
+ "serviceName": "RANGER",
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
+ "category": "ADSettings"
|
|
|
}
|
|
|
);
|
|
|
|
|
|
var additionalProperties = [];
|
|
|
|
|
|
-hdp22SepcificProperties.forEach(function(config) {
|
|
|
+hdp22SepcificProperties.forEach(function (config) {
|
|
|
if (!hdp22properties.findProperty('name', config.name)) additionalProperties.push(config);
|
|
|
else {
|
|
|
hdp22properties.findProperty('name', config.name).category = config.category;
|