-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add webhook domain exclusion config for notification channels #172
Add webhook domain exclusion config for notification channels #172
Conversation
Codecov Report
@@ Coverage Diff @@
## main #172 +/- ##
============================================
+ Coverage 79.76% 79.90% +0.13%
+ Complexity 465 389 -76
============================================
Files 54 54
Lines 2333 2379 +46
Branches 92 103 +11
============================================
+ Hits 1861 1901 +40
- Misses 419 420 +1
- Partials 53 58 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
validateRequestContextOrThrow(requestContext); | ||
validateNotificationChannelMutableData(request.getNotificationChannelMutableData()); | ||
validateWebhookConfigExclusionDomains( |
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.
Please add unit tests
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.
done. Added validation for https support
@pavan-traceable this needs to be fixed. the android version of guava dep seems to be coming somehow. Please check. |
Description
Add domain exclusion config for notification channel config service. This config will fail the creation/update of notification channels if it contains exclusion domains.