-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Improvement][Alert] Add a test send feature when creating an alert instance #15163
Conversation
qingwli
commented
Nov 15, 2023
- close [Improvement][Alert] Add a test send feature when creating an alert instance #15162
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #15163 +/- ##
============================================
+ Coverage 38.24% 38.28% +0.03%
- Complexity 4696 4701 +5
============================================
Files 1285 1285
Lines 45471 45547 +76
Branches 4952 4957 +5
============================================
+ Hits 17391 17436 +45
- Misses 26188 26217 +29
- Partials 1892 1894 +2 ☔ View full report in Codecov by Sentry. |
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 idea, leave some comments.
...lphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java
Outdated
Show resolved
Hide resolved
...server/src/main/java/org/apache/dolphinscheduler/alert/service/ListenerEventPostService.java
Outdated
Show resolved
Hide resolved
: `${t('security.alarm_instance.test_send')} ${t('home.success')}` | ||
) | ||
status.testing = false | ||
} catch (err) { |
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 delete err, because it is not used.
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
...c/main/java/org/apache/dolphinscheduler/api/service/impl/AlertPluginInstanceServiceImpl.java
Fixed
Show fixed
Hide fixed
...er-extract-alert/src/main/java/org/apache/dolphinscheduler/extract/alert/IAlertOperator.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/dolphinscheduler/api/service/impl/AlertPluginInstanceServiceImpl.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/dolphinscheduler/api/service/impl/AlertPluginInstanceServiceImpl.java
Outdated
Show resolved
Hide resolved
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.
Backend LGTM
@songjianet PTAL |
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.
Others LGTM
7821d01
to
7f69c4b
Compare
Co-authored-by: Aaron Wang <wangweirao16@gmail.com>
Kudos, SonarCloud Quality Gate passed! |