From 9ad9385b27e8c6bf456030fd128951dd16328cdc Mon Sep 17 00:00:00 2001 From: Eyal Date: Mon, 15 Feb 2016 14:19:29 +0200 Subject: [PATCH] fix get topology parameters fix stop add parameter Change-Id: Ie6c5a91a016fabe84ee78104e49f120929e98860 --- vitrage/entity_graph/api_handler/service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vitrage/entity_graph/api_handler/service.py b/vitrage/entity_graph/api_handler/service.py index 873bd6df9..9565d5399 100644 --- a/vitrage/entity_graph/api_handler/service.py +++ b/vitrage/entity_graph/api_handler/service.py @@ -67,10 +67,10 @@ class VitrageApiHandlerService(os_service.Service): LOG.info("Finish start VitrageApiHandlerService") - def stop(self): + def stop(self, graceful=False): LOG.info("Stop VitrageApiHandlerService") - super(VitrageApiHandlerService, self).stop() + super(VitrageApiHandlerService, self).stop(graceful) LOG.info("Finish stop VitrageApiHandlerService") @@ -102,7 +102,7 @@ class EntityGraphApis(object): LOG.info("EntityGraphApis get_alarms result:%s", str(items_list)) return json.dumps({'alarms': [v.properties for v in items_list]}) - def get_topology(self, ctx, arg): + def get_topology(self, ctx, graph_type, depth, query, root): ga = create_algorithm(self.entity_graph) found_graph = ga.graph_query_vertices( {'!=': {VProps.CATEGORY: EntityCategory.ALARM}})