Ripartenza da refactor plan x nuova sessione
This commit is contained in:
+4
-69
@@ -1,5 +1,9 @@
|
||||
# Piano di Refactoring: Migrazione a FusionCache in `MpDataService.cs`
|
||||
|
||||
Stiamo lavorando sul progetto MP-SPEC.sln, dentro la cartella MP-SPEC (ed i progetti da cui dipende).
|
||||
|
||||
Voglio ottimizzare il file Data\MpDataService.cs
|
||||
|
||||
## Obiettivo
|
||||
Migrare la logica di caching manuale (Redis + DB) verso l'utilizzo di `IFusionCache` per implementare un approccio multi-layer (Memory + Redis + DB), standardizzando l'accesso ai dati.
|
||||
|
||||
@@ -13,75 +17,6 @@ Migrare la logica di caching manuale (Redis + DB) verso l'utilizzo di `IFusionCa
|
||||
|
||||
### Fase 2: Refactoring Metodi di Lettura (Cache-aside)
|
||||
|
||||
#### ✅ Completati (Migrati con `GetOrFetchAsync`)
|
||||
- `ActionGetReq`
|
||||
- `AnagEventiGeneralAsync`
|
||||
- `AnagStatiCommAsync`
|
||||
- `AnagTipoArtLvAsync`
|
||||
- `ArticleWithDossierAsync`
|
||||
- `ArticoliGetByTipoAsync`
|
||||
- `ArticoliGetSearchAsync`
|
||||
- `ConfigGetAllAsync`
|
||||
- `DossiersGetLastFiltAsync`
|
||||
- `ElencoAziendeAsync`
|
||||
- `ElencoGruppiFaseAsync`
|
||||
- `ElencoLinkAsync`
|
||||
- `FluxLogGetLastFiltAsync`
|
||||
- `FluxLogParetoAsync`
|
||||
- `OperatoriGetFiltAsync`
|
||||
- `POdlGetByOdlAsync`
|
||||
- `POdlListGetFiltAsync`
|
||||
- `TksScoreAsync`
|
||||
- `WipKitFiltAsync`
|
||||
- `MacchineRecipeArchiveAsync`
|
||||
- `MacchineRecipeConfAsync`
|
||||
|
||||
#### ⏳ In corso / Da Migrare
|
||||
- `AnagEventiGetByMacch`
|
||||
- `AnagKeyValGetAll`
|
||||
- `ConfigGetAll` (Sincrono)
|
||||
- `ConfigTryGet` (Sincrono)
|
||||
- `ConfigTryGetAsync`
|
||||
- `DbDedupStats`
|
||||
- `ElencoRepartiDTO`
|
||||
- `ExpiryReloadParamGet`
|
||||
- `IobInfo`
|
||||
- `ListPODL_ByCodArt`
|
||||
- `MacchineGetFilt`
|
||||
- `MachIobConf`
|
||||
- `MachIobConfVal`
|
||||
- `MseGetAll`
|
||||
- `OdlByBatch`
|
||||
- `OdlGetCurrentAsync`
|
||||
- `OdlListGetFilt`
|
||||
- `OperatoriGetFilt` (Sincrono)
|
||||
- `ParametriGetFilt`
|
||||
- `POdlGetByKey`
|
||||
- `POdlListByKitParent`
|
||||
- `ProcFLStats`
|
||||
- `StatoMacchina`
|
||||
- `TagConfGetKey`
|
||||
- `VocabolarioGetAll`
|
||||
|
||||
### Fase 3: Refactoring Metodi di Scrittura e Invalidazione
|
||||
- [ ] `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.
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user