Skip to content

SCRUM-5967 Add GeneCacheDocument view and cache endpoint#2671

Merged
oblodgett merged 2 commits intoproductionfrom
release/v0.48.1
Apr 15, 2026
Merged

SCRUM-5967 Add GeneCacheDocument view and cache endpoint#2671
oblodgett merged 2 commits intoproductionfrom
release/v0.48.1

Conversation

@oblodgett
Copy link
Copy Markdown
Member

Summary

  • Add GeneCacheDocument JsonView with slim gene fields for variant indexer cache (curie, primaryExternalId, taxon, geneSymbol, geneSynonyms, crossReferences, geneGenomicLocationAssociations + nested)
  • Add POST /gene/document/cache/byids endpoint returning GeneSummaryDocument with the slim view
  • Add geneSynonyms and geneCrossReferences HashSet<String> fields to VariantSummaryDocument and SequenceSummaryDocument for variant search support
  • Add GeneCacheDocument to SearchResponse and GeneSummaryDocument class-level views

Test plan

  • Call POST /api/gene/document/cache/byids with a batch of gene IDs, verify slim response
  • Verify existing findByIds endpoint still returns full GeneSummaryDocument payload
  • Verify no regression on gene summary indexing

…riant indexer

Add slim GeneCacheDocument JsonView with only the fields needed by the
variant indexer gene cache (curie, primaryExternalId, taxon, geneSymbol,
geneSynonyms, crossReferences, geneGenomicLocationAssociations).

Add POST /gene/document/cache/byids endpoint returning GeneSummaryDocument
with the GeneCacheDocument view for batched gene lookups.

Add geneSynonyms and geneCrossReferences HashSet<String> fields to
VariantSummaryDocument and SequenceSummaryDocument for search support.
@oblodgett oblodgett requested a review from a team as a code owner April 15, 2026 00:09
@oblodgett oblodgett merged commit fc2d3d0 into production Apr 15, 2026
10 checks passed
@oblodgett oblodgett deleted the release/v0.48.1 branch April 15, 2026 11:55
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