From bd67a9ef0f3014457dc1bbb80f681ac0c0fc1e6c Mon Sep 17 00:00:00 2001
From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk>
Date: Wed, 27 Feb 2019 20:19:06 +0000
Subject: [PATCH] Fixes ambiguous API url

---
 src/service/clmcservice/__init__.py           | 2 +-
 src/service/clmcservice/graphapi/utilities.py | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/service/clmcservice/__init__.py b/src/service/clmcservice/__init__.py
index 8ffb625..6b5c6e4 100644
--- a/src/service/clmcservice/__init__.py
+++ b/src/service/clmcservice/__init__.py
@@ -68,7 +68,7 @@ def main(global_config, **settings):
     # add routes of the GRAPH API
     config.add_route('graph_build', '/graph/temporal')
     config.add_route('temporal_graph_manage', '/graph/temporal/{graph_id}')
-    config.add_route('full_graph_manage', '/graph/{sfc_id}')
+    config.add_route('full_graph_manage', '/graph/static/{sfc_id}')
     config.add_route('graph_algorithms_rtt', '/graph/temporal/{graph_id}/round-trip-time')
     config.add_route('graph_network_topology', '/graph/network')
     config.add_route('graph_execute_pipeline', '/graph/monitor')
diff --git a/src/service/clmcservice/graphapi/utilities.py b/src/service/clmcservice/graphapi/utilities.py
index a87ffbf..10b0a31 100644
--- a/src/service/clmcservice/graphapi/utilities.py
+++ b/src/service/clmcservice/graphapi/utilities.py
@@ -501,6 +501,4 @@ def depth_first_search(graph, root_node):
     # yield the elements in post order
     while len(post_order) > 0:
         node = post_order.pop()
-        print(node["name"])
         yield node
-        log.debug("Yielding node {0}".format(node["name"]))
-- 
GitLab