Skip to content
Snippets Groups Projects
Commit 4a3834df authored by Stefano Borini's avatar Stefano Borini
Browse files

Removes KPI calculator from probe factory

parent 5b34cff3
No related branches found
No related tags found
1 merge request!125Removes KPI calculator from probe factory
......@@ -11,7 +11,6 @@ from .ui_hooks import ProbeUIHooksFactory
@provides(IFactoryRegistryPlugin)
class ProbeFactoryRegistryPlugin(HasStrictTraits):
mco_factories = List()
kpi_calculator_factories = List()
data_source_factories = List()
notification_listener_factories = List()
ui_hooks_factories = List()
......@@ -35,13 +34,6 @@ class ProbeFactoryRegistryPlugin(HasStrictTraits):
raise KeyError(id)
def kpi_calculator_factory_by_id(self, id):
for kpic in self.kpi_calculator_factories:
if kpic.id == id:
return kpic
raise KeyError(id)
def mco_factory_by_id(self, id):
for mco in self.mco_factories:
if mco.id == id:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment