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

[Feature] [ALERT-9406]enrich alert info when insert new row into DB #9445

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

Tianqi-Dotes
Copy link
Member

Purpose of the pull request

enrich alert info when inserting new row into DB
refer to #9406
refer to #9408

Brief change log

change property alertType from int to AlertType
and enrich new property infos when insert a new row

Verify this pull request

Have test locally.

@codecov-commenter
Copy link

Codecov Report

Merging #9445 (829bfc0) into dev (4a29c6a) will decrease coverage by 0.28%.
The diff coverage is 41.77%.

@@             Coverage Diff              @@
##                dev    #9445      +/-   ##
============================================
- Coverage     39.98%   39.70%   -0.29%     
- Complexity     4375     4398      +23     
============================================
  Files           822      825       +3     
  Lines         32924    33247     +323     
  Branches       3656     3683      +27     
============================================
+ Hits          13165    13201      +36     
- Misses        18532    18819     +287     
  Partials       1227     1227              
Impacted Files Coverage Δ
...lugin/alert/wechat/WeChatAlertParamsConstants.java 0.00% <ø> (ø)
...uler/plugin/alert/wechat/WechatAppChatMessage.java 0.00% <0.00%> (ø)
...cheduler/plugin/alert/wechat/WechatAppMessage.java 0.00% <0.00%> (ø)
...inscheduler/api/controller/ExecutorController.java 40.00% <ø> (ø)
...cheduler/api/service/impl/ExecutorServiceImpl.java 41.96% <ø> (ø)
...r/api/service/impl/ProcessInstanceServiceImpl.java 60.22% <ø> (-0.12%) ⬇️
...er/api/service/impl/TaskDefinitionServiceImpl.java 24.01% <ø> (+0.05%) ⬆️
.../org/apache/dolphinscheduler/common/Constants.java 80.95% <ø> (ø)
...che/dolphinscheduler/common/enums/AlertStatus.java 0.00% <0.00%> (ø)
...pache/dolphinscheduler/common/enums/AlertType.java 0.00% <0.00%> (ø)
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14d71d1...829bfc0. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Apr 12, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 6 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 40 Code Smells

32.0% 32.0% Coverage
0.2% 0.2% Duplication

@caishunfeng caishunfeng merged commit fb0139e into apache:dev Apr 12, 2022
Tianqi-Dotes added a commit to Tianqi-Dotes/dolphinscheduler that referenced this pull request Jun 16, 2022
…pache#9445)

* enrich alert info when insert new row into DB

* fix comments
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.

3 participants