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

Enable hooks to be triggered via HTTP when the feature flag is activated #2193

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

PooyaRaki
Copy link
Contributor

Summary

This PR introduces functionality to trigger hooks via HTTP when a specified feature flag is activated. The implementation ensures that hooks are invoked dynamically based on feature flag status. The intention of this PR is to help make testing new networks that don’t have a staging environment easier on the staging app.

Changes

  • Introduced a new feature flag to enable HTTP-based hook calls.
  • Added support for non-configured hooks to be triggered via HTTP.
  • Included unit tests to verify hook execution flow.

Testing Notes

  • Tested feature flag activation triggering multiple hook endpoints.
  • Verified HTTP responses and error handling for unreachable or misconfigured endpoints.

@PooyaRaki PooyaRaki marked this pull request as ready for review December 16, 2024 10:26
@PooyaRaki PooyaRaki requested a review from a team as a code owner December 16, 2024 10:26
@PooyaRaki PooyaRaki merged commit 992d373 into main Dec 16, 2024
20 checks passed
@PooyaRaki PooyaRaki deleted the hooksController branch December 16, 2024 10:27
@PooyaRaki PooyaRaki self-assigned this Dec 16, 2024
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.

1 participant