Hdpi 6864 defence pack#1980
Merged
Merged
Conversation
… save-for-later distinction
… to RespondToClaimSection enum
…ORT enum values (out of scope for this branch)
…I-3794-End-of-journey-CYA-and-SOT-BE
…I-3794-End-of-journey-CYA-and-SOT-BE
…essConfirmation is NO
…nd defendant list
… defendant N details'
…lar-expenses sections are hidden on the defence form
…he terminal attempt, not on every retry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira link
https://tools.hmcts.net/jira/browse/HDPI-6864
Change description
Generates the defendant defence-form PDF and attaches it to the case so it's visible in Case File View and available for bulk-print distribution. Mirrors the claim-pack pipeline, reusing the shared formatter/mapper.
CustomTask, retries + exponential backoff), keyed per defendant response.
fields — name, address, tenancy/notice details etc. resolved from the defendant's party_attribute_assertion (asserted value where present, else the claim baseline).
owned by PcsCaseEntity.documents; FK ON DELETE SET NULL), and logs the outcome to claim_activity_log against the defendant party. Idempotent — skips if a submission
document already exists.
Testing done
Locally tested
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?
Checklist