Skip to content

Commit

Permalink
Merge pull request #2460 from govuk-one-login/pyic-7482-cleanup
Browse files Browse the repository at this point in the history
PYIC-7482 Clean up orphaned states
  • Loading branch information
Joe-Edwards-GDS authored Sep 19, 2024
2 parents 9ea3b7f + b9fd798 commit f246779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ KBVS:
name: KBV challenge routing
description: >-
The combined journey for enabled KBV CRIs.
When redirecting to a KBV CRI, IPV Core will request a verification score
corresponding to the target Vector of Trust (P1 or P2).
entryEvents:
next:
targetState: CRI_DWP_KBV
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -776,65 +776,3 @@ states:
mitigationType: enhanced-verification
end:
targetState: RETURN_TO_RP

## Temporary inclusion of KBV states to avoid breaking existing journeys

PRE_EXPERIAN_KBV_TRANSITION_PAGE:
response:
type: page
pageId: page-pre-experian-kbv-transition
events:
next:
targetState: CRI_EXPERIAN_KBV

CRI_EXPERIAN_KBV:
response:
type: cri
criId: kbv
parent: CRI_STATE
events:
fail-with-no-ci:
targetState: PYI_CRI_ESCAPE
checkIfDisabled:
f2f:
targetState: PYI_CRI_ESCAPE_NO_F2F
next:
targetJourney: EVALUATE_SCORES
targetState: START
enhanced-verification:
targetState: MITIGATION_02_OPTIONS_WITH_F2F
auditEvents:
- IPV_MITIGATION_START
auditContext:
mitigationType: enhanced-verification
checkIfDisabled:
f2f:
targetState: MITIGATION_02_OPTIONS
auditEvents:
- IPV_MITIGATION_START
auditContext:
mitigationType: enhanced-verification

MITIGATION_PRE_EXPERIAN_KBV_TRANSITION_PAGE:
response:
type: page
pageId: page-pre-experian-kbv-transition
events:
next:
targetState: MITIGATION_CRI_EXPERIAN_KBV

MITIGATION_CRI_EXPERIAN_KBV:
response:
type: cri
criId: kbv
parent: CRI_STATE
events:
fail-with-no-ci:
targetJourney: INELIGIBLE
targetState: INELIGIBLE
next:
targetJourney: EVALUATE_SCORES
targetState: START
enhanced-verification:
targetJourney: FAILED
targetState: FAILED

0 comments on commit f246779

Please sign in to comment.