Refactor watchers 95/7095/3
authorBin Yang <bin.yang@windriver.com>
Mon, 22 Nov 2021 03:20:10 +0000 (11:20 +0800)
committerBin Yang <bin.yang@windriver.com>
Mon, 22 Nov 2021 07:15:53 +0000 (07:15 +0000)
commit62f8863960ebd439c714b0ceed204731d9b31266
tree3e1b4246c174fb256743c5772713cf4c563a1d2f
parent5c501cb5e57a1ac3e0e7d38e22a3759e7958777a
Refactor watchers

integrate watcher with message bus and handler

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I93f98a88526c866b142ab5da17e5e30839d300a0
20 files changed:
configs/log.yaml
o2ims/adapter/clients/orm_stx.py
o2ims/adapter/orm.py
o2ims/domain/base.py
o2ims/domain/commands.py
o2ims/domain/ocloud.py
o2ims/domain/resource_type.py
o2ims/domain/stx_object.py
o2ims/entrypoints/resource_watcher.py
o2ims/service/auditor/base.py [deleted file]
o2ims/service/auditor/ocloud_handler.py [new file with mode: 0644]
o2ims/service/handlers.py
o2ims/service/messagebus.py
o2ims/service/watcher/base.py
o2ims/service/watcher/ocloud_watcher.py
o2ims/service/watcher/pserver_cpu_watcher.py
o2ims/service/watcher/pserver_watcher.py
o2ims/service/watcher/resource_watcher.py
o2ims/service/watcher/resourcepool_watcher.py
tests/unit/test_watcher.py