-
Notifications
You must be signed in to change notification settings - Fork 32
[FINNA-4205] Simplify SkosmosEnrichment and AuthEnrichment to use single service classes #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FINNA-4205] Simplify SkosmosEnrichment and AuthEnrichment to use single service classes #186
Conversation
LuomaJuha
commented
Dec 8, 2025
- Map all the keys in solrupdater to use same cache key to avoid saving multiple instances of enrichment service
- All enrichment logic is now located in single service instead of record specific services.
…perly to avoid multiple instances.
EreMaijala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rid of ead3Fields and lidoFields and just put everything in defaultFields (that could be renamed to $fields)? It should be up to the record class to provide (or decide not to provide) the identifiers for each get..Ids call.
EreMaijala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muuten hyvä, mutta kun EnrichmentMapping-enumia ei voi käyttää enumina, koska se estäisi omien enrichmentien lisäämisen alajuoksulla, niin sen olemassaololle ei ole oikein hyvää perustetta.