Skip to content

MyPupils: Replace AISearch pupil hydrate with a CosmosDb/PostGres impl #481

@aahmed-dfe

Description

@aahmed-dfe

Currently AggregatePupilsApplicationService uses AISearch to hydrate Pupil information, once we have the List from CosmosDb.MyPupils.

We should replace this hydration from AISearch to a CosmosDb impl to

  1. remove depedency on AISearch which could reduce costs if AISearch is removed
  2. Hydrate entirely through CosmosDb than multiple infrastructure parts.

This will also allow us to Server-side sort/paginate natively via SQL (this can be incremental applied, as currently we Client-side sort on a limited list).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions