-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Support for webhooks #4731
Support for webhooks #4731
Conversation
Here is the report for 1cb2245 (korycins/saleor @ feature/webhooks) No differences were found. (click me)
# api.benchmark checkout
test name left count right count duplicate count
------------------------------------------- ----------- ----------- ---------------
add billing address to checkout 38 38 20
add shipping to checkout 7 7 0
checkout payment charge 14 14 0
complete checkout 6 6 0
create checkout 52 52 24
# api.benchmark homepage
test name left count right count duplicate count
------------------------------------------- ----------- ----------- ---------------
retrieve main menu 5 5 0
retrieve product list 4 4 0
retrieve secondary menu 5 5 0
retrieve shop 2 2 0
# api.benchmark product
test name left count right count duplicate count
------------------------------------------- ----------- ----------- ---------------
product details 15 15 3
retrieve product attributes 13 13 2
# api.benchmark variant
test name left count right count duplicate count
------------------------------------------- ----------- ----------- ---------------
retrieve variant list 18 18 8
# api product sorting attributes
test name left count right count duplicate count
------------------------------------------- ----------- ----------- ---------------
sort product not having attribute data 21 21 0 |
Codecov Report
@@ Coverage Diff @@
## master #4731 +/- ##
==========================================
- Coverage 91.21% 91.15% -0.06%
==========================================
Files 330 343 +13
Lines 19906 20371 +465
Branches 1888 1930 +42
==========================================
+ Hits 18157 18569 +412
- Misses 1228 1264 +36
- Partials 521 538 +17
Continue to review full report at Codecov.
|
@salwator @NyanKiyoshi @maarcingebala ready for review |
Resolves #2084
It adds support for Webhooks.
It adds mutation for subscribing, deleting and listing Webhook subscription. Service Account can assign to all events but permissions to given resources are required to trigger webhook event. Webhook logic is written as a Saleor's plugin.