Repository navigation
Conversation
|
The alerter/backend side still looks mergeable after a rebase, but the frontend part (NoticeReceiver.ts, alert-notice components, the i18n json files) is on the old Angular app that no longer exists on master. The UI side needs to be redone on the new React frontend before this can land. |
5408854 to
490cbc8
Compare
|
@tomsun28 Thanks for the review. The frontend has been rebuilt on the current React app, and the branch is now based on the latest master. The old Angular files ( One necessary adjustment: type 16 is already used by WPUSH on master, so Microsoft Teams is now type 17 ( Please take another look when you have time. |
Move the Teams Workflows channel onto current master as type 17, because type 16 is already used by WPUSH, and rebuild the receiver form on the React catalog instead of the removed Angular UI.
Signed-off-by: Logic <zqr10159@126.com>
Signed-off-by: Logic <zqr10159@126.com>
Keep existing V201 databases additive and fresh installs aligned with NoticeReceiver.teamsWebHookUrl.
5fe8485 to
e3ba119
Compare
|
@tomsun28 @thefullgc Could you approve the pending workflows for this update? Rebased onto current master. The previous backend failure was Fork workflows are waiting on maintainer approval, so CI has not run yet. A review is still needed after the checks pass. |
|
Thanks for the update. Please align the schema version with the HertzBeat release version. All SQL scripts shipping with HertzBeat 2.0.0 use schema version |
Align Teams DDL with HertzBeat 2.0.0 schema version 200 per review: add the column in V200/B200 for h2, mysql, and postgresql, and remove additive changes from V201 while keeping the current B201 baseline column for fresh installs. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Thanks for the review @zqr10159 — schema versioning is aligned with 2.0.0 now. Changes
Verification
Pushed in ce45529. Please let me know if anything else should be adjusted. |
|
Thanks for updating the Teams migrations, @Rangsh. Could you hold off on rebasing until #4598 is merged? It consolidates the 2.0.0 schema into B200 for fresh installs and V200 for upgrades. Once it lands, please rebase onto |
Support Teams Workflows webhook with Adaptive Card payload (type=17), URI-safe sending for Power Automate URLs, React receiver form/i18n, default template, docs, and unit tests. Fixes #4346.
What's changed?
Add Microsoft Teams as an independent alert notification channel.
Office 365 Incoming Webhooks have been retired. This PR integrates Teams Workflows (Power Automate) webhooks and sends alerts as Adaptive Cards.
The change is rebased onto current master and the receiver UI is rebuilt on the React frontend. Type 16 is already used by WPUSH, so Microsoft Teams is type 17.
TeamsAlertNotifyHandlerImpl(type = 17) in alerterteamsWebHookUrlonNoticeReceiver(@Size(max = 1000))java.net.URIso pre-encoded Power Automate query params are not re-encoded (same issue as fix(alerter): keep webhook query params intact #4249)Attention/Warning/Default/Good)NoticeReceiverMaskUtiland the receiver contract17-MicrosoftTeamsTemplate.txtalert_teams.md(EN/zh-CN), guide, and sidebarFixes #4346
Checklist
Add or update API