|
@@ -21,14 +21,8 @@ var App = require('app');
|
|
var hdp22SepcificProperties = [
|
|
var hdp22SepcificProperties = [
|
|
require('data/HDP2.2/yarn_properties'),
|
|
require('data/HDP2.2/yarn_properties'),
|
|
require('data/HDP2.2/tez_properties'),
|
|
require('data/HDP2.2/tez_properties'),
|
|
- 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);
|
|
|
|
- });
|
|
|
|
|
|
+ require('data/HDP2.2/hive_properties')
|
|
|
|
+].reduce(function(p, c) { return c.concat(p); });
|
|
|
|
|
|
var hdp2properties = require('data/HDP2/site_properties').configProperties;
|
|
var hdp2properties = require('data/HDP2/site_properties').configProperties;
|
|
var excludedConfigs = [
|
|
var excludedConfigs = [
|
|
@@ -119,7 +113,7 @@ hdp22properties.push(
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hdfs-plugin-properties",
|
|
"serviceName": "HDFS"
|
|
"serviceName": "HDFS"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -128,7 +122,7 @@ hdp22properties.push(
|
|
"displayName": "Audit to DB",
|
|
"displayName": "Audit to DB",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hdfs-plugin-properties",
|
|
"serviceName": "HDFS"
|
|
"serviceName": "HDFS"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -138,34 +132,24 @@ hdp22properties.push(
|
|
"displayName": "Enable Ranger for HDFS",
|
|
"displayName": "Enable Ranger for HDFS",
|
|
"isOverridable": false,
|
|
"isOverridable": false,
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hdfs-plugin-properties",
|
|
"serviceName": "HDFS"
|
|
"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": "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",
|
|
|
|
|
|
+ "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",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
"filename": "ranger-hdfs-plugin-properties.xml",
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "serviceName": "HDFS"
|
|
|
|
|
|
+ "category": "Advanced ranger-hdfs-plugin-properties"
|
|
},
|
|
},
|
|
/*********RANGER FOR HIVE************/
|
|
/*********RANGER FOR HIVE************/
|
|
{
|
|
{
|
|
@@ -175,7 +159,7 @@ hdp22properties.push(
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hive-plugin-properties",
|
|
"serviceName": "HIVE"
|
|
"serviceName": "HIVE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -184,7 +168,7 @@ hdp22properties.push(
|
|
"displayName": "Audit to DB",
|
|
"displayName": "Audit to DB",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hive-plugin-properties",
|
|
"serviceName": "HIVE"
|
|
"serviceName": "HIVE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -194,45 +178,35 @@ hdp22properties.push(
|
|
"displayName": "Enable Ranger for HIVE",
|
|
"displayName": "Enable Ranger for HIVE",
|
|
"isOverridable": false,
|
|
"isOverridable": false,
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
- "serviceName": "HIVE"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "id": "site property",
|
|
|
|
- "name": "POLICY_USER",
|
|
|
|
- "value": "ambari-qa",
|
|
|
|
- "defaultValue": "ambari-qa",
|
|
|
|
- "displayName": "policy User for HIVE",
|
|
|
|
- "filename": "ranger-hive-plugin-properties.xml",
|
|
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "serviceName": "HIVE"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "id": "site property",
|
|
|
|
- "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
|
- "displayName": "Ranger repository config password",
|
|
|
|
- "filename": "ranger-hive-plugin-properties.xml",
|
|
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "serviceName": "HIVE"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "id": "site property",
|
|
|
|
- "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
|
- "displayName": "Ranger repository config user",
|
|
|
|
- "filename": "ranger-hive-plugin-properties.xml",
|
|
|
|
- "category": "RepositoryConfigs",
|
|
|
|
|
|
+ "category": "Advanced ranger-hive-plugin-properties",
|
|
"serviceName": "HIVE"
|
|
"serviceName": "HIVE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"id": "site property",
|
|
"id": "site property",
|
|
"name": "UPDATE_XAPOLICIES_ON_GRANT_REVOKE",
|
|
"name": "UPDATE_XAPOLICIES_ON_GRANT_REVOKE",
|
|
"defaultValue": true,
|
|
"defaultValue": true,
|
|
- "displayType": "checkbox",
|
|
|
|
"displayName": "Should Hive GRANT/REVOKE update XA policies?",
|
|
"displayName": "Should Hive GRANT/REVOKE update XA policies?",
|
|
|
|
+ "displayType": "checkbox",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
"filename": "ranger-hive-plugin-properties.xml",
|
|
- "category": "GrantSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hive-plugin-properties",
|
|
"serviceName": "HIVE"
|
|
"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",
|
|
|
|
+ "filename": "ranger-hive-plugin-properties.xml",
|
|
|
|
+ "category": "Advanced ranger-hive-plugin-properties"
|
|
|
|
+ },
|
|
/*********RANGER FOR HBASE************/
|
|
/*********RANGER FOR HBASE************/
|
|
{
|
|
{
|
|
"id": "site property",
|
|
"id": "site property",
|
|
@@ -241,7 +215,7 @@ hdp22properties.push(
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hbase-plugin-properties",
|
|
"serviceName": "HBASE"
|
|
"serviceName": "HBASE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -250,7 +224,7 @@ hdp22properties.push(
|
|
"displayName": "Audit to DB",
|
|
"displayName": "Audit to DB",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hbase-plugin-properties",
|
|
"serviceName": "HBASE"
|
|
"serviceName": "HBASE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -260,33 +234,7 @@ hdp22properties.push(
|
|
"displayName": "Enable Ranger for HBASE",
|
|
"displayName": "Enable Ranger for HBASE",
|
|
"isOverridable": false,
|
|
"isOverridable": false,
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
- "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",
|
|
|
|
|
|
+ "category": "Advanced ranger-hbase-plugin-properties",
|
|
"serviceName": "HBASE"
|
|
"serviceName": "HBASE"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -296,9 +244,25 @@ hdp22properties.push(
|
|
"displayName": "Should HBase GRANT/REVOKE update XA policies?",
|
|
"displayName": "Should HBase GRANT/REVOKE update XA policies?",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
"filename": "ranger-hbase-plugin-properties.xml",
|
|
- "category": "GrantSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-hbase-plugin-properties",
|
|
"serviceName": "HBASE"
|
|
"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************/
|
|
/*********RANGER FOR STORM************/
|
|
{
|
|
{
|
|
"id": "site property",
|
|
"id": "site property",
|
|
@@ -307,7 +271,7 @@ hdp22properties.push(
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-storm-plugin-properties",
|
|
"serviceName": "STORM"
|
|
"serviceName": "STORM"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -316,7 +280,7 @@ hdp22properties.push(
|
|
"displayName": "Audit to DB",
|
|
"displayName": "Audit to DB",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced storm-hbase-plugin-properties",
|
|
"serviceName": "STORM"
|
|
"serviceName": "STORM"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -326,34 +290,24 @@ hdp22properties.push(
|
|
"displayName": "Enable Ranger for STORM",
|
|
"displayName": "Enable Ranger for STORM",
|
|
"isOverridable": false,
|
|
"isOverridable": false,
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
- "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",
|
|
|
|
|
|
+ "category": "Advanced ranger-storm-plugin-properties",
|
|
"serviceName": "STORM"
|
|
"serviceName": "STORM"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "id": "site property",
|
|
|
|
- "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
|
- "displayName": "Ranger repository config user",
|
|
|
|
|
|
+ "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",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
"filename": "ranger-storm-plugin-properties.xml",
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "serviceName": "STORM"
|
|
|
|
|
|
+ "category": "Advanced ranger-strom-plugin-properties"
|
|
},
|
|
},
|
|
/*********RANGER FOR KNOX************/
|
|
/*********RANGER FOR KNOX************/
|
|
{
|
|
{
|
|
@@ -363,7 +317,7 @@ hdp22properties.push(
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"dependentConfigPattern": "^XAAUDIT.HDFS",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-knox-plugin-properties",
|
|
"serviceName": "KNOX"
|
|
"serviceName": "KNOX"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -372,7 +326,7 @@ hdp22properties.push(
|
|
"displayName": "Audit to DB",
|
|
"displayName": "Audit to DB",
|
|
"displayType": "checkbox",
|
|
"displayType": "checkbox",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
|
|
+ "category": "Advanced ranger-knox-plugin-properties",
|
|
"serviceName": "KNOX"
|
|
"serviceName": "KNOX"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -382,36 +336,42 @@ hdp22properties.push(
|
|
"displayName": "Enable Ranger for KNOX",
|
|
"displayName": "Enable Ranger for KNOX",
|
|
"isOverridable": false,
|
|
"isOverridable": false,
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
- "category": "RangerSettings",
|
|
|
|
- "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": "RepositoryConfigs",
|
|
|
|
|
|
+ "category": "Advanced ranger-knox-plugin-properties",
|
|
"serviceName": "KNOX"
|
|
"serviceName": "KNOX"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "id": "site property",
|
|
|
|
- "name": "REPOSITORY_CONFIG_PASSWORD",
|
|
|
|
- "displayName": "Ranger repository config password",
|
|
|
|
|
|
+ "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",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
"filename": "ranger-knox-plugin-properties.xml",
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "serviceName": "KNOX"
|
|
|
|
|
|
+ "category": "Advanced ranger-knox-plugin-properties"
|
|
},
|
|
},
|
|
|
|
+ /**********************************************RANGER***************************************/
|
|
{
|
|
{
|
|
- "id": "site property",
|
|
|
|
- "name": "REPOSITORY_CONFIG_USERNAME",
|
|
|
|
- "displayName": "Ranger repository config user",
|
|
|
|
- "filename": "ranger-knox-plugin-properties.xml",
|
|
|
|
- "category": "RepositoryConfigs",
|
|
|
|
- "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": "RANGER",
|
|
|
|
+ "filename": "admin-properties.xml",
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
- /**********************************************RANGER***************************************/
|
|
|
|
{
|
|
{
|
|
"id": "site property",
|
|
"id": "site property",
|
|
"name": "ambari_user_password",
|
|
"name": "ambari_user_password",
|
|
@@ -603,7 +563,7 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "category": "RangerSettings"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"id": "puppet var",
|
|
"id": "puppet var",
|
|
@@ -616,7 +576,7 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "category": "RangerSettings"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"id": "puppet var",
|
|
"id": "puppet var",
|
|
@@ -629,7 +589,7 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "category": "RangerSettings"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"id": "puppet var",
|
|
"id": "puppet var",
|
|
@@ -642,7 +602,7 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "category": "RangerSettings"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"id": "site property",
|
|
"id": "site property",
|
|
@@ -660,7 +620,7 @@ hdp22properties.push(
|
|
},
|
|
},
|
|
{
|
|
{
|
|
displayName: 'UNIX',
|
|
displayName: 'UNIX',
|
|
- foreignKeys: ['remoteLoginEnabled', 'authServiceHostName', 'authServicePort']
|
|
|
|
|
|
+ foreignKeys: ['remoteLoginEnabled', 'authServiceHostName','authServicePort']
|
|
},
|
|
},
|
|
{
|
|
{
|
|
displayName: 'NONE'
|
|
displayName: 'NONE'
|
|
@@ -673,10 +633,10 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "category": "RangerSettings"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "id": "site property",
|
|
|
|
|
|
+ "id": "puppet var",
|
|
"name": "remoteLoginEnabled",
|
|
"name": "remoteLoginEnabled",
|
|
"displayName": "Allow remote Login",
|
|
"displayName": "Allow remote Login",
|
|
"defaultValue": true,
|
|
"defaultValue": true,
|
|
@@ -686,93 +646,13 @@ hdp22properties.push(
|
|
"isVisible": true,
|
|
"isVisible": true,
|
|
"serviceName": "RANGER",
|
|
"serviceName": "RANGER",
|
|
"filename": "admin-properties.xml",
|
|
"filename": "admin-properties.xml",
|
|
- "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"
|
|
|
|
|
|
+ "category": "Advanced admin-properties"
|
|
}
|
|
}
|
|
);
|
|
);
|
|
|
|
|
|
var additionalProperties = [];
|
|
var additionalProperties = [];
|
|
|
|
|
|
-hdp22SepcificProperties.forEach(function (config) {
|
|
|
|
|
|
+hdp22SepcificProperties.forEach(function(config) {
|
|
if (!hdp22properties.findProperty('name', config.name)) additionalProperties.push(config);
|
|
if (!hdp22properties.findProperty('name', config.name)) additionalProperties.push(config);
|
|
else {
|
|
else {
|
|
hdp22properties.findProperty('name', config.name).category = config.category;
|
|
hdp22properties.findProperty('name', config.name).category = config.category;
|