Skip to content

HDPI-5535 Page - View the response#1847

Open
mazzopardi2 wants to merge 61 commits into
masterfrom
HDPI-5535-2
Open

HDPI-5535 Page - View the response#1847
mazzopardi2 wants to merge 61 commits into
masterfrom
HDPI-5535-2

Conversation

@mazzopardi2

@mazzopardi2 mazzopardi2 commented May 19, 2026

Copy link
Copy Markdown
Contributor

Jira link

See HDPI-5535
See [HDPI-6457] (https://tools.hmcts.net/jira/browse/HDPI-6457)

Change description

  • New “view defendant response” flow - Defendants can load a submitted response via CCD event
  • Read mapping - Submitted response data is mapped from Postgres into the case payload the frontend uses.
  • date submitted and statement-of-truth details are stored on submit.
  • Claim issued date - New claim_issued_date on the claim; set when the issue fee is paid.
  • Claimant details on view - Claimant name and address for service are added to the view payload from case parties.

Testing done

-added unit tests and manual testing

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

@mazzopardi2 mazzopardi2 changed the title Trigger deployment HDPI-5535 Page - View the response May 19, 2026
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z Bot requested a deployment to preview May 19, 2026 09:53 Abandoned
@mazzopardi2 mazzopardi2 changed the title HDPI-5535 Page - View the response draft May 19, 2026
@hmcts-jenkins-j-to-z hmcts-jenkins-j-to-z Bot requested a deployment to preview May 26, 2026 09:19 Abandoned
@mazzopardi2 mazzopardi2 changed the title draft HDPI-5535 Page - View the response May 27, 2026
Base automatically changed from HDPI-4252-backend to master May 27, 2026 12:34
@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/28284865557?check_suite_focus=true

CaseField.json

RegularExpressionMaxSearchableMinFieldTypeParameterHintTextLabelIDFieldType
-
-
-
-
-
-
- 
-claimantNames
-Text
-
-
-
-
-
-
- 
-dateIssued
-DateTime
-
-
-
-
-
-
- 
-dateIssuedString
-Text
-
-
-
-
-
-
- 
-defendantNames
-Text
-
-
-
-
-
-
- 
-postCode
-Text

WorkBasketResultFields.json

LabelCaseFieldID
+Property Address
+propertyAddress
-State
-[STATE]
-Claimant names
-claimantNames
-Date issued
-dateIssuedString
-Defendant names
-defendantNames
-Postcode
-postCode
-Case number 
+Case Number

[CASE_REFERENCE]

AuthorisationCaseField/wlu-admin.json

UserRoleCaseFieldIDCRUD
+wlu-admin
+propertyAddress
+R
-wlu-admin
-claimantNames
-R
-wlu-admin
-dateIssuedString
-R
-wlu-admin
-defendantNames
-R
-wlu-admin
-postCode
-R

AuthorisationCaseField/hearing-centre-admin.json

UserRoleCaseFieldIDCRUD
+hearing-centre-admin
+propertyAddress
+R
-hearing-centre-admin
-claimantNames
-R
-hearing-centre-admin
-dateIssuedString
-R
-hearing-centre-admin
-defendantNames
-R
-hearing-centre-admin
-postCode
-R

AuthorisationCaseField/ctsc.json

UserRoleCaseFieldIDCRUD
+ctsc
+propertyAddress
+R
-ctsc
-claimantNames
-R
-ctsc
-dateIssuedString
-R
-ctsc
-defendantNames
-R
-ctsc
-postCode
-R

AuthorisationCaseField/caseworker-pcs.json

UserRoleCaseFieldIDCRUD
+caseworker-pcs
+propertyAddress
+R
-caseworker-pcs
-claimantNames
-R
-caseworker-pcs
-dateIssuedString
-R
-caseworker-pcs
-defendantNames
-R
-caseworker-pcs
-postCode
-R

AuthorisationCaseField/caseworker-pcs-solicitor.json

UserRoleCaseFieldIDCRUD
-caseworker-pcs-solicitor
-claimantNames
-R
-caseworker-pcs-solicitor
-dateIssued
-CRU
-caseworker-pcs-solicitor
-dateIssuedString
-R
-caseworker-pcs-solicitor
-defendantNames
-R
-caseworker-pcs-solicitor
-postCode
-R

AuthorisationCaseField/DEFENDANTSOLICITOR.json

UserRoleCaseFieldIDCRUD
-[DEFENDANTSOLICITOR]
-claimantNames
-R
-[DEFENDANTSOLICITOR]
-dateIssued
-CRU
-[DEFENDANTSOLICITOR]
-dateIssuedString
-R
-[DEFENDANTSOLICITOR]
-defendantNames
-R
-[DEFENDANTSOLICITOR]
-postCode
-R

AuthorisationCaseField/DEFENDANT.json

UserRoleCaseFieldIDCRUD
-[DEFENDANT]
-claimantNames
-R
-[DEFENDANT]
-dateIssued
-CRU
-[DEFENDANT]
-dateIssuedString
-R
-[DEFENDANT]
-defendantNames
-R
-[DEFENDANT]
-postCode
-R

ComplexTypes/PossessionClaimResponse.json

ListElementCodeIDFieldTypeParameterFieldTypeElementLabel
+claimantServiceAddress
+PossessionClaimResponse
+
+AddressUK
+Address for service
+claimIssuedDate
+PossessionClaimResponse
+
+Date
+Date issued

ComplexTypes/4_DefendantResponses.json

MaxListElementCodeIDFieldTypeParameterFieldTypeElementLabel
+
+statementOfTruthCompletedBy
+DefendantResponses
+
+Text
+ 

@hmcts-jenkins-j-to-z

Copy link
Copy Markdown
Contributor

Plan Result (aat)

⚠️ Resource Deletion will happen

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 0 to add, 0 to change, 1 to destroy.
  • Delete
    • module.postgresql.azurerm_postgresql_flexible_server_configuration.pgsql_server_config["pg_qs.query_capture_mode"]
Change Result (Click me)
  # module.postgresql.azurerm_postgresql_flexible_server_configuration.pgsql_server_config["pg_qs.query_capture_mode"] will be destroyed
  # (because key ["pg_qs.query_capture_mode"] is not in for_each map)
  - resource "azurerm_postgresql_flexible_server_configuration" "pgsql_server_config" {
      - id        = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/pcs-data-aat/providers/Microsoft.DBforPostgreSQL/flexibleServers/pcs-aat/configurations/pg_qs.query_capture_mode" -> null
      - name      = "pg_qs.query_capture_mode" -> null
      - server_id = "/subscriptions/1c4f0704-a29e-403d-b719-b90c34ef14c9/resourceGroups/pcs-data-aat/providers/Microsoft.DBforPostgreSQL/flexibleServers/pcs-aat" -> null
      - value     = "top" -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.

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.