From #2725247: Review gateway plugins, sort out what to do with \Drupal\sms\Plugin\SmsGatewayPluginInterface::getDeliveryReports(). It is not used by SMS Framework nor does it have test coverage.
Add annotation to gateway:
- gateway_reports_pull: boolean
Whether the gateway plugin can pull reports from the gateway. - gateway_reports_pushed: boolean
Whether the gateway plugin can handle reports pushed from the gateway.
Where can we use this pull method in SMS framework?
- Provide a future UI to force pull.
- Use Drupal cron to automate these.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | gateway-plugin-pull-delivery-reports-2798163-4-a707788.patch | 14.57 KB | dpi |
| #3 | gateway-plugin-pull-delivery-reports-2798163-3-e652ebd.patch | 16.15 KB | dpi |
| #2 | gateway-plugin-pull-delivery-reports-2798163.patch | 15.65 KB | dpi |
Comments
Comment #2
dpihttps://github.com/dpi/smsframework/pull/54
Changes
supportsReportsPullandsupportsReportsPush(added tests for this).SupportsPushedReportsAccessCheckGateway::getDeliveryReports. The signature and return of the method have not changed.Comment #3
dpiUpdated access checks to use anon.
Comment #4
dpiRe-checking after many merge conflicts with #2798161: Gateway plugin balance query and HEAD.
Comment #7
dpi