-
Notifications
You must be signed in to change notification settings - Fork 24
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
chore: migrate r/webhook_recipient to Framework #568
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #568 +/- ##
==========================================
- Coverage 76.05% 75.56% -0.49%
==========================================
Files 86 87 +1
Lines 7107 7288 +181
==========================================
+ Hits 5405 5507 +102
- Misses 1368 1429 +61
- Partials 334 352 +18 ☔ View full report in Codecov by Sentry. |
if response.Diagnostics.HasError() && !test.expectError { | ||
t.Fatalf("got unexpected error: %s", response.Diagnostics) | ||
} | ||
assert.Equal(t, |
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.
snuck in a quick move of these validators to testify
@@ -17,7 +17,7 @@ resource "honeycombio_webhook_recipient" "prod" { | |||
The following arguments are supported: | |||
|
|||
* `name` - (Required) The name of the Webhook Integration to create. | |||
* `secret` - (Required) The secret to include when sending the notification to the webhook. | |||
* `secret` - (Optional) The secret to include when sending the notification to the webhook. |
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.
good catch!
This migrates
r/webhook_recipient
from the Plugin SDKv2 to the Plugin Framework.In the process, also updates
secret
to be optional to match the upstream change.