-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: endpoint to handle fulfillment_completed events #143
Conversation
WIP: stub in route and controller
WIP: Hoolihan event processing
WIP: pass context to controller to facilitate env var injection
Rework processor steps so that an error sending to SQS leads to an error response from the controller
Test coverage to 100%. Improve JSDocs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great contribution, thank you @blefebvre ! I have just nitpick comments.
This PR will trigger a minor release when merged. |
Co-authored-by: Dominique Jäggi <[email protected]>
Co-authored-by: Dominique Jäggi <[email protected]>
Thank you @solaris007 for the review and suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 1.22.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This PR implements the
POST /event/fulfillment
endpoint as detailed in the API spec.Provides a method to handle
fulfillment_completed
events from the Fulfillment Gateway. Events are queued for processing onto the provided SQS queue URL.A sample event in the expected format can be found in
test/controllers/event/sample-hoolihan-event.json
Ticket: https://jira.corp.adobe.com/browse/SITES-19428