Skip to content

Commit f3c3e44

Browse files
douglasricesgmsellirajeshthuraiyurRajesh Thuraiyur Moorthyhmcts-jenkins-d-to-i[bot]
authored
DIAC-0000 DO NOT MERGE - Rehydrate Changes (#3047)
* DIAC-1539 Turn off notifications for rehydrated appeals (#2828) * DIAC-1539 Turn off notifications for rehydrated appeals. In this commit we create a handler to check if appeal is a rehydrated and another to turn off notifications for rehydrated appeals. We add rehydrated appeal as a new source of appeal and create a new case field def to check the source of the appeal is a rehydrated one. * Update unit test should_break_if_new_facility_is_added to include RehydratedAppeal. Fix styling error by removing unused import in RehydratedAppealTurnOffNotificationsHandler.java * Update isRehydratedAppealHandler to include turn notifications off and remove notifications turn off handler. Add unit test file for isRehydratedAppealHandler. * Fix indentation error from checkStyleTest * Change image tags to latest in values.preview.template.yaml * Create functional test for rehydrate appeal flow * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * updates to fix review comments * Bumping chart version/ fixing aliases --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * Update Chart.yaml * DIAC-1538 Turn on notification/WA tasks event (Rehydrated appeal) (#2867) * DIAC-1538 Turn on notification/WA tasks event (Rehydrated appeal) * Add tests * DIAC-1538 Turn on notification/WA tasks event (Rehydrated appeal) * action code reveiw * Add functional tests --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1586-force-decided-state (#2865) Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1587 New Event to move the appeal to FTPA Decided state (Rehydrated Case) (#2872) * DIAC-1586-force-decided-state * DIAC-1587 wip * Update Event.java --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * Update EventTest.java * DIAC-1532 Start Appeal Rehydrate Case Submission Out Of Time / In Time (Override) (#2830) * suppress CVEs temp * DIAC-898 Detained Appeal Tab - LR Journey (#2515) * WIP * WIP * WIP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1100 Detained appeals DE reference (#2526) * DIAC-1100 Detained appeals HMCTS reference generated with DE - DE ref logic removed, test updated and some no longer required tests removed * no longer required variable removed * DIAC-976 Adding case flag when appellant in detention (#2530) * WIP * WIP * WIP * Update Jenkinsfile_CNP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * Fix sonar duplication issues for detained appeals branch (#2545) * DIAC-000 addressing duplicate lines (#2544) * Supress CVEs * DIAC-1144: Fix these tomcat related CVEs CVE-2025-31651, CVE-2025-31650 * Fix pipelines failures * Fix pipelines failures * DIAC-976 fixing flag bug (#2557) * WIP * Wip * DIAC-1029: Points to PR-984 for ia-case-docmenta-api * DIAC-963 Detained Appeal Label ICC Journey (#2564) * DIAC-963 Detained Appeal Label ICC Journey - Only consider OutOfCountryCircumstances if isOutOfCountry * previous fix reverted as broke unit tests, new fix added to clear OutOfCountryCircumstances * comment corrected * DIAC-1075 CMR for a detained appeal (Except RA and PA) (#2575) * Wip (#2576) * DIAC-1093 Update Detention location Appeal/Appellant Tab (#2572) * DIAC-1093 Update Detention location Appeal/Appellant Tab - when detention facility = other CUSTODIAL_SENTENCE, HAS_PENDING_BAIL_APPLICATIONS, BAIL_APPLICATION_NUMBER no longer cleared, additional verify added to unit tests * DIAC-1093 Update Detention location Appeal/Appellant Tab - CUSTODIAL_SENTENCE renamed to releaseDateProvided and naming exceptions added to test, if CUSTODIAL_SENTENCE bail is cleared, test added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1037 Detained Appeal to upload bundle 7 day compliance date (#2578) * DIAC-1037 Standard Directions to HO for a Detained Appeal to upload bundle 7 day compliance date - Unit and Functional tests added * Bumping chart version/ fixing aliases * AppealType no longer parameterized is unit tests, functional test description improved * unit tests no longer use .now() + improvements --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1078 Request respondent review of appellant case 7 day complianc… (#2580) * DIAC-1078 Request respondent review of appellant case 7 day compliance date - code logic updated, unit tests added, new constants added, functional test WIP * Bumping chart version/ fixing aliases * functional test desc corrected, functional test expectation sendDirectionExplanation added * functional test added DIAC-1078 Request respondent review when NOT detained --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * WIP (#2585) * DIAC-1075 * DIAC-1115 Supporting bail number validation when marking appeal as detained (#2587) * DIAC-1115 Supporting bail number validation when marking appeal as detained * Bumping chart version/ fixing aliases --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> * Update Chart.yaml (#2593) * Update values.preview.template.yaml (#2594) * DIAC-1141 Mark (non-detained) appeal as detained - Case Flags and Labels (#2589) * Update values.preview.template.yaml * DIAC-1115: adding event auth to caseworker (#2598) * DIAC-0000 fixing various issues related to detention address (#2600) * wip * wip * wip * wip * DIAC-1122 Deactivating detained_individual party party flag when detained status removed (#2597) * DIAC-1122: Deactivating detained_individual party party flag * WIP * WIP * DIAC-1122: disabling test --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * Update values.preview.template.yaml * DIAC-1119 Callback event changes for Generate CMR list event (#2601) * DIAC-1036 Standard Directions to Home Office for a detailed appeal to upload bundle (#2605) * Fix pipelines * DIAC-1119 allow home office validation for detained journey (#2610) * Fix failing tests after rebase from master * DIAC-1160 DA AiP Manual New Event (#2607) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * DIAC-1049 Standard Directions to LR to build case (#2618) * DIAC-1049 Standard Directions to LR to build case - first draft, text needs to be viewed in gui, wip * suppression added for CVE-2025-48988, CVE-2025-46701 * Trigger Build * direction wording tweaked * direction wording tweak, unit tests updated with new text to match for detained appeals, new wip FT added * sendDirectionExplanation removed from new FT replacements, wip * new FT updated, from FT DIAC-1078 * FT expectations updated * FT expectation text corrected, new non detained FT added. * non detained FT text updated * DIAC-1067 DA LR SD to request respondent to review the evidence (#2619) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1233 Set HC for OTHER detention location (#2631) * DIAC-1233 Set HC for OTHER detention location --------- Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1130 Updating tabs to show detention removal status (#2603) * DIAC-1130 fixing missing fields (#2640) * DIAC-000 test WA for detained appeals (#2644) * DIAC-0000 Use notifications-api PR-1385 (#2647) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1363 Set sponsorPartyId for all cases (#2649) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1407 Remove detained status bug (#2652) * DIAC-1221 AiP SD to request respondent to review the evidence - isAdm… (#2624) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1221 AiP SD to request respondent to review the evidence - isAdmin() and isAppellantInPersonManual() added, new text added WIP * CVE-2025-48976 suppression added * unit and functional tests added * isAppellantInPersonManual() now driven by isAppellantsRepresentation() instead of isAipJourney(). Unit tests and functional tests updated * unused import removed * DIAC-1408 DA Listed Case Update Events Failing Bug (#2653) * DIAC-1408 DA Listed Case Update Events Failing Bug * DIAC-1408 DA Event Automatic Hearing Requests Failing - ingressHost added to ia-hearings-api in preview chart * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab … (#2658) * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab error hopefully fixed by correcting SERVICES_HEARINGS_COMPONENT_API_IAC in preview chart * further SERVICES_HEARINGS_COMPONENT_API_IAC url correction * DIAC-1142 Detained appeal Remove AiP access to self-service portal wh… (#2617) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added * DIAC-1142 Detained appeal Remove AiP access to self-service portal when Mark as Detained Event - old confirmation page and test removed, confirmation now handled by ChangeRepresentationConfirmation where appellant case access is revoked like for AIP Manual --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Reverting fix 1173 (#2664) * Reverting 1173 fix * CVE * Update values.preview.template.yaml * Update suppressions.xml * Update values.preview.template.yaml * DIAC-1413 Clear Custodial Sentence for Bail Page (#2663) * DIAC-1413 Bail Page Not Showing After Custodial Sentence for IRC - In mid event CUSTODIAL_SENTENCE set to NO and DATE_CUSTODIAL_SENTENCE cleared for Start or Edit appeal if DETENTION_FACILITY is immigrationRemovalCentre * comment added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1312 fixing data clearing on edit appeal (#2678) * testing * wip * wip * DIAC-1237 Detained Branch Fix Conflicts (#2683) * DIAC-123 adding notification info redactions (#2662) * adding notification info redactions * adding notification info redactions * Fix for MyWork and AllWork in preview not working (#2670) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First … (#2637) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First Commit WIP * CVE-2024-47554 suppression added * duplicate lines updated for sonar * postSubmitResponse.setConfirmationBody() moved to inside catch * am_role_assignment_service added to DATA_STORE_S2S_AUTHORISED_SERVICES in preview chart, error catch statement fixed to handle AiP Manual event * FTs ported from detained appeal branch WIP * error FTs renamed and change to AboutToStart from AboutToSubmit --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * bracket put back after being incorrectly removed in merge resolution --------- Co-authored-by: Nilay <nilay.patel@solirius.com> Co-authored-by: KleoG <KleoG@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1237 New Event - Update a case to AiP (Detained) (#2692) * DIAC-1237 New Event - Update a case to AiP (Detained) - isAdmin set to YES Removed in SetCaseAsUnrepresentedHandler as now set in AiP Manual Event * IS_ADMIN verify removed as longer called * various changes to existing FTs for DIAC-1160 and also new FTs * expectations corrected to match inputs for AboutToStart FTs * expectations corrected to match inputs for AboutToStart FTs * DIAC-1348 SD Request Case Building Detained AiP Manual (#2695) * DIAC-1348 Standard Directions to Detained AiP Manual to build case ACE - First commit Wip * unit tests and functional test added, text split into 2 lines for sonar * FT added * isAdmin added to FT and description corrected * sendDirectionParties changed to appellant in FT * DIAC-1339 Fix to load email mappings for prison in preview (#2702) * Update values.preview.template.yaml * Update Jenkinsfile_CNP * Update suppressions.xml * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug (#2696) * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug * JOURNEY_TYPE now cleared in Mark Detained * Notification image changed to corresponding fix PR 1445 in preview chart * Mark as Detained now sets isAdmin=Yes, test updated * notifications image back to pr-1385 * APPELLANTS_REPRESENTATION now set to YES in MarkAppealAsDetainedHandler, test updated * mark detained FT added * prisonNOMSNumber updated in FT to json contruct * dateCustodialSentenceAo and releaseDate updated in FT to json construct * detentionFacility other FT added * DIAC-1422 Adding Closed Prisons - Added prisons to detention-faciliti… (#2704) * DIAC-1422 Adding Closed Prisons - Added prisons to detention-facilities.csv that are in the ia-ccd-definitions FixedLists.json * prison addresses added * duplicate Stirling removed * "/ Grendon" removed from Spring Hill * FT Submit Appeal - Detained - Prison, Added * prisonNOMSNumber corrected in FT expectation * FT changed to startAppeal and MidEvent * appealReferenceNumber and submissionOutOfTime removed from FT expectations * rebase and resolve conflicts with master * rebase and resolve conflicts with master * Extend CVE tme * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label Bug (#2720) * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label - Mark Detained fields set only when journey aip * new FTs added * new FTs added * Update application.yaml * DIAC-1441 Update Detention Location LR Manual Bug - prevoius dentention location no longer removing chars after white space (#2729) * DIAC-1440 fix to enable mark as detained event for manual appeals (#2733) * Update SendNotificationHandler.java * Update SendNotificationHandlerTest.java * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update values.preview.template.yaml * Update values.preview.template.yaml --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * updates to add hc mappings for irc/prison (#2735) Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@mac.home> * DIAC-1441 Update Detention Location Name Correction (#2736) * DIAC-1441 Update Detention Location Name Correction * name updated to "Edinburgh Saughton" in application-hc-mapping.yaml as errors being thrown * DIAC-1426 Legal representative removed from this case (LR to AiP) - Detained (in IRC or Prison) notification (#2738) * DIAC-1341 Cancellation of Production Notice Detained - postNotificationSender added to HearingCancelledConfirmation, tests updated (#2742) * DIAC-1425 updates to stop clearing LR details as part of remove representation (#2752) * updates to stop clearing LR details as part of remove representation * updates to fix failing FTs --------- Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> * DIAC-1341 Cancellation of Production Notice Detained 5 (#2751) * DIAC-1341 Cancellation of Production Notice Detained - HEARING_CANCELLED added to SendNotificationHandler, postNotificationSender removed from HearingCancelledConfirmation, tests updated * case-notifications-api image changed to branch pr-1520 (DIAC-1341) in Preview chart to see if FTs pass * listCaseHearingCentre added to FTs for RIA-8970 * case-notifications-api image back to detained branch pr-1385 in Preview chart * DIAC-1341 Cancellation of Production Notice Detained - LIST_CASE_HEARING_DATE no longer cleared in EndAppealHandler, tests updated (#2754) * DIAC-1618 clearing payment status for appeal with remission when editing (#2756) * DIAC-1614 Mapping Swinderby to Birmingham (#2764) * DIAC-1432 correcting hewell prison (#2767) * DIAC-1432-correcting-hewell-prison * DIAC-1432-correcting-hewell-prison * DIAC-1432 Update values.preview.template.yaml * DIAC-1614 Address mapping for swinderby (#2771) * DIAC-1390 Delegating DECIDE_FTPA_APPLICATION to docs api (#2761) * DIAC-1390 testing branch * DIAC-1390 Adding DECIDE_FTPA_APPLICATION event to docs delegation list * DIAC-1390 revert values.preview.template.yaml --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification (#2774) * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification - MARK_APPEAL_AS_REMITTED added to GenerateDocumentHandler, tests updated * desc and id corrected in FT to help find failing test * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) no… (#2757) * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) notification * Add decision without hearing event to generate document handler * Fix unit test error from it_cannot_handle_generate_if_em_stitching_not_enabled by adding DECISION_WITHOUT_HEARING event to list * Fix unit test error from GenerateDocumentHandlerTest it_can_handle_callback by adding DECISION_WITHOUT_HEARING event to list * Update values.preview.template.yaml --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1391 notification test (#2781) * Update values.preview.template.yaml * Update values.preview.template.yaml * Update values.preview.template.yaml * Update Chart.yaml * DIAC-0000 fixing detained branch (#2796) * DIAC-1547 testing - do not merge * DIAC-0000 Fixing tests * Update Chart.yaml * DIAC-1532 Start Appeal Rehydrate Case Submission Out Of Time (Override) * rehydrated in time / out of time logic tweaked write to RECORDED_OUT_OF_TIME_DECISION, WIP FTs added, Unit tests updated * DIAC-1547 Rehydrated appeal is invalid as a sourceOfAppeal fix (#2829) * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal-test inclusion * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal-test inclusion --------- Co-authored-by: erclaudio <claudio.andrei@icloud.com> * rehydrated in time / out of time logic tweaked write to RECORDED_OUT_OF_TIME_DECISION, WIP FTs added, Unit tests updated * duplicate expectations removed from new WIP FTs * isRehydratedAppeal() logic now uses equals() * SourceOfAppeal class now used for comparison * Update values.preview.template.yaml * Update values.preview.template.yaml * Update values.preview.template.yaml * updates to fix build failures * duplicate method isRehydrateAppeal() removed and unit tests updated * times invoked corrected to 0 in unit tests * sourceOfAppeal in FTs changed to isRehydratedAppeal --------- Co-authored-by: Sabah Irfan <sabah.irfan@gmail.com> Co-authored-by: tonym <129744569+tonymort@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: apereverzin1 <140609226+apereverzin1@users.noreply.github.com> Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> Co-authored-by: alivenichoppa <97441560+alivenichoppa@users.noreply.github.com> Co-authored-by: Nilay <nilay.patel@solirius.com> Co-authored-by: KleoG <KleoG@users.noreply.github.com> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@mac.home> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> Co-authored-by: Matthew Sellings <99349293+sgmselli@users.noreply.github.com> Co-authored-by: Claudio Andrei <72282843+erclaudio@users.noreply.github.com> Co-authored-by: erclaudio <claudio.andrei@icloud.com> * DIAC-1601 Rehydrate Restrict NoC Request (#2890) * DIAC-1539 Turn off notifications for rehydrated appeals. In this commit we create a handler to check if appeal is a rehydrated and another to turn off notifications for rehydrated appeals. We add rehydrated appeal as a new source of appeal and create a new case field def to check the source of the appeal is a rehydrated one. * Update unit test should_break_if_new_facility_is_added to include RehydratedAppeal. Fix styling error by removing unused import in RehydratedAppealTurnOffNotificationsHandler.java * Update isRehydratedAppealHandler to include turn notifications off and remove notifications turn off handler. Add unit test file for isRehydratedAppealHandler. * Fix indentation error from checkStyleTest * Change image tags to latest in values.preview.template.yaml * Create functional test for rehydrate appeal flow * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * updates to fix review comments * Bumping chart version/ fixing aliases * DIAC-1601 Rehydrate Restrict Notice of Change Request - New preparer, unit and functional tests added * FT added * credentials in FTs changed to LegalRepresentative * error wording corrected in FT expectation * implementation refactored to be like Aria solution, unit and functional test updated --------- Co-authored-by: sgmselli <sellings.matthew@gmail.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * DIAC-1575 Rehydrate Turn Off HO Integration (#2859) * suppress CVEs temp * DIAC-898 Detained Appeal Tab - LR Journey (#2515) * WIP * WIP * WIP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1100 Detained appeals DE reference (#2526) * DIAC-1100 Detained appeals HMCTS reference generated with DE - DE ref logic removed, test updated and some no longer required tests removed * no longer required variable removed * DIAC-976 Adding case flag when appellant in detention (#2530) * WIP * WIP * WIP * Update Jenkinsfile_CNP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * Fix sonar duplication issues for detained appeals branch (#2545) * DIAC-000 addressing duplicate lines (#2544) * Supress CVEs * DIAC-1144: Fix these tomcat related CVEs CVE-2025-31651, CVE-2025-31650 * Fix pipelines failures * Fix pipelines failures * DIAC-976 fixing flag bug (#2557) * WIP * Wip * DIAC-1029: Points to PR-984 for ia-case-docmenta-api * DIAC-963 Detained Appeal Label ICC Journey (#2564) * DIAC-963 Detained Appeal Label ICC Journey - Only consider OutOfCountryCircumstances if isOutOfCountry * previous fix reverted as broke unit tests, new fix added to clear OutOfCountryCircumstances * comment corrected * DIAC-1075 CMR for a detained appeal (Except RA and PA) (#2575) * Wip (#2576) * DIAC-1093 Update Detention location Appeal/Appellant Tab (#2572) * DIAC-1093 Update Detention location Appeal/Appellant Tab - when detention facility = other CUSTODIAL_SENTENCE, HAS_PENDING_BAIL_APPLICATIONS, BAIL_APPLICATION_NUMBER no longer cleared, additional verify added to unit tests * DIAC-1093 Update Detention location Appeal/Appellant Tab - CUSTODIAL_SENTENCE renamed to releaseDateProvided and naming exceptions added to test, if CUSTODIAL_SENTENCE bail is cleared, test added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1037 Detained Appeal to upload bundle 7 day compliance date (#2578) * DIAC-1037 Standard Directions to HO for a Detained Appeal to upload bundle 7 day compliance date - Unit and Functional tests added * Bumping chart version/ fixing aliases * AppealType no longer parameterized is unit tests, functional test description improved * unit tests no longer use .now() + improvements --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1078 Request respondent review of appellant case 7 day complianc… (#2580) * DIAC-1078 Request respondent review of appellant case 7 day compliance date - code logic updated, unit tests added, new constants added, functional test WIP * Bumping chart version/ fixing aliases * functional test desc corrected, functional test expectation sendDirectionExplanation added * functional test added DIAC-1078 Request respondent review when NOT detained --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * WIP (#2585) * DIAC-1075 * DIAC-1115 Supporting bail number validation when marking appeal as detained (#2587) * DIAC-1115 Supporting bail number validation when marking appeal as detained * Bumping chart version/ fixing aliases --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> * Update Chart.yaml (#2593) * Update values.preview.template.yaml (#2594) * DIAC-1141 Mark (non-detained) appeal as detained - Case Flags and Labels (#2589) * Update values.preview.template.yaml * DIAC-1115: adding event auth to caseworker (#2598) * DIAC-0000 fixing various issues related to detention address (#2600) * wip * wip * wip * wip * DIAC-1122 Deactivating detained_individual party party flag when detained status removed (#2597) * DIAC-1122: Deactivating detained_individual party party flag * WIP * WIP * DIAC-1122: disabling test --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * Update values.preview.template.yaml * DIAC-1119 Callback event changes for Generate CMR list event (#2601) * DIAC-1036 Standard Directions to Home Office for a detailed appeal to upload bundle (#2605) * Fix pipelines * DIAC-1119 allow home office validation for detained journey (#2610) * Fix failing tests after rebase from master * DIAC-1160 DA AiP Manual New Event (#2607) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * DIAC-1049 Standard Directions to LR to build case (#2618) * DIAC-1049 Standard Directions to LR to build case - first draft, text needs to be viewed in gui, wip * suppression added for CVE-2025-48988, CVE-2025-46701 * Trigger Build * direction wording tweaked * direction wording tweak, unit tests updated with new text to match for detained appeals, new wip FT added * sendDirectionExplanation removed from new FT replacements, wip * new FT updated, from FT DIAC-1078 * FT expectations updated * FT expectation text corrected, new non detained FT added. * non detained FT text updated * DIAC-1067 DA LR SD to request respondent to review the evidence (#2619) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1233 Set HC for OTHER detention location (#2631) * DIAC-1233 Set HC for OTHER detention location --------- Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1130 Updating tabs to show detention removal status (#2603) * DIAC-1130 fixing missing fields (#2640) * DIAC-000 test WA for detained appeals (#2644) * DIAC-0000 Use notifications-api PR-1385 (#2647) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1363 Set sponsorPartyId for all cases (#2649) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1407 Remove detained status bug (#2652) * DIAC-1221 AiP SD to request respondent to review the evidence - isAdm… (#2624) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1221 AiP SD to request respondent to review the evidence - isAdmin() and isAppellantInPersonManual() added, new text added WIP * CVE-2025-48976 suppression added * unit and functional tests added * isAppellantInPersonManual() now driven by isAppellantsRepresentation() instead of isAipJourney(). Unit tests and functional tests updated * unused import removed * DIAC-1408 DA Listed Case Update Events Failing Bug (#2653) * DIAC-1408 DA Listed Case Update Events Failing Bug * DIAC-1408 DA Event Automatic Hearing Requests Failing - ingressHost added to ia-hearings-api in preview chart * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab … (#2658) * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab error hopefully fixed by correcting SERVICES_HEARINGS_COMPONENT_API_IAC in preview chart * further SERVICES_HEARINGS_COMPONENT_API_IAC url correction * DIAC-1142 Detained appeal Remove AiP access to self-service portal wh… (#2617) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added * DIAC-1142 Detained appeal Remove AiP access to self-service portal when Mark as Detained Event - old confirmation page and test removed, confirmation now handled by ChangeRepresentationConfirmation where appellant case access is revoked like for AIP Manual --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Reverting fix 1173 (#2664) * Reverting 1173 fix * CVE * Update values.preview.template.yaml * Update suppressions.xml * Update values.preview.template.yaml * DIAC-1413 Clear Custodial Sentence for Bail Page (#2663) * DIAC-1413 Bail Page Not Showing After Custodial Sentence for IRC - In mid event CUSTODIAL_SENTENCE set to NO and DATE_CUSTODIAL_SENTENCE cleared for Start or Edit appeal if DETENTION_FACILITY is immigrationRemovalCentre * comment added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1312 fixing data clearing on edit appeal (#2678) * testing * wip * wip * DIAC-1237 Detained Branch Fix Conflicts (#2683) * DIAC-123 adding notification info redactions (#2662) * adding notification info redactions * adding notification info redactions * Fix for MyWork and AllWork in preview not working (#2670) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First … (#2637) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First Commit WIP * CVE-2024-47554 suppression added * duplicate lines updated for sonar * postSubmitResponse.setConfirmationBody() moved to inside catch * am_role_assignment_service added to DATA_STORE_S2S_AUTHORISED_SERVICES in preview chart, error catch statement fixed to handle AiP Manual event * FTs ported from detained appeal branch WIP * error FTs renamed and change to AboutToStart from AboutToSubmit --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * bracket put back after being incorrectly removed in merge resolution --------- Co-authored-by: Nilay <nilay.patel@solirius.com> Co-authored-by: KleoG <KleoG@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1237 New Event - Update a case to AiP (Detained) (#2692) * DIAC-1237 New Event - Update a case to AiP (Detained) - isAdmin set to YES Removed in SetCaseAsUnrepresentedHandler as now set in AiP Manual Event * IS_ADMIN verify removed as longer called * various changes to existing FTs for DIAC-1160 and also new FTs * expectations corrected to match inputs for AboutToStart FTs * expectations corrected to match inputs for AboutToStart FTs * DIAC-1348 SD Request Case Building Detained AiP Manual (#2695) * DIAC-1348 Standard Directions to Detained AiP Manual to build case ACE - First commit Wip * unit tests and functional test added, text split into 2 lines for sonar * FT added * isAdmin added to FT and description corrected * sendDirectionParties changed to appellant in FT * DIAC-1339 Fix to load email mappings for prison in preview (#2702) * Update values.preview.template.yaml * Update Jenkinsfile_CNP * Update suppressions.xml * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug (#2696) * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug * JOURNEY_TYPE now cleared in Mark Detained * Notification image changed to corresponding fix PR 1445 in preview chart * Mark as Detained now sets isAdmin=Yes, test updated * notifications image back to pr-1385 * APPELLANTS_REPRESENTATION now set to YES in MarkAppealAsDetainedHandler, test updated * mark detained FT added * prisonNOMSNumber updated in FT to json contruct * dateCustodialSentenceAo and releaseDate updated in FT to json construct * detentionFacility other FT added * DIAC-1422 Adding Closed Prisons - Added prisons to detention-faciliti… (#2704) * DIAC-1422 Adding Closed Prisons - Added prisons to detention-facilities.csv that are in the ia-ccd-definitions FixedLists.json * prison addresses added * duplicate Stirling removed * "/ Grendon" removed from Spring Hill * FT Submit Appeal - Detained - Prison, Added * prisonNOMSNumber corrected in FT expectation * FT changed to startAppeal and MidEvent * appealReferenceNumber and submissionOutOfTime removed from FT expectations * rebase and resolve conflicts with master * rebase and resolve conflicts with master * Extend CVE tme * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label Bug (#2720) * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label - Mark Detained fields set only when journey aip * new FTs added * new FTs added * Update application.yaml * DIAC-1441 Update Detention Location LR Manual Bug - prevoius dentention location no longer removing chars after white space (#2729) * DIAC-1440 fix to enable mark as detained event for manual appeals (#2733) * Update SendNotificationHandler.java * Update SendNotificationHandlerTest.java * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update values.preview.template.yaml * Update values.preview.template.yaml --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * updates to add hc mappings for irc/prison (#2735) Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@mac.home> * DIAC-1441 Update Detention Location Name Correction (#2736) * DIAC-1441 Update Detention Location Name Correction * name updated to "Edinburgh Saughton" in application-hc-mapping.yaml as errors being thrown * DIAC-1426 Legal representative removed from this case (LR to AiP) - Detained (in IRC or Prison) notification (#2738) * DIAC-1341 Cancellation of Production Notice Detained - postNotificationSender added to HearingCancelledConfirmation, tests updated (#2742) * DIAC-1425 updates to stop clearing LR details as part of remove representation (#2752) * updates to stop clearing LR details as part of remove representation * updates to fix failing FTs --------- Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> * DIAC-1341 Cancellation of Production Notice Detained 5 (#2751) * DIAC-1341 Cancellation of Production Notice Detained - HEARING_CANCELLED added to SendNotificationHandler, postNotificationSender removed from HearingCancelledConfirmation, tests updated * case-notifications-api image changed to branch pr-1520 (DIAC-1341) in Preview chart to see if FTs pass * listCaseHearingCentre added to FTs for RIA-8970 * case-notifications-api image back to detained branch pr-1385 in Preview chart * DIAC-1341 Cancellation of Production Notice Detained - LIST_CASE_HEARING_DATE no longer cleared in EndAppealHandler, tests updated (#2754) * DIAC-1618 clearing payment status for appeal with remission when editing (#2756) * DIAC-1614 Mapping Swinderby to Birmingham (#2764) * DIAC-1432 correcting hewell prison (#2767) * DIAC-1432-correcting-hewell-prison * DIAC-1432-correcting-hewell-prison * DIAC-1432 Update values.preview.template.yaml * DIAC-1614 Address mapping for swinderby (#2771) * DIAC-1390 Delegating DECIDE_FTPA_APPLICATION to docs api (#2761) * DIAC-1390 testing branch * DIAC-1390 Adding DECIDE_FTPA_APPLICATION event to docs delegation list * DIAC-1390 revert values.preview.template.yaml --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification (#2774) * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification - MARK_APPEAL_AS_REMITTED added to GenerateDocumentHandler, tests updated * desc and id corrected in FT to help find failing test * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) no… (#2757) * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) notification * Add decision without hearing event to generate document handler * Fix unit test error from it_cannot_handle_generate_if_em_stitching_not_enabled by adding DECISION_WITHOUT_HEARING event to list * Fix unit test error from GenerateDocumentHandlerTest it_can_handle_callback by adding DECISION_WITHOUT_HEARING event to list * Update values.preview.template.yaml --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1391 notification test (#2781) * Update values.preview.template.yaml * Update values.preview.template.yaml * Update values.preview.template.yaml * Update Chart.yaml * DIAC-0000 fixing detained branch (#2796) * DIAC-1547 testing - do not merge * DIAC-0000 Fixing tests * Update Chart.yaml * DIAC-1532 Start Appeal Rehydrate Case Submission Out Of Time (Override) * rehydrated in time / out of time logic tweaked write to RECORDED_OUT_OF_TIME_DECISION, WIP FTs added, Unit tests updated * DIAC-1547 Rehydrated appeal is invalid as a sourceOfAppeal fix (#2829) * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal-test inclusion * rehydrated appeal issue where exception is thrown because rehydrated appeal is invalid as a sourceOfAppeal-test inclusion --------- Co-authored-by: erclaudio <claudio.andrei@icloud.com> * rehydrated in time / out of time logic tweaked write to RECORDED_OUT_OF_TIME_DECISION, WIP FTs added, Unit tests updated * duplicate expectations removed from new WIP FTs * isRehydratedAppeal() logic now uses equals() * SourceOfAppeal class now used for comparison * Update values.preview.template.yaml * Update values.preview.template.yaml * Update values.preview.template.yaml * DIAC-1575 Rehydrate Turn Off HO Integration * isNotificationTurnedOff replaces isRehydratedAppeal in logic, Unit and Functional tests updated * isNotificationTurnedOff logic added to HomeOfficeCaseValidatePreparer, Unit test added * isNotificationTurnedOff logic added to HomeOfficeCaseNotificationsHandler, HomeOfficeCaseValidateHandler Unit test added * DIAC-1539 Turn off notifications for rehydrated appeals. In this commit we create a handler to check if appeal is a rehydrated and another to turn off notifications for rehydrated appeals. We add rehydrated appeal as a new source of appeal and create a new case field def to check the source of the appeal is a rehydrated one. * Update unit test should_break_if_new_facility_is_added to include RehydratedAppeal. Fix styling error by removing unused import in RehydratedAppealTurnOffNotificationsHandler.java * Update isRehydratedAppealHandler to include turn notifications off and remove notifications turn off handler. Add unit test file for isRehydratedAppealHandler. * Fix indentation error from checkStyleTest * Change image tags to latest in values.preview.template.yaml * Create functional test for rehydrate appeal flow * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * my isRehydratedAppeal() removed as now inherited from branch, Unit tests rigs updated to populate new IS_REHYDRATED_APPEAL case field * in time out of time FTs changed from using case field sourceOfAppeal to isRehydratedAppeal * Update Chart.yaml * Update Chart.yaml --------- Co-authored-by: Sabah Irfan <sabah.irfan@gmail.com> Co-authored-by: tonym <129744569+tonymort@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: apereverzin1 <140609226+apereverzin1@users.noreply.github.com> Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> Co-authored-by: alivenichoppa <97441560+alivenichoppa@users.noreply.github.com> Co-authored-by: Nilay <nilay.patel@solirius.com> Co-authored-by: KleoG <KleoG@users.noreply.github.com> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@mac.home> Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> Co-authored-by: Matthew Sellings <99349293+sgmselli@users.noreply.github.com> Co-authored-by: Claudio Andrei <72282843+erclaudio@users.noreply.github.com> Co-authored-by: erclaudio <claudio.andrei@icloud.com> Co-authored-by: sgmselli <sellings.matthew@gmail.com> * Update Jenkinsfile_CNP * DIAC-1529 Capture ARIA reference number (Rehydrated) (#2886) * suppress CVEs temp * DIAC-898 Detained Appeal Tab - LR Journey (#2515) * WIP * WIP * WIP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1100 Detained appeals DE reference (#2526) * DIAC-1100 Detained appeals HMCTS reference generated with DE - DE ref logic removed, test updated and some no longer required tests removed * no longer required variable removed * DIAC-976 Adding case flag when appellant in detention (#2530) * WIP * WIP * WIP * Update Jenkinsfile_CNP --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Update Chart.yaml (#2543) * Update Chart.yaml * Update Chart.yaml * Fix sonar duplication issues for detained appeals branch (#2545) * DIAC-000 addressing duplicate lines (#2544) * Supress CVEs * DIAC-1144: Fix these tomcat related CVEs CVE-2025-31651, CVE-2025-31650 * Fix pipelines failures * Fix pipelines failures * DIAC-976 fixing flag bug (#2557) * WIP * Wip * DIAC-1029: Points to PR-984 for ia-case-docmenta-api * DIAC-963 Detained Appeal Label ICC Journey (#2564) * DIAC-963 Detained Appeal Label ICC Journey - Only consider OutOfCountryCircumstances if isOutOfCountry * previous fix reverted as broke unit tests, new fix added to clear OutOfCountryCircumstances * comment corrected * DIAC-1075 CMR for a detained appeal (Except RA and PA) (#2575) * Wip (#2576) * DIAC-1093 Update Detention location Appeal/Appellant Tab (#2572) * DIAC-1093 Update Detention location Appeal/Appellant Tab - when detention facility = other CUSTODIAL_SENTENCE, HAS_PENDING_BAIL_APPLICATIONS, BAIL_APPLICATION_NUMBER no longer cleared, additional verify added to unit tests * DIAC-1093 Update Detention location Appeal/Appellant Tab - CUSTODIAL_SENTENCE renamed to releaseDateProvided and naming exceptions added to test, if CUSTODIAL_SENTENCE bail is cleared, test added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1037 Detained Appeal to upload bundle 7 day compliance date (#2578) * DIAC-1037 Standard Directions to HO for a Detained Appeal to upload bundle 7 day compliance date - Unit and Functional tests added * Bumping chart version/ fixing aliases * AppealType no longer parameterized is unit tests, functional test description improved * unit tests no longer use .now() + improvements --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1078 Request respondent review of appellant case 7 day complianc… (#2580) * DIAC-1078 Request respondent review of appellant case 7 day compliance date - code logic updated, unit tests added, new constants added, functional test WIP * Bumping chart version/ fixing aliases * functional test desc corrected, functional test expectation sendDirectionExplanation added * functional test added DIAC-1078 Request respondent review when NOT detained --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * WIP (#2585) * DIAC-1075 * DIAC-1115 Supporting bail number validation when marking appeal as detained (#2587) * DIAC-1115 Supporting bail number validation when marking appeal as detained * Bumping chart version/ fixing aliases --------- Co-authored-by: hmcts-jenkins-d-to-i <62423932+hmcts-jenkins-d-to-i[bot]@users.noreply.github.com> * Update Chart.yaml (#2593) * Update values.preview.template.yaml (#2594) * DIAC-1141 Mark (non-detained) appeal as detained - Case Flags and Labels (#2589) * Update values.preview.template.yaml * DIAC-1115: adding event auth to caseworker (#2598) * DIAC-0000 fixing various issues related to detention address (#2600) * wip * wip * wip * wip * DIAC-1122 Deactivating detained_individual party party flag when detained status removed (#2597) * DIAC-1122: Deactivating detained_individual party party flag * WIP * WIP * DIAC-1122: disabling test --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * Update values.preview.template.yaml * DIAC-1119 Callback event changes for Generate CMR list event (#2601) * DIAC-1036 Standard Directions to Home Office for a detailed appeal to upload bundle (#2605) * Fix pipelines * DIAC-1119 allow home office validation for detained journey (#2610) * Fix failing tests after rebase from master * DIAC-1160 DA AiP Manual New Event (#2607) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * DIAC-1049 Standard Directions to LR to build case (#2618) * DIAC-1049 Standard Directions to LR to build case - first draft, text needs to be viewed in gui, wip * suppression added for CVE-2025-48988, CVE-2025-46701 * Trigger Build * direction wording tweaked * direction wording tweak, unit tests updated with new text to match for detained appeals, new wip FT added * sendDirectionExplanation removed from new FT replacements, wip * new FT updated, from FT DIAC-1078 * FT expectations updated * FT expectation text corrected, new non detained FT added. * non detained FT text updated * DIAC-1067 DA LR SD to request respondent to review the evidence (#2619) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1233 Set HC for OTHER detention location (#2631) * DIAC-1233 Set HC for OTHER detention location --------- Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1130 Updating tabs to show detention removal status (#2603) * DIAC-1130 fixing missing fields (#2640) * DIAC-000 test WA for detained appeals (#2644) * DIAC-0000 Use notifications-api PR-1385 (#2647) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1363 Set sponsorPartyId for all cases (#2649) Co-authored-by: Andrey Pereverzin <andreypereverzin@Mac.broadband> * DIAC-1407 Remove detained status bug (#2652) * DIAC-1221 AiP SD to request respondent to review the evidence - isAdm… (#2624) * DIAC-1067 DA LR SD to request respondent to review the evidence, text updaed, units tests updated, funtional tests updated, supression added CVE-2025-48988 CVE-2025-46701 * Trigger Build * Trigger Build * DIAC-1221 AiP SD to request respondent to review the evidence - isAdmin() and isAppellantInPersonManual() added, new text added WIP * CVE-2025-48976 suppression added * unit and functional tests added * isAppellantInPersonManual() now driven by isAppellantsRepresentation() instead of isAipJourney(). Unit tests and functional tests updated * unused import removed * DIAC-1408 DA Listed Case Update Events Failing Bug (#2653) * DIAC-1408 DA Listed Case Update Events Failing Bug * DIAC-1408 DA Event Automatic Hearing Requests Failing - ingressHost added to ia-hearings-api in preview chart * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab … (#2658) * DIAC-1408 DA Event Automatic Hearing Requests Failing - Hearings tab error hopefully fixed by correcting SERVICES_HEARINGS_COMPONENT_API_IAC in preview chart * further SERVICES_HEARINGS_COMPONENT_API_IAC url correction * DIAC-1142 Detained appeal Remove AiP access to self-service portal wh… (#2617) * DIAC-1160 Update a case to AiP Manual (detained and non-detained) New Event - appellantInPersonManual event added and working, WIP * handler added * old code removed * confirmation page added * AppellantInPersonManualHandlerTest added, unused imports removed. checkstyle passing * AppellantInPersonManualConfirmationTest added * functional test added Update Case Appellant In Person - Manual, WIP * expectation "journeyType": "rep" added to functional test * changeOrganisationRequestField is now cleared in event, confirmation page wording changed * CHANGE_ORGANISATION_REQUEST_FIELD clear added to test verify * CVE-2024-38808 suppression added * unused imports removed * confirmation page test wording corrected * Trigger Build * Trigger Build * AIP Manual confirmation page removed and moved to ChangeRepresentationConfirmation. Tests updated * isAdmin and hasAddedLegalRepDetails checks and error added to handler, tests updated * CVE-2025-48988 suppression added * DIAC-1160 FT enabled and updated * 2 negative FT scenarios added * isRepJourney logic added to handler error check, unit tests and FTs updated * FT added for Case Officer * CVE-2025-46701 suppression added * DIAC-1142 Detained appeal Remove AiP access to self-service portal when Mark as Detained Event - old confirmation page and test removed, confirmation now handled by ChangeRepresentationConfirmation where appellant case access is revoked like for AIP Manual --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-0000 Reverting fix 1173 (#2664) * Reverting 1173 fix * CVE * Update values.preview.template.yaml * Update suppressions.xml * Update values.preview.template.yaml * DIAC-1413 Clear Custodial Sentence for Bail Page (#2663) * DIAC-1413 Bail Page Not Showing After Custodial Sentence for IRC - In mid event CUSTODIAL_SENTENCE set to NO and DATE_CUSTODIAL_SENTENCE cleared for Start or Edit appeal if DETENTION_FACILITY is immigrationRemovalCentre * comment added --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1312 fixing data clearing on edit appeal (#2678) * testing * wip * wip * DIAC-1237 Detained Branch Fix Conflicts (#2683) * DIAC-123 adding notification info redactions (#2662) * adding notification info redactions * adding notification info redactions * Fix for MyWork and AllWork in preview not working (#2670) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First … (#2637) * DIAC-1160 AiP Manual New Event Non Detained on master branch - First Commit WIP * CVE-2024-47554 suppression added * duplicate lines updated for sonar * postSubmitResponse.setConfirmationBody() moved to inside catch * am_role_assignment_service added to DATA_STORE_S2S_AUTHORISED_SERVICES in preview chart, error catch statement fixed to handle AiP Manual event * FTs ported from detained appeal branch WIP * error FTs renamed and change to AboutToStart from AboutToSubmit --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * bracket put back after being incorrectly removed in merge resolution --------- Co-authored-by: Nilay <nilay.patel@solirius.com> Co-authored-by: KleoG <KleoG@users.noreply.github.com> Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1237 New Event - Update a case to AiP (Detained) (#2692) * DIAC-1237 New Event - Update a case to AiP (Detained) - isAdmin set to YES Removed in SetCaseAsUnrepresentedHandler as now set in AiP Manual Event * IS_ADMIN verify removed as longer called * various changes to existing FTs for DIAC-1160 and also new FTs * expectations corrected to match inputs for AboutToStart FTs * expectations corrected to match inputs for AboutToStart FTs * DIAC-1348 SD Request Case Building Detained AiP Manual (#2695) * DIAC-1348 Standard Directions to Detained AiP Manual to build case ACE - First commit Wip * unit tests and functional test added, text split into 2 lines for sonar * FT added * isAdmin added to FT and description corrected * sendDirectionParties changed to appellant in FT * DIAC-1339 Fix to load email mappings for prison in preview (#2702) * Update values.preview.template.yaml * Update Jenkinsfile_CNP * Update suppressions.xml * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug (#2696) * DIAC-1461 AiP Manual converted to AiP by Remove Detained Bug * JOURNEY_TYPE now cleared in Mark Detained * Notification image changed to corresponding fix PR 1445 in preview chart * Mark as Detained now sets isAdmin=Yes, test updated * notifications image back to pr-1385 * APPELLANTS_REPRESENTATION now set to YES in MarkAppealAsDetainedHandler, test updated * mark detained FT added * prisonNOMSNumber updated in FT to json contruct * dateCustodialSentenceAo and releaseDate updated in FT to json construct * detentionFacility other FT added * DIAC-1422 Adding Closed Prisons - Added prisons to detention-faciliti… (#2704) * DIAC-1422 Adding Closed Prisons - Added prisons to detention-facilities.csv that are in the ia-ccd-definitions FixedLists.json * prison addresses added * duplicate Stirling removed * "/ Grendon" removed from Spring Hill * FT Submit Appeal - Detained - Prison, Added * prisonNOMSNumber corrected in FT expectation * FT changed to startAppeal and MidEvent * appealReferenceNumber and submissionOutOfTime removed from FT expectations * rebase and resolve conflicts with master * rebase and resolve conflicts with master * Extend CVE tme * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label Bug (#2720) * DIAC-1531 Legal Rep Non-Detained appeal to a Detained wrong label - Mark Detained fields set only when journey aip * new FTs added * new FTs added * Update application.yaml * DIAC-1441 Update Detention Location LR Manual Bug - prevoius dentention location no longer removing chars after white space (#2729) * DIAC-1440 fix to enable mark as detained event for manual appeals (#2733) * Update SendNotificationHandler.java * Update SendNotificationHandlerTest.java * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update DIAC-1531-update-case-mark-detained-lr-manual.json * Update values.preview.template.yaml * Update values.preview.template.yaml --------- Co-authored-by: Sabah u Din Irfan <sabah.irfan@gmail.com> * updates to add hc mappings for irc/prison (#2735) Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@mac.home> * DIAC-1441 Update Detention Location Name Correction (#2736) * DIAC-1441 Update Detention Location Name Correction * name updated to "Edinburgh Saughton" in application-hc-mapping.yaml as errors being thrown * DIAC-1426 Legal representative removed from this case (LR to AiP) - Detained (in IRC or Prison) notification (#2738) * DIAC-1341 Cancellation of Production Notice Detained - postNotificationSender added to HearingCancelledConfirmation, tests updated (#2742) * DIAC-1425 updates to stop clearing LR details as part of remove representation (#2752) * updates to stop clearing LR details as part of remove representation * updates to fix failing FTs --------- Co-authored-by: Rajesh Thuraiyur Moorthy <rajeshthuraiyurmoorthy@Mac.powerhub> * DIAC-1341 Cancellation of Production Notice Detained 5 (#2751) * DIAC-1341 Cancellation of Production Notice Detained - HEARING_CANCELLED added to SendNotificationHandler, postNotificationSender removed from HearingCancelledConfirmation, tests updated * case-notifications-api image changed to branch pr-1520 (DIAC-1341) in Preview chart to see if FTs pass * listCaseHearingCentre added to FTs for RIA-8970 * case-notifications-api image back to detained branch pr-1385 in Preview chart * DIAC-1341 Cancellation of Production Notice Detained - LIST_CASE_HEARING_DATE no longer cleared in EndAppealHandler, tests updated (#2754) * DIAC-1618 clearing payment status for appeal with remission when editing (#2756) * DIAC-1614 Mapping Swinderby to Birmingham (#2764) * DIAC-1432 correcting hewell prison (#2767) * DIAC-1432-correcting-hewell-prison * DIAC-1432-correcting-hewell-prison * DIAC-1432 Update values.preview.template.yaml * DIAC-1614 Address mapping for swinderby (#2771) * DIAC-1390 Delegating DECIDE_FTPA_APPLICATION to docs api (#2761) * DIAC-1390 testing branch * DIAC-1390 Adding DECIDE_FTPA_APPLICATION event to docs delegation list * DIAC-1390 revert values.preview.template.yaml --------- Co-authored-by: rajeshthuraiyur <48379561+rajeshthuraiyur@users.noreply.github.com> * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification (#2774) * DIAC-1400 Appeal Remitted form the UT/CoA - Detained IRC Prison Notification - MARK_APPEAL_AS_REMITTED added to GenerateDocumentHandler, tests updated * desc and id corrected in FT to help find failing test * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) no… (#2757) * DIAC-1393 Decision without a hearing - Detained (in IRC or Prison) notification * Add decision without hearing event to generate document handler * Fix unit test error from it_cannot_handle_generate_if_em_…
1 parent 3e7f70c commit f3c3e44

File tree

102 files changed

+5245
-232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+5245
-232
lines changed

Jenkinsfile_CNP

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import uk.gov.hmcts.contino.GithubAPI
1212
def type = "java"
1313
def product = "ia"
1414
def component = "case-api"
15-
def dmnBranch = "master"
16-
def bpmnBranch = "master"
15+
def dmnBranch = "DIAC-1574-turn-off-wa-tasks"
16+
def bpmnBranch = "DIAC-1574-turn-off-wa-tasks"
1717

1818
def secrets = [
1919
'rpx-${env}': [

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ sonarqube {
259259
"src/main/java/uk/gov/hmcts/reform/iacaseapi/infrastructure/SystemDateProvider.java," +
260260
"src/main/java/uk/gov/hmcts/reform/iacaseapi/Application.java," +
261261
"src/main/java/uk/gov/hmcts/reform/iacaseapi/infrastructure/security/idam/IdamAuthoritiesConverter.java," +
262-
"src/main/java/uk/gov/hmcts/reform/iacaseapi/domain/entities/CaseFlag.java"
262+
"src/main/java/uk/gov/hmcts/reform/iacaseapi/domain/entities/CaseFlag.java," +
263+
"src/main/java/uk/gov/hmcts/reform/iacaseapi/infrastructure/clients/model/ccd/**"
263264
property "sonar.cpd.exclusions", "src/main/java/uk/gov/hmcts/reform/iacaseapi/domain/handlers/**"
264265
}
265266
}
@@ -463,6 +464,8 @@ dependencies {
463464
exclude group: "org.bouncycastle", module: "bcprov-jdk15on"
464465
}
465466

467+
implementation group: 'com.github.hmcts', name: 'core-case-data-store-client', version: '4.9.2'
468+
functionalTestImplementation group: 'com.github.hmcts', name: 'core-case-data-store-client', version: '4.9.2'
466469

467470

468471
//pact contract testing
@@ -559,3 +562,4 @@ applicationDefaultJvmArgs = ["-Dfile.encoding=UTF-8"]
559562
wrapper {
560563
distributionType = Wrapper.DistributionType.ALL
561564
}
565+

charts/ia-case-api/Chart.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: ia-case-api
33
home: https://github.com/hmcts/ia-case-api
4-
version: 0.0.69
4+
version: 0.0.70
55
description: Immigration & Asylum Case API
66
maintainers:
77
- name: HMCTS Immigration & Asylum Team
@@ -100,3 +100,4 @@ dependencies:
100100
version: 1.1.0
101101
repository: 'oci://hmctspublic.azurecr.io/helm'
102102
condition: postgresql.enabled
103+

charts/ia-case-api/values.preview.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ ia-home-office-integration-api:
567567
- name: system-username
568568
alias: IA_SYSTEM_USERNAME
569569
- name: system-password
570-
alias: IA_SYSTEM_PASSWORD
570+
alias: IA_SYSTEM_PASSWORD
571571

572572
ia-case-access-api:
573573
enabled: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"description": "DIAC-1532 Rehydrated Case, Submitted In Time - Out of Time override, Admin, In Country",
3+
"request": {
4+
"uri": "/asylum/ccdAboutToStart",
5+
"credentials": "AdminOfficer",
6+
"input": {
7+
"eventId": "submitAppeal",
8+
"state": "appealStarted",
9+
"caseData": {
10+
"template": "minimal-appeal-started.json",
11+
"replacements": {
12+
"homeOfficeDecisionDate": "{$TODAY-20}",
13+
"isAdmin": "Yes",
14+
"tribunalReceivedDate": "{$TODAY-10}",
15+
"appellantInUk": "Yes",
16+
"isRehydratedAppeal": "Yes",
17+
"submissionOutOfTime": "Yes"
18+
}
19+
}
20+
}
21+
},
22+
"expectation": {
23+
"status": 200,
24+
"errors": [],
25+
"caseData": {
26+
"template": "minimal-appeal-started.json",
27+
"replacements": {
28+
"submissionOutOfTime": "Yes",
29+
"homeOfficeDecisionDate": "{$TODAY-20}",
30+
"isRehydratedAppeal": "Yes"
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"description": "DIAC-1532 Rehydrated Case, Submitted Out of Time - In Time override, Admin, In Country",
3+
"request": {
4+
"uri": "/asylum/ccdAboutToStart",
5+
"credentials": "AdminOfficer",
6+
"input": {
7+
"eventId": "submitAppeal",
8+
"state": "appealStarted",
9+
"caseData": {
10+
"template": "minimal-appeal-started.json",
11+
"replacements": {
12+
"homeOfficeDecisionDate": "{$TODAY-20}",
13+
"isAdmin": "Yes",
14+
"tribunalReceivedDate": "{$TODAY-2}",
15+
"appellantInUk": "Yes",
16+
"isRehydratedAppeal": "Yes",
17+
"submissionOutOfTime": "No"
18+
}
19+
}
20+
}
21+
},
22+
"expectation": {
23+
"status": 200,
24+
"errors": [],
25+
"caseData": {
26+
"template": "minimal-appeal-started.json",
27+
"replacements": {
28+
"submissionOutOfTime": "No",
29+
"homeOfficeDecisionDate": "{$TODAY-20}",
30+
"isRehydratedAppeal": "Yes"
31+
}
32+
}
33+
}
34+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"description": "DIAC-1538: Turn on notifications/WA tasks - AboutToSubmit - sets isNotificationTurnedOff to No",
3+
"request": {
4+
"uri": "/asylum/ccdAboutToSubmit",
5+
"credentials": "AdminOfficer",
6+
"input": {
7+
"eventId": "turnOnNotificationsWATasks",
8+
"state": "appealSubmitted",
9+
"id": 1234,
10+
"caseData": {
11+
"template": "minimal-appeal-submitted.json",
12+
"replacements": {
13+
"isNotificationTurnedOff": "Yes"
14+
}
15+
}
16+
}
17+
},
18+
"expectation": {
19+
"status": 200,
20+
"errors": [],
21+
"caseData": {
22+
"template": "minimal-appeal-submitted.json",
23+
"replacements": {
24+
"isNotificationTurnedOff": "No"
25+
}
26+
}
27+
}
28+
}
29+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"description": "DIAC-1538: Turn on notifications/WA tasks - Confirmation",
3+
"request": {
4+
"uri": "/asylum/ccdSubmitted",
5+
"credentials": "AdminOfficer",
6+
"input": {
7+
"eventId": "turnOnNotificationsWATasks",
8+
"state": "appealSubmitted",
9+
"id": 1234,
10+
"caseData": {
11+
"template": "minimal-appeal-submitted.json"
12+
}
13+
}
14+
},
15+
"expectation": {
16+
"status": 200,
17+
"confirmation": {
18+
"header": "# You have turned on notifications/WA tasks",
19+
"body": "#### What happens next\n\nThe rehydration process has now been completed and the case can be progressed."
20+
}
21+
}
22+
}
23+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"description": "DIAC-1539 Start appeal case for rehydrated appeal flow",
3+
"request": {
4+
"uri": "/asylum/ccdAboutToSubmit",
5+
"credentials": "AdminOfficer",
6+
"input": {
7+
"eventId": "startAppeal",
8+
"state": "appealStartedByAdmin",
9+
"caseData": {
10+
"template": "minimal-appeal-started.json",
11+
"replacements": {
12+
"isAdmin": "Yes",
13+
"isEjp": "No",
14+
"isNabaEnabled": "Yes",
15+
"sourceOfAppeal": "rehydratedAppeal",
16+
"appellantInDetention": "Yes",
17+
"detentionFacility": "immigrationRemovalCentre",
18+
"ircName": "Brookhouse",
19+
"appellantInUk": "Yes",
20+
"appealReferenceNumber": "DRAFT",
21+
"isAcceleratedDetainedAppeal": "No"
22+
}
23+
}
24+
}
25+
},
26+
"expectation": {
27+
"status": 200,
28+
"errors": [],
29+
"caseData": {
30+
"template": "minimal-appeal-started.json",
31+
"replacements": {
32+
"isAdmin": "Yes",
33+
"isNabaEnabled": "Yes",
34+
"sourceOfAppeal": "rehydratedAppeal",
35+
"appellantInDetention": "Yes",
36+
"detentionFacility": "immigrationRemovalCentre",
37+
"ircName": "Brookhouse",
38+
"appellantInUk": "Yes",
39+
"appealReferenceNumber": "DRAFT",
40+
"isAcceleratedDetainedAppeal": "No",
41+
"isRehydratedAppeal": "Yes",
42+
"isNotificationTurnedOff": "Yes"
43+
}
44+
}
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"description": "DIAC-1575 Request respondent evidence start isNotificationTurnedOff No error - HO integration required",
3+
"request": {
4+
"uri": "/asylum/ccdAboutToStart",
5+
"credentials": "CaseOfficer",
6+
"input": {
7+
"eventId": "requestRespondentEvidence",
8+
"state": "awaitingRespondentEvidence",
9+
"caseData": {
10+
"template": "minimal-appeal-submitted.json",
11+
"replacements": {
12+
"isNotificationTurnedOff": "No",
13+
"sendDirectionExplanation": null,
14+
"sendDirectionParties": null,
15+
"sendDirectionDateDue": null
16+
}
17+
}
18+
}
19+
},
20+
"expectation": {
21+
"status": 200,
22+
"errors": ["You need to match the appellant details before you can request the respondent evidence."],
23+
"caseData": {
24+
"template": "minimal-appeal-submitted.json",
25+
"replacements": {
26+
"isNotificationTurnedOff": "No",
27+
"sendDirectionExplanation": null,
28+
"sendDirectionParties": null,
29+
"sendDirectionDateDue": null
30+
}
31+
}
32+
}
33+
}

0 commit comments

Comments
 (0)