CmDataSubscription status code update
- Removing the unused NcmpRespnseStatus internal codes and messages
- Introducing statusCode 1 for ACCEPTED and 104 for REJECTED of
CmSubscription
- Added check for status code and message both in the flow
Issue-ID: CPS-2238
Change-Id: Id99f099a398392dbef1504f9d7c658665d163902
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
diff --git a/docs/cps-ncmp-message-status-codes.rst b/docs/cps-ncmp-message-status-codes.rst
index 0c6ce0e..e0a3f03 100644
--- a/docs/cps-ncmp-message-status-codes.rst
+++ b/docs/cps-ncmp-message-status-codes.rst
@@ -14,7 +14,7 @@
+=================+======================================================+===================================+
| 0 | Successfully applied changes | Data Operation |
+-----------------+------------------------------------------------------+-----------------------------------+
- | 1 | successfully applied subscription | CM Data Notification Subscription |
+ | 1 | ACCEPTED | CM Data Notification Subscription |
+-----------------+------------------------------------------------------+-----------------------------------+
| 100 | cm handle id(s) is(are) not found | All features |
+-----------------+------------------------------------------------------+-----------------------------------+
@@ -24,11 +24,7 @@
+-----------------+------------------------------------------------------+-----------------------------------+
| 103 | dmi plugin service is not able to read resource data | Data Operation |
+-----------------+------------------------------------------------------+-----------------------------------+
- | 104 | partially applied subscription | CM Data Notification Subscription |
- +-----------------+------------------------------------------------------+-----------------------------------+
- | 105 | subscription not applicable for all cm handles | CM Data Notification Subscription |
- +-----------------+------------------------------------------------------+-----------------------------------+
- | 106 | subscription pending for all cm handles | CM Data Notification Subscription |
+ | 104 | REJECTED | CM Data Notification Subscription |
+-----------------+------------------------------------------------------+-----------------------------------+
| 107 | southbound system is busy | Data Operation |
+-----------------+------------------------------------------------------+-----------------------------------+