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

PIN-5661 - Create consumer delegation #1197

Open
wants to merge 27 commits into
base: feature/incaricato
Choose a base branch
from

Conversation

ecamellini
Copy link
Collaborator

@ecamellini ecamellini commented Nov 12, 2024

  • manual tests
  • error mapping + improve the bad request mappings and map to more meaningful errors? Also for producer delegations
  • consider porting some of these improvements into develop?
  • yes, opened a dedicated PR Delegation process improvements in errors, tests, API spec #1209
  • Is the IPA tenant check needed also in case of consumer delegations?
  • yes, discussed at the weekly

Tests

Automated tests pass ✅

image

Manual tests

Success ✅

image

Readmodel insert works ✅

image

Smoke testing some errors

image image image

@ecamellini ecamellini force-pushed the PIN-5661-post-consumer-delegations branch from a257b22 to c4583fe Compare November 12, 2024 14:31
@ecamellini ecamellini changed the base branch from main to feature/Incaricato-tenant_PIN-5653 November 12, 2024 14:31
Base automatically changed from feature/Incaricato-tenant_PIN-5653 to feature/incaricato November 12, 2024 15:22
@ecamellini ecamellini force-pushed the PIN-5661-post-consumer-delegations branch from 1707064 to c20adc3 Compare November 12, 2024 15:49
@@ -118,19 +118,20 @@ paths:
schema:
$ref: "#/components/schemas/Problem"
/delegations/{delegationId}:
parameters:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we add the CorrelationIdHeader too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should! Apparently, it's missing everywhere in this spec, I added it in 2507337

@ecamellini ecamellini marked this pull request as ready for review November 15, 2024 15:22
@ecamellini
Copy link
Collaborator Author

After the review and merge, maybe it's worth porting some of these changes to the develop branch (e.g., fixes to tests, API specs, etc.)

@ecamellini ecamellini changed the title PIN-5661 - POST /consumer/delegations PIN-5661 - Create consumer delegation Nov 18, 2024
Copy link
Collaborator

@MalpenZibo MalpenZibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

collections/environments/PagoPA local.bru Show resolved Hide resolved
Copy link
Collaborator

@paologaleotti paologaleotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect 👍🏻

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.

4 participants