| { |
| "configuration": { |
| "layouts": [ |
| { |
| "name": "default", |
| "tabs": [ |
| { |
| "name": "metron_general", |
| "display-name": "Settings", |
| "layout": { |
| "tab-columns": "1", |
| "tab-rows": "1", |
| "sections": [ |
| { |
| "name": "section-general", |
| "row-index": "0", |
| "column-index": "0", |
| "row-span": "1", |
| "column-span": "1", |
| "section-columns": "2", |
| "section-rows": "1", |
| "subsections": [ |
| { |
| "name": "subsection-general-database", |
| "display-name" : "Database Settings", |
| "row-index": "0", |
| "column-index": "0", |
| "row-span": "1", |
| "column-span": "1" |
| }, |
| { |
| "name": "subsection-general-indexing", |
| "display-name": "Index Settings", |
| "row-index": "0", |
| "column-index": "1", |
| "row-span": "1", |
| "column-span": "1" |
| } |
| ] |
| } |
| ] |
| } |
| }, |
| { |
| "name": "metron_repo", |
| "display-name" : "Repository", |
| "layout": { |
| "tab-columns" : "1", |
| "tab-rows" : "1", |
| "sections" : [ |
| { |
| "name" : "section-repo", |
| "row-index": "0", |
| "column-index" : "0", |
| "row-span": "1", |
| "column-span": "1", |
| "section-columns": "1", |
| "section-rows": "1", |
| "subsections": [ |
| { |
| "name": "subsection-repo", |
| "row-index": "0", |
| "column-index": "0", |
| "row-span": "1", |
| "column-span": "1" |
| } |
| ] |
| } |
| ] |
| } |
| } |
| ] |
| } |
| ], |
| "placement": { |
| "configuration-layout": "default", |
| "configs": [ |
| { |
| "config": "metron-env/install_mysql", |
| "subsection-name": "subsection-general-database" |
| }, |
| { |
| "config": "metron-env/mysql_admin_password", |
| "subsection-name": "subsection-general-database", |
| "depends-on": [ |
| { |
| "configs":[ |
| "metron-env/install_mysql" |
| ], |
| "if": "${metron-env/install_mysql} === No", |
| "then": { |
| "property_value_attributes": { |
| "visible": true |
| } |
| }, |
| "else": { |
| "property_value_attributes": { |
| "visible": false |
| } |
| } |
| } |
| ] |
| }, |
| { |
| "config": "metron-env/metron_enrichment_db_password", |
| "subsection-name": "subsection-general-database" |
| }, |
| { |
| "config": "metron-env/metron_enrichment_db_port", |
| "subsection-name": "subsection-general-database" |
| }, |
| { |
| "config": "metron-env/es_hosts", |
| "subsection-name": "subsection-general-indexing" |
| }, |
| { |
| "config": "metron-env/es_binary_port", |
| "subsection-name": "subsection-general-indexing" |
| }, |
| { |
| "config": "metron-env/es_http_port", |
| "subsection-name": "subsection-general-indexing" |
| }, |
| { |
| "config": "metron-env/es_cluster_name", |
| "subsection-name": "subsection-general-indexing" |
| }, |
| { |
| "config": "metron-env/repo_type", |
| "subsection-name": "subsection-repo" |
| }, |
| { |
| "config": "metron-env/repo_url", |
| "subsection-name": "subsection-repo", |
| "depends-on": [ |
| { |
| "configs":[ |
| "metron-env/repo_type" |
| ], |
| "if": "${metron-env/repo_type} === remote", |
| "then": { |
| "property_value_attributes": { |
| "visible": true |
| } |
| }, |
| "else": { |
| "property_value_attributes": { |
| "visible": false |
| } |
| } |
| } |
| ] |
| } |
| ] |
| }, |
| "widgets": [ |
| { |
| "config": "metron-env/install_mysql", |
| "widget": { |
| "type": "toggle" |
| } |
| }, |
| { |
| "config": "metron-env/mysql_admin_password", |
| "widget": { |
| "type": "password" |
| } |
| }, |
| { |
| "config": "metron-env/metron_enrichment_db_password", |
| "widget": { |
| "type": "password" |
| } |
| }, |
| { |
| "config": "metron-env/metron_enrichment_db_port", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "metron-env/es_hosts", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "metron-env/es_binary_port", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "metron-env/es_http_port", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "metron-env/es_cluster_name", |
| "widget": { |
| "type": "text-field" |
| } |
| }, |
| { |
| "config": "metron-env/repo_type", |
| "widget": { |
| "type": "toggle" |
| } |
| }, |
| { |
| "config": "metron-env/repo_url", |
| "widget": { |
| "type": "text-field" |
| } |
| } |
| ] |
| } |
| } |