wso2 / financial-services-accelerator

WSO2 Open Banking Accelerator is a collection of technologies that increases the speed and reduces the complexity of adopting open banking compliance. Instead of building a solution from scratch, you can use WSO2 Open Banking Accelerator to meet all legislative requirements with additional benefits beyond compliance.
Apache License 2.0
7 stars 21 forks source link

[CDSToolkit] - Publishing additional 4 records for API invocation when there is an invocation failure #145

Open malshaniS opened 1 week ago

malshaniS commented 1 week ago

Description: 4 Additional records for CDS API invocation published in API_INVOCATION_RAW_DATA table.

Eg: High priority count increase by 5 when we get 403 or 401 error for Accounts retrieval request.

Before accounts retrieval failure

Screenshot 2024-10-14 at 3 03 23 PM

After accounts retrieval failure

Screenshot 2024-10-14 at 3 03 55 PM

Records in API_INVOCATION_RAW_DATA table

Screenshot 2024-10-14 at 3 05 36 PM

Note: Same behaviour observed for CDS, CDR and DCR APIs.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

  1. Create a consent.
  2. Send account retrieval request with incorrect access token.
  3. Verify invocations in metrics response.

Related Issues:

malshaniS commented 6 days ago

Getting an incorrect count for the errors metrics due to the above issue.

imesh94 commented 3 days ago

Not reproduced in the latest packs