From 16640f21b306fe293eb15a320a2d93a362468c91 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Mon, 11 Feb 2019 20:58:01 +0100
Subject: [PATCH] removed empty opsdb route

---
 inventory_provider/__init__.py     |  3 ---
 inventory_provider/routes/opsdb.py | 20 --------------------
 2 files changed, 23 deletions(-)
 delete mode 100644 inventory_provider/routes/opsdb.py

diff --git a/inventory_provider/__init__.py b/inventory_provider/__init__.py
index 3307321e..024fac84 100644
--- a/inventory_provider/__init__.py
+++ b/inventory_provider/__init__.py
@@ -30,9 +30,6 @@ def create_app():
     from inventory_provider.routes import jobs
     app.register_blueprint(jobs.routes, url_prefix='/jobs')
 
-    from inventory_provider.routes import opsdb
-    app.register_blueprint(opsdb.routes, url_prefix='/opsdb')
-
     from inventory_provider.routes import classifier
     app.register_blueprint(classifier.routes, url_prefix='/classifier')
 
diff --git a/inventory_provider/routes/opsdb.py b/inventory_provider/routes/opsdb.py
deleted file mode 100644
index 6a33c174..00000000
--- a/inventory_provider/routes/opsdb.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import collections
-import json
-import re
-
-from flask import Blueprint, jsonify
-from inventory_provider.routes import common
-
-routes = Blueprint("inventory-opsdb-query-routes", __name__)
-
-interfaces_key = "interface_services"
-equipment_locations_key = "equipment_locations"
-service_child_to_parents_key = "child_to_parent_circuit_relations"
-service_parent_to_children_key = "parent_to_children_circuit_relations"
-interface_status_key = "interface_statuses"
-
-
-# def _decode_utf8_dict(d):
-#     return {k.decode('utf8'): json.loads(v) for k, v in d.items()}
-#
-#
-- 
GitLab