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
Refactor watchers
[pti/o2.git]
/
o2ims
/
service
/
handlers.py
diff --git
a/o2ims/service/handlers.py
b/o2ims/service/handlers.py
index
c80ea6f
..
505549c
100644
(file)
--- a/
o2ims/service/handlers.py
+++ b/
o2ims/service/handlers.py
@@
-18,7
+18,7
@@
from __future__ import annotations
from typing import List, Dict, Callable, Type
# TYPE_CHECKING
from o2ims.domain import commands, events
from typing import List, Dict, Callable, Type
# TYPE_CHECKING
from o2ims.domain import commands, events
-# ocloud
+from o2ims.service.auditor import ocloud_handler
# if TYPE_CHECKING:
# from . import unit_of_work
# if TYPE_CHECKING:
# from . import unit_of_work
@@
-33,4
+33,5
@@
EVENT_HANDLERS = {
COMMAND_HANDLERS = {
COMMAND_HANDLERS = {
+ commands.UpdateOCloud: ocloud_handler.update_ocloud,
} # type: Dict[Type[commands.Command], Callable]
} # type: Dict[Type[commands.Command], Callable]