Skip to content
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

UAT release #2380

Merged
merged 39 commits into from
Jan 17, 2025
Merged

UAT release #2380

merged 39 commits into from
Jan 17, 2025

Conversation

saruniitr
Copy link
Contributor

Aim

LTD-

At the moment this endpoint does nothing
Users can bulk approve multiple cases and we create approve recommendation
for all those cases.
Initially only allowed for MoD teams
This is to make it easier to include Bulk approval audit events in
notes and timeline.
Bulk approval audit event is not specific to a particular case hence
filter them separately and combine into the case activity events.
A team can have multiple queues and we want to enable for specific
queues instead of all queues of that team.
Following review comments it is updated to emit event for each case.
This avoids special code to extract and combine these events to show
in notes and timeline. This also helps to examine payload and identify
relevant events for the special code to work.
Following review comments we now use a serializer to validate input data
before transforming the data to contruct Advice records.

This will ensure the API contract is enforced and validated with serializer.
This is repeated in few places so best to keep in the model.
The test takes a case that is assigned to an OGD queue and moves it forward.
To be able to verify that the current queue is unassigned and next queue
as per routing rules is assigned correctly the case is initially processed
through product assessments and pre-circ. This is to prevent triggering of
fallback routing rules which otherwise doesn't unassign the current queue
and in addition routes to this fallback queue as this rules relies on
presence of specific audit events.

Though this verifies next queue as per routing rules this is not be
considered a test for routing rules.
Add unit test for bulk approval permission
Update tests such that we cover queues of all teams that has bulk
approval support and queues that don't support.
@saruniitr saruniitr merged commit 58d738e into uat Jan 17, 2025
27 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.

4 participants