| { |
| "name": "database", |
| "configuration": { |
| "placement": { |
| "configs": [ |
| { |
| "config" : "hive-env/hive_database", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-1" |
| }, |
| { |
| "config" : "hive-site/ambari.hive.db.schema.name", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-1" |
| }, |
| { |
| "config" : "hive-site/javax.jdo.option.ConnectionUserName", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-1" |
| }, |
| { |
| "config" : "hive-site/javax.jdo.option.ConnectionURL", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-1" |
| }, |
| { |
| "config" : "hive-env/hive_database_type", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-2" |
| }, |
| { |
| "config" : "hive-site/javax.jdo.option.ConnectionDriverName", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-2" |
| }, |
| { |
| "config" : "hive-site/javax.jdo.option.ConnectionPassword", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-2" |
| }, |
| { |
| "config" : "hive-env/test_db_connection", |
| "removed" : false, |
| "subsection-name" : "hive-database-configurations-col-2", |
| "property_value_attributes" : { |
| "keyStore" : false, |
| "ui_only_property" : true |
| } |
| } |
| ], |
| "configuration-layout": "database" |
| }, |
| "widgets": [ |
| { |
| "config": "hive-env/hive_database", |
| "widget": { |
| "type": "combo" |
| } |
| }, |
| { |
| "config": "hive-site/javax.jdo.option.ConnectionUserName", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "hive-site/javax.jdo.option.ConnectionPassword", |
| "widget": { |
| "type": "password" |
| } |
| }, |
| { |
| "config": "hive-site/javax.jdo.option.ConnectionDriverName", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "hive-site/javax.jdo.option.ConnectionURL", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "hive-site/ambari.hive.db.schema.name", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "hive-env/hive_database_type", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config" : "hive-env/test_db_connection", |
| "widget" : { |
| "type" : "test-db-connection", |
| "required-properties" : { |
| "jdbc.driver.class" : "hive-site/javax.jdo.option.ConnectionDriverName", |
| "jdbc.driver.url" : "hive-site/javax.jdo.option.ConnectionURL", |
| "db.connection.source.host" : "hive-site/hive_server_hosts", |
| "db.type" : "hive-env/hive_database", |
| "db.connection.user" : "hive-site/javax.jdo.option.ConnectionUserName", |
| "db.connection.password" : "hive-site/javax.jdo.option.ConnectionPassword", |
| "db.type.label" : "hive-env/hive_database" |
| }, |
| "display-name" : "Test Connection" |
| } |
| } |
| ], |
| "layouts": [ |
| { |
| "name": "database", |
| "tabs": [ |
| { |
| "name" : "hive_database", |
| "display-name" : "Hive", |
| "layout" : { |
| "sections" : [ |
| { |
| "subsections" : [ |
| { |
| "name" : "hive-database-configurations-col-1", |
| "removed" : false, |
| "row-index" : "0", |
| "column-span" : "1", |
| "row-span" : "1", |
| "column-index" : "0" |
| }, |
| { |
| "name" : "hive-database-configurations-col-2", |
| "removed" : false, |
| "row-index" : "0", |
| "column-span" : "1", |
| "row-span" : "1", |
| "column-index" : "1" |
| } |
| ], |
| "name" : "hive-database-configurations", |
| "removed" : false, |
| "row-index" : "0", |
| "section-rows" : "1", |
| "column-span" : "0", |
| "section-columns" : "2", |
| "column-index" : "0", |
| "row-span" : "0" |
| } |
| ], |
| "tab-rows" : "1", |
| "tab-columns" : "1" |
| } |
| } |
| ] |
| } |
| ] |
| } |
| } |