Add registration the SMO's CRUD interface in IMS 71/7471/2
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Thu, 23 Dec 2021 01:36:28 +0000 (09:36 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Mon, 27 Dec 2021 02:17:43 +0000 (10:17 +0800)
commit02b85e27680e1139bc8e1930af5449a26527b4de
tree7a4444a5e1b7b5537659ab989def8638b79eff9b
parent065d02be3f56ee7716433d3ad73fec9f710cd406
Add registration the SMO's CRUD interface in IMS

1. Add domain of registration
2. Mapping domain and ORM
3. Create the interface of CRUD and the related action
4. Update unit test for the registration CRUD

Issue-ID: INF-249

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I1d9235c6d654fa4743417ae5e226581935f16214
12 files changed:
o2app/adapter/unit_of_work.py
o2app/service/handlers.py
o2ims/adapter/ocloud_repository.py
o2ims/adapter/orm.py
o2ims/domain/subscription_obj.py
o2ims/domain/subscription_repo.py
o2ims/service/command/__init__.py [new file with mode: 0644]
o2ims/service/command/notify_handler.py [moved from o2ims/service/event/notify_handler.py with 100% similarity]
o2ims/views/ocloud_dto.py
o2ims/views/ocloud_route.py
o2ims/views/ocloud_view.py
tests/unit/test_ocloud.py