X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fservice%2Fauditor%2Fresourcepool_handler.py;h=366b77fe68e5f6e9768eeaa680d638ae4e9c095c;hb=8d6c2f135ee103b9a94ea6c29986a608069b6982;hp=1fb24580f2800bf3405f1531689bba04df639884;hpb=c34ab47848138150a1456be2fa9f82d7260e37b8;p=pti%2Fo2.git diff --git a/o2ims/service/auditor/resourcepool_handler.py b/o2ims/service/auditor/resourcepool_handler.py index 1fb2458..366b77f 100644 --- a/o2ims/service/auditor/resourcepool_handler.py +++ b/o2ims/service/auditor/resourcepool_handler.py @@ -84,7 +84,11 @@ def create_by(stxobj: StxGenericModel, parentid: str) -> ResourcePool: resourcepool.createtime = stxobj.createtime resourcepool.updatetime = stxobj.updatetime resourcepool.hash = stxobj.hash - + resourcepool.events.append(events.ResourcePoolChanged( + id=stxobj.id, + notificationEventType=NotificationEventEnum.CREATE, + updatetime=stxobj.updatetime + )) return resourcepool