Add store log analysis feature and related data structures
- Implement AnalyzeSlotUnregistrationsAsync method to retrieve and report store log data for cooperating stores in region 139. - Introduce StoreLogProfileEntry record to aggregate log information. - Add StoreLog endpoint for API access. - Create GetStoreLogAsync and GetStoreLogEntriesAsync methods for fetching and deserializing store log entries. - Update Program.cs to include the new analysis task option.
This commit is contained in:
@@ -18,6 +18,7 @@ using var httpClient = new HttpClient();
|
||||
logger.Info("Choose a task to execute:");
|
||||
logger.Info("1. Check Aldi Memberships");
|
||||
logger.Info("2. Confirm all Unconfirmed Pickups for Lindenberg");
|
||||
logger.Info("3. Analyze slot unregistrations for region Siegen");
|
||||
logger.Info("Enter the number of the task to execute (or any other key to exit): ");
|
||||
var choice = Console.ReadLine();
|
||||
|
||||
@@ -29,6 +30,9 @@ switch (choice)
|
||||
case "2":
|
||||
await CustomTasks.ConfirmUnconfirmedPickupsLindenbergAsync(httpClient);
|
||||
break;
|
||||
case "3":
|
||||
await CustomTasks.AnalyzeSlotUnregistrationsAsync(httpClient);
|
||||
break;
|
||||
default:
|
||||
logger.Info("Exiting...");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user