METRON-848 MPack's metron_theme.json is malformed closes apache/incubator-metron#527
Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/2ecc55ba Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/2ecc55ba Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/2ecc55ba Branch: refs/heads/Metron_0.4.0 Commit: 2ecc55ba17591b9216a6cf47d116c53608b9e59f Parents: 84f336b Author: David Lyle <dlyle65...@gmail.com> Authored: Tue Apr 18 18:43:47 2017 -0400 Committer: David Lyle <dlyle65...@gmail.com> Committed: Tue Apr 18 18:43:47 2017 -0400 ---------------------------------------------------------------------- .../METRON/CURRENT/themes/metron_theme.json | 137 ++++++++----------- 1 file changed, 60 insertions(+), 77 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/2ecc55ba/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/themes/metron_theme.json ---------------------------------------------------------------------- diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/themes/metron_theme.json b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/themes/metron_theme.json index 9d0f56c..20aca46 100644 --- a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/themes/metron_theme.json +++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/themes/metron_theme.json @@ -1,88 +1,71 @@ { "configuration": { - "layouts": [ - { - "name": "default", - "tabs": [ - { - "name": "metron_general", - "display-name": "Index 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": "1", - "section-rows": "1", - "subsections": [ - { - "name": "subsection-general-indexing", - "row-index": "0", - "column-index": "0", - "row-span": "1", - "column-span": "1" - } - ] - } - ] - } - } - ], + "layouts": [{ + "name": "default", + "tabs": [{ + "name": "metron_general", + "display-name": "Index 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": "1", + "section-rows": "1", + "subsections": [{ + "name": "subsection-general-indexing", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "column-span": "1" + }] + }] + } + }] + }], "placement": { "configuration-layout": "default", - "configs": [ - { - "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" - } - ] - }, - "widgets": [ - { + "configs": [{ + "config": "metron-env/metron_enrichment_db_port", + "subsection-name": "subsection-general-database" + }, { "config": "metron-env/es_hosts", - "widget": { - "type": "text-field" - } - }, - { + "subsection-name": "subsection-general-indexing" + }, { "config": "metron-env/es_binary_port", - "widget": { - "type": "text-field" - } - }, - { + "subsection-name": "subsection-general-indexing" + }, { "config": "metron-env/es_http_port", - "widget": { - "type": "text-field" - } - }, - { + "subsection-name": "subsection-general-indexing" + }, { "config": "metron-env/es_cluster_name", - "widget": { - "type": "text-field" - } + "subsection-name": "subsection-general-indexing" + }] + }, + "widgets": [{ + "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" } - ] + }] } }