-
-
Notifications
You must be signed in to change notification settings - Fork 15
feat: Add support for webhook servers #730
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
I just realized this still needs version bumps for |
These tests required a lot of manual setup, which is not desirable. In the future, we need to enable automatic testing of these servers.
These new versions introduced quite a few breaking changes which required a slight reworkf of the TLS cert handling code.
The crates are now all up-to-date. This PR is now reviewable. |
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.
I generally approve, but left enough comments that I assume changes will be made.
Co-authored-by: Nick <NickLarsenNZ@users.noreply.github.com>
Co-authored-by: Nick <NickLarsenNZ@users.noreply.github.com>
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.
LGTM
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.
Lessgooo
Fixes stackabletech/issues#508, supersedes #695, part of stackabletech/issues#361
This adds support to create webhook servers based on
axum
. It additionally provides a ready-to-use conversion webhook server.This PR does not include code for TLS cert auto-generation and as such doesn't support it (marked with
todo!()
). The code for this feature will be handled by a follow-up PR. Furthermore, the code for TLS cert chains will also move into the new crate.