http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/themes/theme_version_1.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/themes/theme_version_1.json b/ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/themes/theme_version_1.json new file mode 100644 index 0000000..a307f56 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/themes/theme_version_1.json @@ -0,0 +1,1821 @@ +{ + "name": "default", + "description": "Default theme for Ranger service", + "configuration": { + "layouts": [ + { + "name": "default", + "tabs": [ + { + "name": "ranger_admin_settings", + "display-name": "Ranger Admin", + "layout": { + "tab-columns": "2", + "tab-rows": "2", + "sections": [ + { + "name": "section-ranger-admin", + "display-name": "Ranger Admin", + "row-index": "0", + "column-index": "0", + "row-span": "3", + "column-span": "2", + "section-columns": "2", + "section-rows": "3", + "subsections": [ + { + "name": "subsection-ranger-db-row1-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + }, + { + "name": "subsection-ranger-db-row1-col2", + "row-index": "0", + "column-index": "1", + "row-span": "1", + "column-span": "1" + }, + { + "name": "subsection-ranger-db-row2", + "row-index": "1", + "column-index": "0", + "row-span": "1", + "column-span": "2" + }, + { + "name": "subsection-ranger-db-root-user-col1", + "row-index": "2", + "column-index": "0", + "row-span": "1", + "column-span": "1", + "depends-on": [ + { + "configs":[ + "ranger-env/create_db_dbuser" + ], + "if": "${ranger-env/create_db_dbuser}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "name": "subsection-ranger-db-root-user-col2", + "row-index": "2", + "column-index": "1", + "row-span": "1", + "column-span": "1", + "depends-on": [ + { + "configs":[ + "ranger-env/create_db_dbuser" + ], + "if": "${ranger-env/create_db_dbuser}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + } + ] + } + ] + } + }, + { + "name": "ranger_user_info", + "display-name": "Ranger User Info", + "layout": { + "tab-columns": "1", + "tab-rows": "1", + "sections": [ + { + "name": "section-user-info", + "display-name": "Ranger User Info", + "row-index": "0", + "column-index": "0", + "row-span": "2", + "column-span": "1", + "section-columns": "1", + "section-rows": "2", + "subsections": [ + { + "name": "subsection-ranger-user-row1-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + }, + { + "name": "subsection-ranger-user-row2-col1", + "row-index": "1", + "column-index": "0", + "row-span": "1", + "column-span": "1", + "subsection-tabs": [ + { + "name": "ldap-common-configs", + "display-name": "Common Configs", + "depends-on": [ + { + "configs": [ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.ldapusersync.process.LdapUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "name": "ldap-user-configs", + "display-name": "User Configs", + "depends-on": [ + { + "configs": [ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.ldapusersync.process.LdapUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "name": "ldap-group-configs", + "display-name": "Group Configs", + "depends-on": [ + { + "configs": [ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.ldapusersync.process.LdapUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + } + ], + "depends-on": [ + { + "configs": [ + "ranger-ugsync-site/ranger.usersync.enabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.enabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + } + ] + } + ] + } + }, + { + "name": "ranger_plugin", + "display-name": "Ranger Plugin", + "layout": { + "tab-columns": "1", + "tab-rows": "1", + "sections": [ + { + "name": "section-ranger-plugin", + "display-name": "Ranger Plugin", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "3", + "section-columns": "3", + "section-rows": "1", + "subsections": [ + { + "name": "section-ranger-plugin-row1-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + }, + { + "name": "section-ranger-plugin-row1-col2", + "row-index": "0", + "column-index": "1", + "row-span": "1", + "column-span": "1" + }, + { + "name": "section-ranger-plugin-row1-col3", + "row-index": "0", + "column-index": "2", + "row-span": "1", + "column-span": "1" + } + ] + } + ] + } + }, + { + "name": "ranger_audit_settings", + "display-name": "Ranger Audit", + "layout": { + "tab-columns": "2", + "tab-rows": "2", + "sections": [ + { + "name": "section-ranger-audit-solr", + "display-name": "Audit to Solr", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [ + { + "name": "subsection-ranger-solr-row1-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + } + ] + }, + { + "name": "section-ranger-audit-hdfs", + "display-name": "Audit to HDFS", + "row-index": "0", + "column-index": "1", + "row-span": "1", + "column-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [ + { + "name": "subsection-ranger-hdfs-row1-col2", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + } + ] + } + ] + } + }, + { + "name": "ranger_tagsync", + "display-name": "Ranger Tagsync", + "layout": { + "tab-columns": "2", + "tab-rows": "2", + "sections": [ + { + "name": "section-tagsync-atlas", + "display-name": "Atlas Tag Source", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [ + { + "name": "subsection-ranger-tagsync-row1-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + } + ] + }, + { + "name": "section-tagsync-atlasrest", + "display-name": "AtlasRest Tag Source", + "row-index": "0", + "column-index": "1", + "row-span": "1", + "column-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [ + { + "name": "subsection-ranger-tagsync-row1-col2", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + } + ] + }, + { + "name": "section-tagsync-file", + "display-name": "File Tag Source", + "row-index": "1", + "column-index": "0", + "row-span": "1", + "column-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [ + { + "name": "subsection-ranger-tagsync-row2-col1", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + } + ] + } + ] + } + } + ] + } + ], + "placement": { + "configuration-layout": "default", + "configs": [ + { + "config": "admin-properties/DB_FLAVOR", + "subsection-name": "subsection-ranger-db-row1-col1" + }, + { + "config": "admin-properties/db_name", + "subsection-name": "subsection-ranger-db-row1-col1" + }, + { + "config": "admin-properties/db_user", + "subsection-name": "subsection-ranger-db-row1-col1" + }, + { + "config": "ranger-admin-site/ranger.jpa.jdbc.url", + "subsection-name": "subsection-ranger-db-row1-col1" + }, + { + "config": "admin-properties/db_host", + "subsection-name": "subsection-ranger-db-row1-col2" + }, + { + "config": "ranger-admin-site/ranger.jpa.jdbc.driver", + "subsection-name": "subsection-ranger-db-row1-col2" + }, + { + "config": "admin-properties/db_password", + "subsection-name": "subsection-ranger-db-row1-col2" + }, + { + "config": "ranger-env/test_db_connection", + "subsection-name": "subsection-ranger-db-row2", + "property_value_attributes": { + "ui_only_property": true + }, + "depends-on": [ + { + "configs":[ + "ranger-env/create_db_dbuser" + ], + "if": "${ranger-env/create_db_dbuser}", + "then": { + "property_value_attributes": { + "visible": false + } + }, + "else": { + "property_value_attributes": { + "visible": true + } + } + } + ] + }, + { + "config": "ranger-env/create_db_dbuser", + "subsection-name": "subsection-ranger-db-row2" + }, + { + "config": "admin-properties/db_root_user", + "subsection-name": "subsection-ranger-db-root-user-col1" + }, + { + "config": "ranger-env/ranger_privelege_user_jdbc_url", + "subsection-name": "subsection-ranger-db-root-user-col1" + }, + { + "config": "admin-properties/db_root_password", + "subsection-name": "subsection-ranger-db-root-user-col2" + }, + { + "config": "ranger-env/test_root_db_connection", + "subsection-name": "subsection-ranger-db-root-user-col1", + "property_value_attributes": { + "ui_only_property": true + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.enabled", + "subsection-name": "subsection-ranger-user-row1-col1" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.source.impl.class", + "subsection-name": "subsection-ranger-user-row2-col1" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.minUserId", + "subsection-name": "subsection-ranger-user-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.unixusersync.process.UnixUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.password.file", + "subsection-name": "subsection-ranger-user-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.unixusersync.process.UnixUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.group.file", + "subsection-name": "subsection-ranger-user-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.unixusersync.process.UnixUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.filesource.file", + "subsection-name": "subsection-ranger-user-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.unixusersync.process.FileSourceUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.filesource.text.delimiter", + "subsection-name": "subsection-ranger-user-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.source.impl.class" + ], + "if": "${ranger-ugsync-site/ranger.usersync.source.impl.class} === org.apache.ranger.unixusersync.process.FileSourceUserGroupBuilder", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.url", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-common-configs" + }, + { + "config": "ranger-env/bind_anonymous", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-common-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.binddn", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-common-configs", + "depends-on": [ + { + "configs":[ + "ranger-env/bind_anonymous" + ], + "if": "${ranger-env/bind_anonymous}", + "then": { + "property_value_attributes": { + "visible": false + } + }, + "else": { + "property_value_attributes": { + "visible": true + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.ldapbindpassword", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-common-configs", + "depends-on": [ + { + "configs":[ + "ranger-env/bind_anonymous" + ], + "if": "${ranger-env/bind_anonymous}", + "then": { + "property_value_attributes": { + "visible": false + } + }, + "else": { + "property_value_attributes": { + "visible": true + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.deltasync", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-common-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.nameattribute", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.objectclass", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchbase", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchfilter", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchscope", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.groupnameattribute", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.usermapsyncenabled", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.user.searchenabled", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-user-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.search.first.enabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.search.first.enabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchenabled", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs" + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.memberattributename", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.nameattribute", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.objectclass", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchbase", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchfilter", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.search.first.enabled", + "subsection-name": "subsection-ranger-user-row2-col1", + "subsection-tab-name": "ldap-group-configs", + "depends-on": [ + { + "configs":[ + "ranger-ugsync-site/ranger.usersync.group.searchenabled" + ], + "if": "${ranger-ugsync-site/ranger.usersync.group.searchenabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-hdfs-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col1", + "depends-on": [ + { + "resource": "service", + "if": "HDFS", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-yarn-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col1", + "depends-on": [ + { + "resource": "service", + "if": "YARN", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-hive-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col1", + "depends-on": [ + { + "resource": "service", + "if": "HIVE", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-hbase-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col2", + "depends-on": [ + { + "resource": "service", + "if": "HBASE", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-storm-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col2", + "depends-on": [ + { + "resource": "service", + "if": "STORM", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-knox-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col3", + "depends-on": [ + { + "resource": "service", + "if": "KNOX", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-kafka-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col3", + "depends-on": [ + { + "resource": "service", + "if": "KAFKA", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-atlas-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col3", + "depends-on": [ + { + "resource": "service", + "if": "ATLAS", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/ranger-nifi-plugin-enabled", + "subsection-name": "section-ranger-plugin-row1-col1", + "depends-on": [ + { + "resource": "service", + "if": "NIFI", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/xasecure.audit.destination.solr", + "subsection-name": "subsection-ranger-solr-row1-col1" + }, + { + "config": "ranger-env/is_solrCloud_enabled", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.solr" + ], + "if": "${ranger-env/xasecure.audit.destination.solr}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/is_external_solrCloud_enabled", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.solr", + "ranger-env/is_solrCloud_enabled" + ], + "if": "${ranger-env/xasecure.audit.destination.solr} && ${ranger-env/is_solrCloud_enabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/is_external_solrCloud_kerberos", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.solr", + "ranger-env/is_solrCloud_enabled", + "ranger-env/is_external_solrCloud_enabled" + ], + "if": "${ranger-env/xasecure.audit.destination.solr} && ${ranger-env/is_solrCloud_enabled} && ${ranger-env/is_external_solrCloud_enabled}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-admin-site/ranger.audit.solr.urls", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/is_solrCloud_enabled", + "ranger-env/xasecure.audit.destination.solr" + ], + "if": "${ranger-env/is_solrCloud_enabled} === false && ${ranger-env/xasecure.audit.destination.solr}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-admin-site/ranger.audit.solr.zookeepers", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/is_solrCloud_enabled", + "ranger-env/xasecure.audit.destination.solr" + ], + "if": "${ranger-env/is_solrCloud_enabled} && ${ranger-env/xasecure.audit.destination.solr}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-admin-site/ranger.audit.solr.username", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.solr" + ], + "if": "${ranger-env/xasecure.audit.destination.solr}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-admin-site/ranger.audit.solr.password", + "subsection-name": "subsection-ranger-solr-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.solr" + ], + "if": "${ranger-env/xasecure.audit.destination.solr}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-env/xasecure.audit.destination.hdfs", + "subsection-name": "subsection-ranger-hdfs-row1-col2" + }, + { + "config": "ranger-env/xasecure.audit.destination.hdfs.dir", + "subsection-name": "subsection-ranger-hdfs-row1-col2", + "depends-on": [ + { + "configs":[ + "ranger-env/xasecure.audit.destination.hdfs" + ], + "if": "${ranger-env/xasecure.audit.destination.hdfs}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlas", + "subsection-name": "subsection-ranger-tagsync-row1-col1" + }, + { + "config": "tagsync-application-properties/atlas.kafka.bootstrap.servers", + "subsection-name": "subsection-ranger-tagsync-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.atlas" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.atlas}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "tagsync-application-properties/atlas.kafka.zookeeper.connect", + "subsection-name": "subsection-ranger-tagsync-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.atlas" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.atlas}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "tagsync-application-properties/atlas.kafka.entities.group.id", + "subsection-name": "subsection-ranger-tagsync-row1-col1", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.atlas" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.atlas}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest", + "subsection-name": "subsection-ranger-tagsync-row1-col2" + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest.endpoint", + "subsection-name": "subsection-ranger-tagsync-row1-col2", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.atlasrest" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.atlasrest}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest.download.interval.millis", + "subsection-name": "subsection-ranger-tagsync-row1-col2", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.atlasrest" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.atlasrest}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file", + "subsection-name": "subsection-ranger-tagsync-row2-col1" + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file.check.interval.millis", + "subsection-name": "subsection-ranger-tagsync-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.file" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.file}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file.filename", + "subsection-name": "subsection-ranger-tagsync-row2-col1", + "depends-on": [ + { + "configs":[ + "ranger-tagsync-site/ranger.tagsync.source.file" + ], + "if": "${ranger-tagsync-site/ranger.tagsync.source.file}", + "then": { + "property_value_attributes": { + "visible": true + } + }, + "else": { + "property_value_attributes": { + "visible": false + } + } + } + ] + } + ] + }, + "widgets": [ + { + "config": "admin-properties/DB_FLAVOR", + "widget": { + "type": "combo" + } + }, + { + "config": "admin-properties/db_user", + "widget": { + "type": "text-field" + } + }, + { + "config": "admin-properties/db_name", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-admin-site/ranger.jpa.jdbc.url", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-admin-site/ranger.jpa.jdbc.driver", + "widget": { + "type": "text-field" + } + }, + { + "config": "admin-properties/db_host", + "widget": { + "type": "text-field" + } + }, + { + "config": "admin-properties/db_password", + "widget": { + "type": "password" + } + }, + { + "config": "ranger-env/test_db_connection", + "widget": { + "type": "test-db-connection", + "display-name": "Test Connection", + "required-properties": { + "jdbc.driver.class": "ranger-admin-site/ranger.jpa.jdbc.driver", + "jdbc.driver.url": "ranger-admin-site/ranger.jpa.jdbc.url", + "db.connection.source.host": "ranger-site/ranger_admin_hosts", + "db.type": "admin-properties/DB_FLAVOR", + "db.connection.destination.host": "admin-properties/db_host", + "db.connection.user": "admin-properties/db_user", + "db.connection.password": "admin-properties/db_password" + } + } + }, + { + "config": "ranger-env/create_db_dbuser", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger_privelege_user_jdbc_url", + "widget": { + "type": "text-field" + } + }, + { + "config": "admin-properties/db_root_user", + "widget": { + "type": "text-field" + } + }, + { + "config": "admin-properties/db_root_password", + "widget": { + "type": "password" + } + }, + { + "config": "ranger-env/test_root_db_connection", + "widget": { + "type": "test-db-connection", + "display-name": "Test Connection", + "required-properties": { + "jdbc.driver.class": "ranger-admin-site/ranger.jpa.jdbc.driver", + "jdbc.driver.url": "ranger-env/ranger_privelege_user_jdbc_url", + "db.connection.source.host": "ranger-site/ranger_admin_hosts", + "db.type": "admin-properties/DB_FLAVOR", + "db.connection.destination.host": "admin-properties/db_host", + "db.connection.user": "admin-properties/db_root_user", + "db.connection.password": "admin-properties/db_root_password" + } + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.source.impl.class", + "widget": { + "type": "combo" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.url", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-env/bind_anonymous", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.binddn", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.ldapbindpassword", + "widget": { + "type": "password" + } + }, + + { + "config": "ranger-ugsync-site/ranger.usersync.enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.usermapsyncenabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.user.searchenabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.nameattribute", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.objectclass", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchbase", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchfilter", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.searchscope", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.user.groupnameattribute", + "widget": { + "type": "text-field" + } + }, + + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchenabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.memberattributename", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.nameattribute", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.objectclass", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchbase", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.searchfilter", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.group.search.first.enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.minUserId", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.password.file", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.unix.group.file", + "widget": { + "type": "text-field" + } + }, + + { + "config": "ranger-ugsync-site/ranger.usersync.filesource.file", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.filesource.text.delimiter", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-ugsync-site/ranger.usersync.ldap.deltasync", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-hdfs-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-hive-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-hbase-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-kafka-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-knox-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-storm-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-yarn-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-atlas-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/ranger-nifi-plugin-enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/xasecure.audit.destination.solr", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/is_solrCloud_enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/is_external_solrCloud_enabled", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/is_external_solrCloud_kerberos", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-admin-site/ranger.audit.solr.urls", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-admin-site/ranger.audit.solr.zookeepers", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-admin-site/ranger.audit.solr.username", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-admin-site/ranger.audit.solr.password", + "widget": { + "type": "password" + } + }, + { + "config": "ranger-env/xasecure.audit.destination.hdfs", + "widget": { + "type": "toggle" + } + }, + { + "config": "ranger-env/xasecure.audit.destination.hdfs.dir", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file.check.interval.millis", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file.filename", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest.download.interval.millis", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest.endpoint", + "widget": { + "type": "text-field" + } + }, + { + "config": "tagsync-application-properties/atlas.kafka.entities.group.id", + "widget": { + "type": "text-field" + } + }, + { + "config": "tagsync-application-properties/atlas.kafka.bootstrap.servers", + "widget": { + "type": "text-field" + } + }, + { + "config": "tagsync-application-properties/atlas.kafka.zookeeper.connect", + "widget": { + "type": "text-field" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlas", + "widget": { + "type": "checkbox" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.atlasrest", + "widget": { + "type": "checkbox" + } + }, + { + "config": "ranger-tagsync-site/ranger.tagsync.source.file", + "widget": { + "type": "checkbox" + } + } + ] + } +} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/alerts.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/alerts.json b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/alerts.json deleted file mode 100644 index 05c3fe6..0000000 --- a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/alerts.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "RANGER_KMS": { - "service": [], - "RANGER_KMS_SERVER": [ - { - "name": "ranger_kms_server_process", - "label": "Ranger KMS Server Process", - "description": "This host-level alert is triggered if the Ranger KMS Server cannot be determined to be up.", - "interval": 1, - "scope": "HOST", - "source": { - "type": "PORT", - "uri": "{{kms-env/kms_port}}", - "default_port": 9292, - "reporting": { - "ok": { - "text": "TCP OK - {0:.3f}s response on port {1}" - }, - "warning": { - "text": "TCP OK - {0:.3f}s response on port {1}", - "value": 1.5 - }, - "critical": { - "text": "Connection failed: {0} to {1}:{2}", - "value": 5.0 - } - } - } - } - ] - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/dbks-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/dbks-site.xml b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/dbks-site.xml deleted file mode 100644 index 4ac20b3..0000000 --- a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/dbks-site.xml +++ /dev/null @@ -1,206 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---> -<configuration> - <property> - <name>hadoop.kms.blacklist.DECRYPT_EEK</name> - <value>hdfs</value> - <description>Blacklist for decrypt EncryptedKey CryptoExtension operations</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.db.encrypt.key.password</name> - <value>_</value> - <property-type>PASSWORD</property-type> - <value-attributes> - <type>password</type> - </value-attributes> - <description>Password used for encrypting Master Key</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.url</name> - <display-name>JDBC connect string</display-name> - <value>jdbc:mysql://localhost</value> - <description>URL for Database</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <depends-on> - <property> - <type>kms-properties</type> - <name>DB_FLAVOR</name> - </property> - <property> - <type>kms-properties</type> - <name>db_host</name> - </property> - <property> - <type>kms-properties</type> - <name>db_name</name> - </property> - </depends-on> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.user</name> - <value>{{db_user}}</value> - <description>Database username used for operation</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.password</name> - <value>_</value> - <property-type>PASSWORD</property-type> - <value-attributes> - <type>password</type> - </value-attributes> - <description>Database user's password</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.credential.provider.path</name> - <value>/etc/ranger/kms/rangerkms.jceks</value> - <description>Credential provider path</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.credential.alias</name> - <value>ranger.ks.jdbc.password</value> - <description>Credential alias used for password</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.masterkey.credential.alias</name> - <value>ranger.ks.masterkey.password</value> - <description>Credential alias used for masterkey</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.dialect</name> - <value>{{jdbc_dialect}}</value> - <description>Dialect used for database</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jpa.jdbc.driver</name> - <display-name>Driver class name for a JDBC Ranger KMS database</display-name> - <value>com.mysql.jdbc.Driver</value> - <description>Driver used for database</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <depends-on> - <property> - <type>kms-properties</type> - <name>DB_FLAVOR</name> - </property> - </depends-on> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.jdbc.sqlconnectorjar</name> - <value>{{ews_lib_jar_path}}</value> - <description>Driver used for database</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.hsm.type</name> - <display-name>HSM Type</display-name> - <value>LunaProvider</value> - <value-attributes> - <overridable>false</overridable> - <type>value-list</type> - <entries> - <entry> - <value>LunaProvider</value> - <label>Luna Provider</label> - </entry> - </entries> - </value-attributes> - <description>HSM type</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.hsm.enabled</name> - <display-name>HSM Enabled</display-name> - <value>false</value> - <description>Enable HSM ?</description> - <value-attributes> - <empty-value-valid>true</empty-value-valid> - <type>value-list</type> - <overridable>false</overridable> - <entries> - <entry> - <value>true</value> - <label>Yes</label> - </entry> - <entry> - <value>false</value> - <label>No</label> - </entry> - </entries> - <selection-cardinality>1</selection-cardinality> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.hsm.partition.name</name> - <display-name>HSM partition name. In case of HSM HA enter the group name</display-name> - <value>par19</value> - <description/> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.hsm.partition.password</name> - <value>_</value> - <property-type>PASSWORD</property-type> - <value-attributes> - <type>password</type> - </value-attributes> - <description>HSM partition password</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.hsm.partition.password.alias</name> - <display-name>HSM partition password alias</display-name> - <value>ranger.kms.hsm.partition.password</value> - <description>HSM partition password alias</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.kerberos.principal</name> - <value/> - <description/> - <value-attributes> - <empty-value-valid>true</empty-value-valid> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger.ks.kerberos.keytab</name> - <value/> - <description/> - <value-attributes> - <empty-value-valid>true</empty-value-valid> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-env.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-env.xml b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-env.xml deleted file mode 100644 index e049840..0000000 --- a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-env.xml +++ /dev/null @@ -1,116 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---> -<configuration supports_adding_forbidden="true"> - <property> - <name>kms_user</name> - <display-name>Kms User</display-name> - <value>kms</value> - <property-type>USER</property-type> - <description>Kms username</description> - <value-attributes> - <type>user</type> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>kms_group</name> - <display-name>Kms group</display-name> - <value>kms</value> - <property-type>GROUP</property-type> - <description>Kms group</description> - <value-attributes> - <type>user</type> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>kms_log_dir</name> - <value>/var/log/ranger/kms</value> - <description/> - <value-attributes> - <type>directory</type> - <overridable>false</overridable> - <editable-only-at-install>true</editable-only-at-install> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>kms_port</name> - <value>9292</value> - <description/> - <on-ambari-upgrade add="false"/> - <depends-on> - <property> - <type>ranger-kms-site</type> - <name>ranger.service.https.port</name> - </property> - <property> - <type>ranger-kms-site</type> - <name>ranger.service.https.attrib.ssl.enabled</name> - </property> - </depends-on> - </property> - <property> - <name>create_db_user</name> - <display-name>Setup Database and Database User</display-name> - <value>true</value> - <description>If set to Yes, Ambari will create and setup Ranger Database and Database User. This will require to specify Database Admin user and password</description> - <value-attributes> - <overridable>false</overridable> - <type>value-list</type> - <entries> - <entry> - <value>true</value> - <label>Yes</label> - </entry> - <entry> - <value>false</value> - <label>No</label> - </entry> - </entries> - <selection-cardinality>1</selection-cardinality> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>hsm_partition_password</name> - <display-name>HSM partition password</display-name> - <value/> - <property-type>PASSWORD</property-type> - <value-attributes> - <type>password</type> - </value-attributes> - <description>HSM partition password</description> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger_kms_pid_dir</name> - <value>/var/run/ranger_kms</value> - <description/> - <value-attributes> - <type>directory</type> - <overridable>false</overridable> - <editable-only-at-install>true</editable-only-at-install> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-log4j.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-log4j.xml b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-log4j.xml deleted file mode 100644 index 18dc46b..0000000 --- a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-log4j.xml +++ /dev/null @@ -1,120 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---> -<configuration supports_adding_forbidden="false"> - <property> - <name>ranger_kms_log_maxfilesize</name> - <value>256</value> - <description>The maximum size of backup file before the log is rotated</description> - <display-name>Ranger-kms Log: backup file size</display-name> - <value-attributes> - <unit>MB</unit> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger_kms_log_maxbackupindex</name> - <value>20</value> - <description>The number of backup files</description> - <display-name>Ranger-kms Log: # of backup files</display-name> - <value-attributes> - <type>int</type> - <minimum>0</minimum> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger_kms_audit_log_maxfilesize</name> - <value>256</value> - <description>The maximum size of backup file before the log is rotated</description> - <display-name>Ranger-kms Audit Log: backup file size</display-name> - <value-attributes> - <unit>MB</unit> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>ranger_kms_audit_log_maxbackupindex</name> - <value>20</value> - <description>The number of backup files</description> - <display-name>Ranger-kms Audit Log: # of backup files</display-name> - <value-attributes> - <type>int</type> - <minimum>0</minimum> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>content</name> - <display-name>kms-log4j template</display-name> - <description>kms-log4j.properties</description> - <value> -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. See accompanying LICENSE file. -# - -# If the Java System property 'kms.log.dir' is not defined at KMS start up time -# Setup sets its value to '${kms.home}/logs' - -log4j.appender.kms=org.apache.log4j.DailyRollingFileAppender -log4j.appender.kms.DatePattern='.'yyyy-MM-dd -log4j.appender.kms.File=${kms.log.dir}/kms.log -log4j.appender.kms.Append=true -log4j.appender.kms.layout=org.apache.log4j.PatternLayout -log4j.appender.kms.layout.ConversionPattern=%d{ISO8601} %-5p %c{1} - %m%n -log4j.appender.kms.MaxFileSize = {{ranger_kms_log_maxfilesize}}MB -log4j.appender.kms.MaxBackupIndex = {{ranger_kms_log_maxbackupindex}} - -log4j.appender.kms-audit=org.apache.log4j.DailyRollingFileAppender -log4j.appender.kms-audit.DatePattern='.'yyyy-MM-dd -log4j.appender.kms-audit.File=${kms.log.dir}/kms-audit.log -log4j.appender.kms-audit.Append=true -log4j.appender.kms-audit.layout=org.apache.log4j.PatternLayout -log4j.appender.kms-audit.layout.ConversionPattern=%d{ISO8601} %m%n -log4j.appender.kms-audit.MaxFileSize = {{ranger_kms_audit_log_maxfilesize}}MB -log4j.appender.kms-audit.MaxBackupIndex = {{ranger_kms_audit_log_maxbackupindex}} - -log4j.logger.kms-audit=INFO, kms-audit -log4j.additivity.kms-audit=false - -log4j.logger=INFO, kms -log4j.additivity.kms=false -log4j.rootLogger=INFO, kms -log4j.logger.org.apache.hadoop.conf=ERROR -log4j.logger.org.apache.hadoop=INFO -log4j.logger.com.sun.jersey.server.wadl.generators.WadlGeneratorJAXBGrammarGenerator=OFF - </value> - <value-attributes> - <type>content</type> - <show-property-name>false</show-property-name> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/3dc51b0c/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-properties.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-properties.xml b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-properties.xml deleted file mode 100644 index d2d4da5..0000000 --- a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.3.0/configuration/kms-properties.xml +++ /dev/null @@ -1,166 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---> -<configuration> - <property> - <name>REPOSITORY_CONFIG_USERNAME</name> - <display-name>Repository config username</display-name> - <value>keyadmin</value> - <description/> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>REPOSITORY_CONFIG_PASSWORD</name> - <display-name>Repository config password</display-name> - <value>keyadmin</value> - <property-type>PASSWORD</property-type> - <description/> - <value-attributes> - <type>password</type> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>DB_FLAVOR</name> - <display-name>DB FLAVOR</display-name> - <value>MYSQL</value> - <description>The database type to be used</description> - <value-attributes> - <overridable>false</overridable> - <type>value-list</type> - <entries> - <entry> - <value>MYSQL</value> - <label>MYSQL</label> - </entry> - <entry> - <value>ORACLE</value> - <label>ORACLE</label> - </entry> - <entry> - <value>POSTGRES</value> - <label>POSTGRES</label> - </entry> - <entry> - <value>MSSQL</value> - <label>MSSQL</label> - </entry> - <entry> - <value>SQLA</value> - <label>SQL Anywhere</label> - </entry> - </entries> - <selection-cardinality>1</selection-cardinality> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>SQL_CONNECTOR_JAR</name> - <display-name>SQL connector jar</display-name> - <value>{{driver_curl_target}}</value> - <description>Location of DB client library (please check the location of the jar file)</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <depends-on> - <property> - <type>kms-properties</type> - <name>DB_FLAVOR</name> - </property> - </depends-on> - <on-ambari-upgrade add="false" update="false"/> - </property> - <property> - <name>db_root_user</name> - <display-name>Database Administrator (DBA) username</display-name> - <value>root</value> - <description>Database admin user. This user should have DBA permission to create the Ranger Database and Ranger Database User</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>db_root_password</name> - <display-name>Database Administrator (DBA) password</display-name> - <value/> - <property-type>PASSWORD</property-type> - <description>Database password for the database admin username</description> - <value-attributes> - <type>password</type> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>db_host</name> - <display-name>Ranger KMS DB host</display-name> - <value/> - <description>Database host</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>db_name</name> - <display-name>Ranger KMS DB name</display-name> - <value>rangerkms</value> - <description>Database name</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>db_user</name> - <display-name>Ranger KMS DB username</display-name> - <value>rangerkms</value> - <description>Database username used for the Ranger KMS schema</description> - <value-attributes> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>db_password</name> - <display-name>Ranger KMS DB password</display-name> - <value/> - <property-type>PASSWORD</property-type> - <description>Database password for the Ranger KMS schema</description> - <value-attributes> - <type>password</type> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> - <property> - <name>KMS_MASTER_KEY_PASSWD</name> - <display-name>KMS master key password</display-name> - <value/> - <property-type>PASSWORD</property-type> - <description/> - <value-attributes> - <type>password</type> - <overridable>false</overridable> - </value-attributes> - <on-ambari-upgrade add="false"/> - </property> -</configuration>