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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: supports test the $events/delivery_dropped event by API #10746

Merged
merged 3 commits into from May 22, 2023

Conversation

lafirest
Copy link
Member

@lafirest lafirest commented May 19, 2023

Fixes EMQX-9869

Summary

馃 Generated by Copilot at fa799e9

Added a new rule engine event type for delivery dropped events. Updated the ctx_event schema in emqx_rule_api_schema.erl to include the new event type.

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Changed lines covered in coverage report
  • Change log has been added to changes/{ce,ee}/(feat|perf|fix)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • If there should be document changes, a PR to emqx-docs.git is sent, or a jira ticket is created to follow up
  • Schema changes are backward compatible

Checklist for CI (.github/workflows) changes

  • If changed package build workflow, pass this action (manual trigger)
  • Change log has been added to changes/ dir for user-facing artifacts update

@lafirest lafirest marked this pull request as ready for review May 19, 2023 07:06
@lafirest lafirest requested review from a team and kjellwinblad as code owners May 19, 2023 07:06
@@ -0,0 +1 @@
Add support for testing the `$events/delivery_dropped` event by the `rule_test` API.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Add support for testing the `$events/delivery_dropped` event by the `rule_test` API.
Add missing a missing event rule-engine event `$events/delivery_dropped`.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $events/delivery_dropped isn't missing, this schema only affects the rule_test API which is just for testing an event in the dashboard

Copy link
Member

@zmstone zmstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check the pr checklist.

@lafirest
Copy link
Member Author

please check the pr checklist.

do you mean the test cases or the prefix of changlog ?

@zmstone
Copy link
Member

zmstone commented May 19, 2023

please check the pr checklist.

do you mean the test cases or the prefix of changlog ?

I mean
PR Checklist.

@lafirest lafirest merged commit 42f9c9a into emqx:release-50 May 22, 2023
40 checks passed
@lafirest lafirest deleted the fix/events_api branch May 22, 2023 12:50
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.

None yet

3 participants