Add dbus interfaces to entity-manager

This adds dbus endpoints to the entity manager to
export available configurations. For more information
see docs folder in this repository.

This also reformats the json records to make thresholds
1-d arrays.

Change-Id: Iae5b9aa2bf5017ce2a24ec6b149ccdbc2fe70202
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/F2U12X35S3P_riser.json b/configurations/F2U12X35S3P_riser.json
old mode 100755
new mode 100644
index e4c34f5..83fda94
--- a/configurations/F2U12X35S3P_riser.json
+++ b/configurations/F2U12X35S3P_riser.json
@@ -6,32 +6,30 @@
                 "bus": "$bus",
                 "name": "Riser1 Temp",
                 "thresholds": [
-                    [
-                        {
-                            "direction": "greater than",
-                            "name": "upper critical",
-                            "severity": 1,
-                            "value": 80
-                        },
-                        {
-                            "direction": "greater than",
-                            "name": "upper non critical",
-                            "severity": 0,
-                            "value": 75
-                        },
-                        {
-                            "direction": "less than",
-                            "name": "lower non critical",
-                            "severity": 0,
-                            "value": 5
-                        },
-                        {
-                            "direction": "less than",
-                            "name": "lower critical",
-                            "severity": 1,
-                            "value": 0
-                        }
-                    ]
+                    {
+                        "direction": "greater than",
+                        "name": "upper critical",
+                        "severity": 1,
+                        "value": 80
+                    },
+                    {
+                        "direction": "greater than",
+                        "name": "upper non critical",
+                        "severity": 0,
+                        "value": 75
+                    },
+                    {
+                        "direction": "less than",
+                        "name": "lower non critical",
+                        "severity": 0,
+                        "value": 5
+                    },
+                    {
+                        "direction": "less than",
+                        "name": "lower critical",
+                        "severity": 1,
+                        "value": 0
+                    }
                 ],
                 "type": "TMP75"
             },
@@ -52,32 +50,30 @@
                 "bus": "$bus",
                 "name": "Riser2 Temp",
                 "thresholds": [
-                    [
-                        {
-                            "direction": "greater than",
-                            "name": "upper critical",
-                            "severity": 1,
-                            "value": 80
-                        },
-                        {
-                            "direction": "greater than",
-                            "name": "upper non critical",
-                            "severity": 0,
-                            "value": 75
-                        },
-                        {
-                            "direction": "less than",
-                            "name": "lower non critical",
-                            "severity": 0,
-                            "value": 5
-                        },
-                        {
-                            "direction": "less than",
-                            "name": "lower critical",
-                            "severity": 1,
-                            "value": 0
-                        }
-                    ]
+                    {
+                        "direction": "greater than",
+                        "name": "upper critical",
+                        "severity": 1,
+                        "value": 80
+                    },
+                    {
+                        "direction": "greater than",
+                        "name": "upper non critical",
+                        "severity": 0,
+                        "value": 75
+                    },
+                    {
+                        "direction": "less than",
+                        "name": "lower non critical",
+                        "severity": 0,
+                        "value": 5
+                    },
+                    {
+                        "direction": "less than",
+                        "name": "lower critical",
+                        "severity": 1,
+                        "value": 0
+                    }
                 ],
                 "type": "TMP75"
             },
@@ -91,4 +87,4 @@
         "name": "2U12x35 Riser2",
         "probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : '0x51'})"
     }
-]
+]
\ No newline at end of file