You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ly...@apache.org on 2017/04/18 22:50:03 UTC

incubator-metron git commit: METRON-848 MPack's metron_theme.json is malformed

Repository: incubator-metron
Updated Branches:
  refs/heads/Metron_0.4.0 d30d8b9df -> 900b3cc41


METRON-848 MPack's metron_theme.json is malformed


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/900b3cc4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/900b3cc4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/900b3cc4

Branch: refs/heads/Metron_0.4.0
Commit: 900b3cc41118f867ddb2069b113095582d799d65
Parents: d30d8b9
Author: David Lyle <dl...@gmail.com>
Authored: Tue Apr 18 18:48:53 2017 -0400
Committer: David Lyle <dl...@gmail.com>
Committed: Tue Apr 18 18:48:53 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/900b3cc4/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"
       }
-    ]
+    }]
   }
 }