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

Sms delivery reports #6

Merged
merged 10 commits into from
Nov 10, 2023
Merged

Sms delivery reports #6

merged 10 commits into from
Nov 10, 2023

Conversation

JPPortier
Copy link
Contributor

  • moved WebHook classes for Delivery Report at "SMS level" because of shared with Delivery Report endpoints and not only used by hooks
  • Refactored DeliveryReport enum for type to DeliveryReportType
  • consume generated DTO file for SMS WebHooks service
  • Implement get / getForNumber and list

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Dependency Review

✅ No vulnerabilities or license issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 855034c.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Manifest Files

Comment on lines +38 to +39
private Configuration configuration;
private DeliveryReportsApi api;
Copy link

Choose a reason for hiding this comment

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

final allows to set the variable only once anywhere, be it constructor, or another method. Does it makes sense to mark this variables as final in this context?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should yes.
But I'm facing an issue (not yet finalized) due to unit testing and mocking library: when set to final mocking lib is not able to set variables and test execution are facing null pointer.
I'll have to take time to fix this...

@JPPortier JPPortier merged commit 8ed1520 into sms Nov 10, 2023
2 checks passed
@JPPortier JPPortier deleted the sms-delivery-reports branch November 10, 2023 11:02
JPPortier added a commit that referenced this pull request Nov 16, 2023
* feat: SMS: Delivery Reports
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.

2 participants