From f08590ed6509e549fb51bcc88b75b87e164abfcc Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Sun, 3 Feb 2019 13:32:26 +0100
Subject: [PATCH] added some todo's

---
 README.md                          | 4 +++-
 inventory_provider/tasks/worker.py | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 08a2bd57..47125212 100644
--- a/README.md
+++ b/README.md
@@ -368,7 +368,8 @@ Any non-empty responses are JSON formatted messages.
   * key example:
     * `snmp-interfaces:mx1.lon2.uk.geant.net`
   * value schema
-  ```json
+    TODO: this needs to be checked ...
+    ```json
     {
         "$schema": "http://json-schema.org/draft-07/schema#",
 
@@ -541,6 +542,7 @@ Any non-empty responses are JSON formatted messages.
     * `opsdb:services:children:12363`
     * `opsdb:services:parents:14407`
   * value schema
+      TODO: this needs to be checked ...
     ```json
     {
         "$schema": "http://json-schema.org/draft-07/schema#",
diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py
index 7dcfbcbf..fcfa9b69 100644
--- a/inventory_provider/tasks/worker.py
+++ b/inventory_provider/tasks/worker.py
@@ -178,6 +178,7 @@ def update_equipment_locations():
 
 @app.task()
 def update_circuit_hierarchy():
+    # TODO: integers are not JSON keys
     with db.connection(InventoryTask.config["ops-db"]) as cx:
         child_to_parents = defaultdict(list)
         parent_to_children = defaultdict(list)
-- 
GitLab