Skip to content

Conversation

@LuomaJuha
Copy link
Contributor

  • 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.

@LuomaJuha LuomaJuha requested a review from EreMaijala December 8, 2025 11:41
@LuomaJuha LuomaJuha changed the title Simplify enrichments to use single service class [FINNA-4205] Simplify SkosmosEnrichment and AuthEnrichment to use single service classes Dec 8, 2025
Copy link
Contributor

@EreMaijala EreMaijala left a 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.

@LuomaJuha LuomaJuha requested a review from EreMaijala December 16, 2025 09:15
Copy link
Contributor

@EreMaijala EreMaijala left a 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.

@LuomaJuha LuomaJuha requested a review from EreMaijala December 16, 2025 10:17
@LuomaJuha LuomaJuha removed the request for review from EreMaijala December 16, 2025 10:45
@LuomaJuha LuomaJuha requested a review from EreMaijala December 16, 2025 13:22
@EreMaijala EreMaijala merged commit 18f726f into NatLibFi:dev Dec 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants