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

feat: send webhooks for forward messages #1148

Conversation

TimoGlastra
Copy link
Contributor

This adds an option to ACA-Py to send webhook events on received forward messages (--monitor-forward, taken from monitor-ping).

I extended the OutboundSendStatus work from Daniel and added a few more status options. These are then included in the webhook event, so the controller can react to the event.

If --monitor-forward is not enabled, the event is still dispatched in the event bus (just not as webhook), so other parts of the codebase/plugins can hook into this if they want to manage it in ACA-Py instead of the controller

@TimoGlastra
Copy link
Contributor Author

@dbluhm

dbluhm
dbluhm previously approved these changes May 5, 2021
Copy link
Contributor

@dbluhm dbluhm left a comment

Choose a reason for hiding this comment

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

Nice! Looks good!

@dbluhm
Copy link
Contributor

dbluhm commented May 5, 2021

Failing tests are my fault, fix in #1151

@TimoGlastra
Copy link
Contributor Author

Updated

andrewwhitehead
andrewwhitehead previously approved these changes May 5, 2021
@andrewwhitehead
Copy link
Contributor

andrewwhitehead commented May 5, 2021

The branch needs updating/rebasing

Oops, and now there's a conflict, sorry :)

Signed-off-by: Timo Glastra <timo@animo.id>
@andrewwhitehead andrewwhitehead merged commit b1e47a1 into openwallet-foundation:main May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants