Skip to content

Conversation

@tomsun28
Copy link
Member

support alert notice design:

  • shenyu admin provider a alarm report api /alert/report to receiver alarm content from gateway pulgin
  • gateway send alert message when them alert trigger
  • shenyu dashboard support manage alert receiver name , alert type(email, dingding, wechat ...)

image

TODO:

  • shenyu admin backend unit test and more
  • a shenyu gateway plugin trigger and send alert to admin
  • relate shenyu dashboard component ui
  • doc and test

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@codecov-commenter
Copy link

codecov-commenter commented Aug 16, 2023

Codecov Report

Attention: Patch coverage is 9.04110% with 332 lines in your changes missing coverage. Please review.

Project coverage is 61.13%. Comparing base (dcc160f) to head (349c6e9).
Report is 483 commits behind head on master.

Files with missing lines Patch % Lines
...che/shenyu/admin/model/entity/AlertReceiverDO.java 0.00% 84 Missing ⚠️
...u/admin/service/impl/AlertDispatchServiceImpl.java 29.57% 48 Missing and 2 partials ⚠️
...ava/org/apache/shenyu/common/dto/AlarmContent.java 0.00% 44 Missing ⚠️
...u/admin/service/impl/AlertReceiverServiceImpl.java 2.43% 40 Missing ⚠️
...g/apache/shenyu/plugin/base/alert/AlarmSender.java 0.00% 32 Missing ⚠️
...enyu/admin/controller/AlertReceiverController.java 5.88% 16 Missing ⚠️
...che/shenyu/plugin/base/alert/AlarmServiceImpl.java 0.00% 16 Missing ⚠️
...e/shenyu/admin/model/query/AlertReceiverQuery.java 0.00% 15 Missing ⚠️
...nyu/plugin/base/alert/AlarmThreadPoolExecutor.java 0.00% 10 Missing ⚠️
.../org/apache/shenyu/common/config/ShenyuConfig.java 30.76% 9 Missing ⚠️
... and 3 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4782      +/-   ##
============================================
- Coverage     61.70%   61.13%   -0.58%     
+ Complexity     8497     8469      -28     
============================================
  Files          1232     1242      +10     
  Lines         36999    37317     +318     
  Branches       3514     3534      +20     
============================================
- Hits          22832    22812      -20     
- Misses        12203    12539     +336     
- Partials       1964     1966       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tomsun28
Copy link
Member Author

tomsun28 commented Sep 6, 2023

relate shenyu dashboard pr apache/shenyu-dashboard#333

impactCn
impactCn previously approved these changes Sep 6, 2023
@moremind moremind merged commit 7b97dae into apache:master Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants