Add registration the SMO's CRUD interface in IMS 28/7528/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Thu, 23 Dec 2021 01:36:28 +0000 (09:36 +0800)
committerBin Yang <bin.yang@windriver.com>
Tue, 11 Jan 2022 04:53:12 +0000 (04:53 +0000)
commitf2998d71e3fe6c455d5ea5070866d927e59a65c9
tree7a4444a5e1b7b5537659ab989def8638b79eff9b
parentb86917339a9fc4ea0da6c2deadace89c3b0e1bef
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
(cherry picked from commit 02b85e27680e1139bc8e1930af5449a26527b4de)
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