Merge pull request #24071 from drodil/notification_processor_improvement

feat: notification processor improvements
This commit is contained in:
Marek Libra
2024-04-10 13:10:36 +02:00
committed by GitHub
6 changed files with 256 additions and 76 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-notifications-backend': patch
'@backstage/plugin-notifications-common': patch
'@backstage/plugin-notifications-node': patch
---
Notification processor functions are now renamed to `preProcess` and `postProcess`.
Additionally, processor name is now required to be returned by `getName`.
A new processor functionality `processOptions` was added to process options before sending the notification.