Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add docs for pti o2 service
[pti/o2.git]
/
o2ims
/
domain
/
events.py
diff --git
a/o2ims/domain/events.py
b/o2ims/domain/events.py
index
591662f
..
7ab04a0
100644
(file)
--- a/
o2ims/domain/events.py
+++ b/
o2ims/domain/events.py
@@
-14,12
+14,14
@@
# pylint: disable=too-few-public-methods
from dataclasses import dataclass
# pylint: disable=too-few-public-methods
from dataclasses import dataclass
+from o2common.domain.events import Event
-class Event:
- pass
+@dataclass
+class OcloudUpdated(Event):
+ oCloudId: str
@dataclass
@dataclass
-class
Ocloud
Updated(Event):
+class
ResourceType
Updated(Event):
oCloudId: str
oCloudId: str