From bbfb061bf2f6c2a3448d3afaef256d98c032bd4b Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Tue, 16 Apr 2024 22:04:44 +0100 Subject: [BUG] Make failed async task report failure on Kafka topic - In event of async task timeout, error code 102 (DMI_SERVICE_NOT_RESPONDING) is sent to client topic. - In event of unexpected error (such as database unavailable), error code 108 (UNKNOWN_ERROR) is sent to client topic. - The default timeouts have been adjusted so that the task timeout (60s) is longer than the HTTP and Database timeouts (30s), so that expected codes are returned. Issue-ID: CPS-2186 Signed-off-by: danielhanrahan Change-Id: I84c3447a625e084c445ab2f5c01e2b32a0c971ac --- docs/cps-ncmp-message-status-codes.rst | 4 ++-- docs/release-notes.rst | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/cps-ncmp-message-status-codes.rst b/docs/cps-ncmp-message-status-codes.rst index 018cf4a053..0c6ce0e712 100644 --- a/docs/cps-ncmp-message-status-codes.rst +++ b/docs/cps-ncmp-message-status-codes.rst @@ -16,7 +16,7 @@ CPS-NCMP Message Status Codes +-----------------+------------------------------------------------------+-----------------------------------+ | 1 | successfully applied subscription | CM Data Notification Subscription | +-----------------+------------------------------------------------------+-----------------------------------+ - | 100 | cm handle id(s) is(are) not found | Data Operation, Inventory | + | 100 | cm handle id(s) is(are) not found | All features | +-----------------+------------------------------------------------------+-----------------------------------+ | 101 | cm handle(s) not ready | Data Operation | +-----------------+------------------------------------------------------+-----------------------------------+ @@ -32,7 +32,7 @@ CPS-NCMP Message Status Codes +-----------------+------------------------------------------------------+-----------------------------------+ | 107 | southbound system is busy | Data Operation | +-----------------+------------------------------------------------------+-----------------------------------+ - | 108 | Unknown error | Inventory | + | 108 | Unknown error | All features | +-----------------+------------------------------------------------------+-----------------------------------+ | 109 | cm-handle already exists | Inventory | +-----------------+------------------------------------------------------+-----------------------------------+ diff --git a/docs/release-notes.rst b/docs/release-notes.rst index d35ed99c31..f04f977c4c 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -36,6 +36,11 @@ Release Data | | | +--------------------------------------+--------------------------------------------------------+ +Bug Fixes +--------- +3.4.8 + - `CPS-2186 `_ Report async task failures to client topic during data operations request + Features -------- -- cgit 1.2.3-korg