Redo release the 2.0.3 image
[pti/o2.git] / o2app / bootstrap.py
index 228b240..7679ef3 100644 (file)
@@ -17,11 +17,10 @@ import inspect
 from typing import Callable
 
 from o2common.adapter.notifications import AbstractNotifications,\
-    SmoO2Notifications
+    NoneNotifications
 from o2common.adapter import redis_eventpublisher
 from o2common.service import unit_of_work
 from o2common.service import messagebus
-from o2common.config import config
 
 from o2app.service import handlers
 from o2app.adapter.unit_of_work import SqlAlchemyUnitOfWork
@@ -29,8 +28,6 @@ from o2app.adapter.unit_of_work import SqlAlchemyUnitOfWork
 from o2ims.adapter import orm as o2ims_orm
 from o2dms.adapter import orm as o2dms_orm
 
-from o2ims.adapter.clients import alarm_dict_client
-
 
 from o2common.helper import o2logging
 logger = o2logging.get_logger(__name__)
@@ -52,7 +49,7 @@ def bootstrap(
 ) -> messagebus.MessageBus:
 
     if notifications is None:
-        notifications = SmoO2Notifications()
+        notifications = NoneNotifications()
 
     if start_orm:
         with uow: