Skip to content

PIN-6656 M2M - Reject consumer delegation #1839

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

Conversation

ecamellini
Copy link
Collaborator

@ecamellini ecamellini commented Apr 28, 2025

Description

POST /consumerDelegations/{delegationId}/reject

Double-check errors

  • Check errors returned by the process API calls (messages should be meaningful, clean, in correct English, etc.)
  • Check spec errors: it should list all non-500 errors, also the ones that pass through from the process

Testing

Checklist:

  • Bruno call added to collection
  • Smoke test Bruno (attach result screenshot)
  • Supertest /api tests
  • /integration tests for the logic in the service

Bruno smoke test

image image

Testing some passthrough errors

image image

@ecamellini ecamellini changed the base branch from develop to PIN-6629-m2m-gateway-delegations-routes April 28, 2025 15:06
@ecamellini ecamellini merged commit 04dfb70 into PIN-6629-m2m-gateway-delegations-routes May 3, 2025
5 checks passed
@ecamellini ecamellini deleted the PIN-6656-m2m-reject-consumer-delegation branch May 3, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants