diff --git a/inventory_provider/__init__.py b/inventory_provider/__init__.py index 3307321ecbd8f748dc0d5ea584c6ff479b00cdbe..024fac841eb30cde1e859612856db2bc2b1e1293 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 6a33c1743fdbcce229ba981d6888959a2f44fd01..0000000000000000000000000000000000000000 --- 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()} -# -#