Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metrics] The recipientCount does not decrease when an active ADR is deleted #253

Open
aka4rKO opened this issue Jan 8, 2025 · 0 comments

Comments

@aka4rKO
Copy link
Contributor

aka4rKO commented Jan 8, 2025

Description:
This issue is created to track the fixing of the recipientCount metric not getting updated when an active ADR is deleted.

After further investigation it was identified that the revokeExistingApplicableConsents method only revokes consents after filtering by the username and hence all the consents are not revoked.

And as a result the recipientCount is not updated as expected.

Steps to reproduce:

  1. Create an app
  2. Create and approve 2 consents for 2 different users for the same app (Eg: [email protected], [email protected])
  3. Invoke the admin metrics API and the recipientCount should increase by 1
  4. Delete the aforementioned app
  5. Invoke the admin metrics API and the recipientCount is not decreased (Expected: Must decrease by 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant