-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add webhooks and callbacks support #75
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
Conversation
73c27af to
653af60
Compare
9891db7 to
653af60
Compare
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.
Pull Request Overview
Adds webhooks and callbacks support to the Java SDK by introducing security verification interfaces for HTTP request signatures. This enables event-driven integration with external systems through standardized verification mechanisms.
- Introduces
VerificationResultinterface for representing success/failure states with error messages - Adds
SignatureVerifierinterface for asynchronous HTTP request signature verification - Updates documentation to include the new security interfaces
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/main/java/io/apimatic/coreinterfaces/security/VerificationResult.java |
Defines result interface with static factory methods for success/failure states |
src/main/java/io/apimatic/coreinterfaces/security/SignatureVerifier.java |
Provides contract for asynchronous signature verification of HTTP requests |
sonar-project.properties |
Excludes coverage requirements for the new security interfaces |
README.md |
Documents the new security interfaces in the core interfaces table |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/main/java/io/apimatic/coreinterfaces/security/VerificationResult.java
Outdated
Show resolved
Hide resolved
…Result.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|



What
What
Add webhooks and callbacks support in the Java SDK, enabling users to register, configure, and handle webhook/callback events directly through the SDK.
Why
Provides seamless event-driven integration with external systems and improves developer experience by supporting standardized webhook and callback mechanisms.
Type of change
Select multiple if applicable.
Dependency Change
No new dependencies are added.
Breaking change
No breaking changes are introduced in this PR.
Testing
No new tests are added, as none exist for this area yet.
Checklist