-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Email and SmsPreferred support in Altinn.Notifications.Core (#581)
* core logic implemented * fixed code smells * orderRequestService unit tests * added test case * added PreferredChannelProcessingServiceTests * fixed code smells * fixed pr comments
- Loading branch information
Showing
16 changed files
with
1,245 additions
and
48 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
19 changes: 19 additions & 0 deletions
19
src/Altinn.Notifications.Core/Services/Interfaces/IPreferredChannelProcessingService.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Altinn.Notifications.Core.Models.Orders; | ||
|
||
namespace Altinn.Notifications.Core.Services.Interfaces; | ||
|
||
/// <summary> | ||
/// Interface for the order processing service speficic to email or sms preferred orders | ||
/// </summary> | ||
public interface IPreferredChannelProcessingService | ||
{ | ||
/// <summary> | ||
/// Processes a notification order | ||
/// </summary> | ||
public Task ProcessOrder(NotificationOrder order); | ||
|
||
/// <summary> | ||
/// Retry processing of an order | ||
/// </summary> | ||
public Task ProcessOrderRetry(NotificationOrder order); | ||
} |
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.