Update plan interventi

This commit is contained in:
Samuele Locatelli
2026-05-27 14:47:49 +02:00
parent 8580acdb0c
commit 9d513edab4
+59 -7
View File
@@ -28,15 +28,67 @@ I metodi verranno suddivisi in:
- [ ] Verificare se la chiave di cache utilizzata è gestita tramite `Utils.redis...`.
#### Fase 2: Refactoring Metodi di Lettura
Per ogni metodo di lettura individuato:
- [ ] Sostituire la logica `if (rawData.HasValue) { ... } else { ... }` con la chiamata a `GetOrFetchAsync`.
- [ ] Assicurarsi che il `fetchFunc` esegua la chiamata al `dbController`.
- [ ] Configurare correttamente il `TimeSpan expiration` (usando le costanti esistenti come `redisLongTimeCache` o `redisShortTimeCache`).
- [ ] Aggiungere i tag appropriati per permettere l'invalidazione granulare.
- [x] `ActionGetReq` (Completato)
- [ ] `AnagEventiGeneral`
- [ ] `AnagEventiGetByMacch`
- [ ] `AnagKeyValGetAll`
- [ ] `AnagStatiComm`
- [ ] `AnagTipoArtLvAsync`
- [ ] `ArticleWithDossier`
- [ ] `ConfigGetAll`
- [ ] `ConfigGetAllAsync`
- [ ] `DbDedupStats`
- [ ] `DossiersGetLastFilt`
- [ ] `ElencoGruppiFase`
- [ ] `ElencoRepartiDTO`
- [ ] `ExpiryReloadParamGet`
- [ ] `IobInfo`
- [ ] `IstKitFilt`
- [ ] `ListGiacenze`
- [ ] `ListPODL_ByCodArt`
- [ ] `MacchineGetFilt`
- [ ] `MacchineRecipeArchive`
- [ ] `MacchineRecipeConf`
- [ ] `MacchineWithFlux`
- [ ] `MachIobConf`
- [ ] `MseGetAll`
- [ ] `OdlByBatch`
- [ ] `OdlGetCurrentAsync`
- [ ] `OdlListGetFilt`
- [ ] `OperatoriGetFilt`
- [ ] `ParametriGetFilt`
- [ ] `POdlGetByKey`
- [ ] `POdlGetByOdl`
- [ ] `POdlListByKitParent`
- [ ] `POdlListGetFilt`
- [ ] `POdlListGetFiltAsync`
- [ ] `ProcFLStats`
- [ ] `StatoMacchina`
- [ ] `TagConfGetKey`
- [ ] `TemplateKitFilt`
- [ ] `TksScore`
- [ ] `VocabolarioGetAll`
- [ ] `WipKitFilt`
#### Fase 3: Refactoring Metodi di Scrittura e Invalidazione
- [ ] Sostituire le chiamate manuali a `ExecFlushRedisPattern` o `redisDb.KeyDelete` con i metodi di invalidazione di `IFusionCache`.
- [ ] Utilizzare i tag per invalidare gruppi di dati correlati invece di pattern Redis generici quando possibile.
- [ ] `AnagGruppiDelete`
- [ ] `AnagGruppiUpsert`
- [ ] `ArticoliDeleteRecord`
- [ ] `ArticoliUpdateRecord`
- [ ] `ConfigResetCache`
- [ ] `DossiersDeleteRecord`
- [ ] `DossiersTakeParamsSnapshotLast`
- [ ] `IstKitDelete`
- [ ] `IstKitInsertByWKS`
- [ ] `IstKitUpsert`
- [ ] `PodlIstKitDelete`
- [ ] `POdlDoSetup`
- [ ] `POdlUpdateRecipe`
- [ ] `POdlUpdateRecord`
- [ ] `RecipeSetByPODL`
- [ ] `TemplateKitDelete`
- [ ] `TemplateKitUpsert`
#### Fase 4: Verifica
- [ ] Verificare la compilazione della soluzione tramite script PowerShell.