Skip to content

Elig 3326 back end add batch check summary endpoint#488

Open
YiannosGeorgantas wants to merge 17 commits into
mainfrom
ELIG-3326-BACK-END-Add-Batch-check-summary-endpoint
Open

Elig 3326 back end add batch check summary endpoint#488
YiannosGeorgantas wants to merge 17 commits into
mainfrom
ELIG-3326-BACK-END-Add-Batch-check-summary-endpoint

Conversation

@YiannosGeorgantas

@YiannosGeorgantas YiannosGeorgantas commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

No Cypress tests added following Lead guidance. Coverage added/kept at unit/API level for the summary endpoint response and not-found path.

… source/user parsing helper Jim pointed us to.
Existing policy requirement:

keep RequireBulkCheckScope
keep RequireLaOrMatOrSchoolScope

New front-end-only/source policy requirement.
Filename
Status
SubmittedDate
SubmittedBy
Outcomes dictionary
/bulk-checks/{guid}/summary route
AC1 404 path
Required policies
visibility/organisation filtering groundwork
AC2 controller response path once the use case exists.
AC1: missing GUID returns 404.
AC2: existing GUID returns summary.
Reuses existing permission context from GetAllBulkChecksUseCase.
… logic implementation required for AC1 and AC2.
…that does not exist returns a 404 not found.
Outcome/tier combination requirement, e.g.
eligible
eligible-targeted
eligible-expanded
notEligible
Loads bulk check
Loads results
Aggregates outcomes
Returns required summary model.
AC1: missing bulk check returns 404 via NotFoundException.
AC2: existing bulk check returns filename, status, submitted date, submitted by, and aggregated outcomes.
Permission safety before result data is returned.
AC1: missing GUID returns 404.
AC2:

Existing GUID returns correct summary data.
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.

1 participant