-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- breaking change (notifications extension): notification buffers, pi…
…peline and governors are now identified using arbitrary string names instead of GUIDs for more flexibility
- Loading branch information
1 parent
ff34a4e
commit bbb9589
Showing
22 changed files
with
112 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
Extensions/Revo.Extensions.Notifications/Channels/Buffering/INotificationPipeline.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
namespace Revo.Extensions.Notifications | ||
namespace Revo.Extensions.Notifications.Channels.Buffering | ||
{ | ||
public interface INotificationPipeline | ||
{ | ||
Guid Id { get; } | ||
string Name { get; } | ||
Task ProcessNotificationsAsync(IReadOnlyCollection<INotification> notifications); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Extensions/Revo.Extensions.Notifications/Sql/rno_2_pgsql.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ALTER TABLE rno_notification_buffer | ||
ADD COLUMN rno_nbf_name text NOT NULL DEFAULT '', | ||
ALTER COLUMN rno_nbf_pipeline_id TYPE text, | ||
ALTER COLUMN rno_nbf_governor_id TYPE text; | ||
|
||
UPDATE rno_notification_buffer SET rno_nbf_name = rno_nbf_notification_buffer_id::text; | ||
|
||
ALTER TABLE rno_notification_buffer | ||
ALTER COLUMN rno_nbf_name DROP DEFAULT; | ||
ALTER TABLE rno_notification_buffer | ||
ADD UNIQUE(rno_nbf_name); | ||
|
||
ALTER TABLE rno_notification_buffer | ||
RENAME COLUMN rno_nbf_pipeline_id TO rno_nbf_pipeline_name; | ||
|
||
ALTER TABLE rno_notification_buffer | ||
RENAME COLUMN rno_nbf_governor_id TO rno_nbf_governor_name; |
6 changes: 4 additions & 2 deletions
6
...otifications/Sql/rno_baseline_1_mssql.sql → ....Notifications/Sql/rno_baseline_mssql.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...otifications/Sql/rno_baseline_1_pgsql.sql → ....Notifications/Sql/rno_baseline_pgsql.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...tifications/Sql/rno_baseline_1_sqlite.sql → ...Notifications/Sql/rno_baseline_sqlite.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.