X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fevents.py;h=19adab19be7d41cd9f6e8392978476c29544b66b;hb=a45c1f3a4a3200e1a0c4a0d5feb9e67d8e79f52f;hp=485804008e3c5609bd959952a44204b8ec0a9731;hpb=6c304dfab28ffd1bbe69b9ada3d11e8fbbde014b;p=pti%2Fo2.git diff --git a/o2ims/domain/events.py b/o2ims/domain/events.py index 4858040..19adab1 100644 --- a/o2ims/domain/events.py +++ b/o2ims/domain/events.py @@ -18,6 +18,7 @@ from datetime import datetime from o2common.domain.events import Event from o2ims.domain.subscription_obj import NotificationEventEnum +from o2ims.domain.alarm_obj import AlarmNotificationEventEnum @dataclass @@ -49,6 +50,7 @@ class ResourceChanged(Event): @dataclass -class ConfigurationChanged(Event): +class AlarmEventChanged(Event): id: str + notificationEventType: AlarmNotificationEventEnum updatetime: datetime.now()