-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: CFA 2021R6
-
Component/s: None
-
Labels:
-
Sprint:2021.R6 CloudLink Sprint 1
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:8
-
Work Type Classification:Sustaining
Currently, we need to run a single instance of CloudLink's CFA Message Processor to process all the records in tbCFAMessage.
1. We need to update the CFA Message Processor, and add the Parallel.ForEach bit of code (borrowed from RedCat Service) so we can process a group of stores at a time.
RedcatPollingService.cs
public void Process(IReadOnlyCollection<StoreEntry> stores, CancellationToken cancellationToken) { var options = new ParallelOptions { MaxDegreeOfParallelism = Math.Min(Environment.ProcessorCount, 4), CancellationToken = cancellationToken }; Parallel.ForEach(stores, options, ProcessParallel); Logger.Information("All stores processed successfully."); }
- implements
-
CFAMX-14120 CloudLink - MVP
- Open
1.
|
Review Test Scripts | Done | Unassigned |
|
|||||||||
2.
|
Deploy | Done | Unassigned |
|
|||||||||
3.
|
Functional Review with QA | Done | Unassigned |
|
|||||||||
4.
|
DIT | Done | Unassigned |
|
|||||||||
5.
|
Design Review | Done | Unassigned |
|
|||||||||
6.
|
Configure Zones for Each Instance (Mainly for Dev Testing) | Done | Unassigned |
|
|||||||||
7.
|
Update the CFA Message Processor | Done | Sree Surapaneni |
|
|||||||||
8.
|
Create Test Cases | Done | Gareth Leibbrandt (Inactive) |
|
|||||||||
9.
|
Execute Test Cases | Done | Gareth Leibbrandt (Inactive) |
|