-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consumer API: Multiple active identity deletion processes can exist (#…
…843) * feat: Use Semaphore (only temporary) * chore: Remove semaphore * fix: Use unique filtered index * feat: Add filtered index to SQL Server * feat: Catch Update Exception to throw a 400 response * chore: Fix formatting * fix: remove code added to Init migrations * chore: delete MigrationOperations * feat: add migration via EntityTypeConfiguration * chore: simplify ef core scripts by using DatabaseMigrator as startup assembly * chore: Handle update exception in repository * fix: correct casing of exception message recognition --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Timo Notheisen <[email protected]>
- Loading branch information
1 parent
0939c07
commit 92c2bc4
Showing
18 changed files
with
2,112 additions
and
106 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
14 changes: 14 additions & 0 deletions
14
Modules/Devices/src/Devices.Application/OnlyOneActiveDeletionProcessAllowedException.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,14 @@ | ||
namespace Backbone.Modules.Devices.Application; | ||
|
||
public class OnlyOneActiveDeletionProcessAllowedException : Exception | ||
{ | ||
private const string MESSAGE = "Only one active deletion process is allowed."; | ||
|
||
public OnlyOneActiveDeletionProcessAllowedException() : base(MESSAGE) | ||
{ | ||
} | ||
|
||
public OnlyOneActiveDeletionProcessAllowedException(Exception innerException) : base(MESSAGE, innerException) | ||
{ | ||
} | ||
} |
Oops, something went wrong.