diff --git a/src/InventoryManagementSystem.sln b/src/InventoryManagementSystem.sln index cffa557..878fbed 100644 --- a/src/InventoryManagementSystem.sln +++ b/src/InventoryManagementSystem.sln @@ -31,6 +31,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InventoryAlert.Infrastructu EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InventoryAlert.E2ETests", "test\InventoryAlert.E2ETests\InventoryAlert.E2ETests.csproj", "{5E783740-3A81-4C1A-AB33-617CDED7E7AD}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B9E83740-3A81-4C1A-AB33-617CDED7E7AE}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -150,6 +152,13 @@ Global {5E783740-3A81-4C1A-AB33-617CDED7E7AD}.Release|x86.ActiveCfg = Release|Any CPU {5E783740-3A81-4C1A-AB33-617CDED7E7AD}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {9A5F9FC6-8F3C-42FF-A04E-F5C9527646DB} = {B9E83740-3A81-4C1A-AB33-617CDED7E7AE} + {FFE36D59-CD3A-4C4B-BFFA-E7C7A6955C06} = {B9E83740-3A81-4C1A-AB33-617CDED7E7AE} + {8AEACF55-3718-4F82-B731-305FD8ECAA1F} = {B9E83740-3A81-4C1A-AB33-617CDED7E7AE} + {51B44AE9-AC73-4B5D-8B25-672C921A704D} = {B9E83740-3A81-4C1A-AB33-617CDED7E7AE} + {5E783740-3A81-4C1A-AB33-617CDED7E7AD} = {B9E83740-3A81-4C1A-AB33-617CDED7E7AE} + EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection diff --git a/src/ui/InventoryAlert.Wiki/docs/04-execution-flows/alert-dispatch.md b/src/ui/InventoryAlert.Wiki/docs/04-execution-flows/alert-dispatch.md index c823884..accd1c0 100644 --- a/src/ui/InventoryAlert.Wiki/docs/04-execution-flows/alert-dispatch.md +++ b/src/ui/InventoryAlert.Wiki/docs/04-execution-flows/alert-dispatch.md @@ -29,9 +29,9 @@ flowchart TD H & I & J --> K{Breached?} K -- Yes --> L{Redis Cooldown active?} - L -- Yes --> M[Skip — inventoryalert:alerts:cooldown:v1:{userId}:{ruleId} exists] + L -- Yes --> M["Skip — inventoryalert:alerts:cooldown:v1:{userId}:{ruleId} exists"] L -- No --> N[1. INSERT Notification row] - N --> O[2. SET inventoryalert:alerts:cooldown:v1:{userId}:{ruleId} TTL=24h] + N --> O["2. SET inventoryalert:alerts:cooldown:v1:{userId}:{ruleId} TTL=24h"] O --> P[3. Push via SignalR HubContext] P --> Q{TriggerOnce?} Q -- Yes --> R[UPDATE AlertRule SET IsActive = false]