Skip to content

ARCPOC-1559#668

Merged
colbsure merged 12 commits into
masterfrom
ARCPOC-1559
Jul 21, 2026
Merged

ARCPOC-1559#668
colbsure merged 12 commits into
masterfrom
ARCPOC-1559

Conversation

@colbsure

@colbsure colbsure commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Jira link

https://tools.hmcts.net/jira/browse/ARCPOC-1559

Change description

The ask here is to optimise the bulk endpoints to perform in an acceptable duration - currently they seem to iterate over the lists and operate on singluar items rather than being a truly bulk implementation.

Testing done

  • Unit tests
  • Integration tests
  • Manual via http requests

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

- Batch-load, batch-delete, and batch-save officials for bulk update.
- Replace per-official bulk audit events with a single bulk officials audit record.
- Spill oversized audit payloads into CLOB-backed data-audit fields.
- Update focused unit and integration tests for the new bulk officials behaviour.
colbsure added 2 commits July 20, 2026 14:39
- Batch bulk result validation and reuse resolved list, entry and result-code state.
- Preserve bulk endpoint error semantics for missing entries versus wrong-list entries.
- Keep bulk result persistence and auditing on the optimised batched path.
- Add focused validator and controller test coverage for the batched behaviour.
# Conflicts:
#	src/main/java/uk/gov/hmcts/appregister/applicationentry/service/ApplicationEntryServiceImpl.java
#	src/main/java/uk/gov/hmcts/appregister/audit/listener/DataAuditLogger.java
#	src/test/java/uk/gov/hmcts/appregister/applicationentry/service/ApplicationEntryServiceImplTest.java
colbsure added 2 commits July 20, 2026 16:08
- Batch target-list resequencing for bulk entry moves.
- Replace per-entry move auditing with a single bulk move audit payload.
- Persist moved entries through the batched save path.
- Update unit and integration tests for the bulk move audit and rollback behaviour.
- Add a dedicated bulk fees audit payload and operation.
- Batch fee status and offsite fee persistence under one audit operation.
- Update unit and integration tests for single-record bulk fee auditing.
@hmcts-jenkins-cnp
hmcts-jenkins-cnp Bot requested a deployment to preview July 20, 2026 15:49 Abandoned
colbsure added 2 commits July 20, 2026 16:50
- Reuse persisted bulk result entities after flush instead of reloading them.
- Remove the redundant bulk result repository lookup from the service test.
- Extract shared bulk audit formatting helpers and add focused tests.
- Add the bulk delete application entry results endpoint and request contract.
- Implement atomic bulk validation and batched deletion for entry results.
- Add a single bulk audit event capturing the requested and deleted result rows.
- Add unit and integration coverage for successful bulk deletion and rollback on validation failure.
- Update jackson 2.x to newer version.
# Conflicts:
#	src/main/java/uk/gov/hmcts/appregister/applicationentry/service/ApplicationEntryServiceImpl.java
@colbsure
colbsure marked this pull request as ready for review July 21, 2026 16:08
@hmcts-jenkins-cnp
hmcts-jenkins-cnp Bot requested a deployment to preview July 21, 2026 17:06 Abandoned
@colbsure
colbsure merged commit 16ebc7f into master Jul 21, 2026
4 of 5 checks passed
@colbsure
colbsure deleted the ARCPOC-1559 branch July 21, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants