X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2app%2Fservice%2Fhandlers.py;h=cc69fc56c7e62fca8d9c2d07337cf764e28f4500;hb=cf48d1f3e4ad5e8a5ca75cc6f5670b25e6817d8a;hp=d630720a75d3b289ab27989adcc4e7b2ffc8b57b;hpb=d2f6cc674bf3623caf114a8d7709e70d55ec9340;p=pti%2Fo2.git diff --git a/o2app/service/handlers.py b/o2app/service/handlers.py index d630720..cc69fc5 100644 --- a/o2app/service/handlers.py +++ b/o2app/service/handlers.py @@ -17,7 +17,7 @@ from __future__ import annotations from o2dms.service import nfdeployment_handler # from dataclasses import asdict -from typing import List, Dict, Callable, Type +from typing import Dict, Callable, Type # TYPE_CHECKING from o2ims.domain import commands, events @@ -30,7 +30,7 @@ from o2ims.service.auditor import ocloud_handler, dms_handler, \ from o2ims.service.command import notify_handler, registration_handler,\ notify_alarm_handler from o2ims.service.event import ocloud_event, resource_event, \ - resource_pool_event, configuration_event, alarm_event + resource_pool_event, alarm_event # if TYPE_CHECKING: # from . import unit_of_work @@ -56,8 +56,6 @@ EVENT_HANDLERS = { events.ResourceChanged: [resource_event.notify_resource_change], events.ResourcePoolChanged: [resource_pool_event.\ notify_resourcepool_change], - events.ConfigurationChanged: [configuration_event.\ - notify_configuration_change], events.AlarmEventChanged: [alarm_event.\ notify_alarm_event_change], } # type: Dict[Type[events.Event], Callable]