X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fservice%2Fauditor%2Fpserver_cpu_handler.py;h=ac2b50f452be0658c370b6aefa9bbf4840d281c8;hb=9cda6dd9bfcf3de766d7be0c42a7ec671f5ac308;hp=5ad64cad9954d035fc3a2570c0608b5f4be88d8d;hpb=46d810e671d23449e36f1c5d78e5e725ff06a7ac;p=pti%2Fo2.git diff --git a/o2ims/service/auditor/pserver_cpu_handler.py b/o2ims/service/auditor/pserver_cpu_handler.py index 5ad64ca..ac2b50f 100644 --- a/o2ims/service/auditor/pserver_cpu_handler.py +++ b/o2ims/service/auditor/pserver_cpu_handler.py @@ -64,6 +64,10 @@ def update_pserver_cpu( alarm_dictionary = uow.alarm_dictionaries.get(dict_id) if alarm_dictionary: res_type.alarmDictionary = alarm_dictionary + res_type.events.append(events.ResourceTypeChanged( + id=res_type.resourceTypeId, + notificationEventType=NotificationEventEnum.CREATE, + updatetime=stxobj.updatetime)) uow.resource_types.add(res_type) else: resourcetype_id = first['resourceTypeId']