-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from hmcts/new-r4-changes-part-2
New r4 changes part 2
- Loading branch information
Showing
15 changed files
with
1,181 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
140 changes: 140 additions & 0 deletions
140
...ios/ia/IA-RIA-6469-requestFeeRemission-should-create-reviewRemissionApplication-task.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"description": "requestFeeRemission event should create a reviewRemissionApplication task", | ||
"enabled": true, | ||
"jurisdiction": "IA", | ||
"caseType": "Asylum", | ||
"options": { | ||
"taskRetrievalApi": "task-management-api" | ||
}, | ||
"required": { | ||
"credentials": "IALegalRepresentative", | ||
"ccd": [ | ||
{ | ||
"eventId": "requestFeeRemission", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-appeal-started.json", | ||
"replacements": { | ||
"appealType": "protection", | ||
"remissionType": "noRemission" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"test": { | ||
"request": { | ||
"credentials": "IALegalRepresentative", | ||
"input": { | ||
"eventMessages": [ | ||
{ | ||
"template": "minimal-ccd-event-message.json", | ||
"replacements": { | ||
"EventId": "requestFeeRemission", | ||
"AdditionalData": { | ||
"Data": { | ||
"appealType": "protection", | ||
"remissionType": "exceptionalCircumstancesRemission" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"expectations": [ | ||
{ | ||
"credentials": "CTSCAdmin", | ||
"status": 200, | ||
"numberOfTasksAvailable": 1, | ||
"taskTypes": ["reviewRemissionApplication"], | ||
"taskData": { | ||
"template": "minimal-task-response.json", | ||
"replacements": { | ||
"tasks": [ | ||
{ | ||
"id": "{$VERIFIER-UUID}", | ||
"case_name": "Functional PostDeployment", | ||
"case_id": "{$GENERATED_CASE_ID}", | ||
"case_category": "Protection", | ||
"name": "Review Remission Application", | ||
"type": "reviewRemissionApplication", | ||
"task_state": "unassigned", | ||
"task_system": "SELF", | ||
"security_classification": "PUBLIC", | ||
"task_title": "Review Remission Application", | ||
"created_date": "{$VERIFIER-ZONED_DATETIME_TODAY}", | ||
"due_date": "{$VERIFIER-ZONED_DATETIME_TODAY+2_WORKING_DAYS}", | ||
"execution_type": "Case Management Task", | ||
"jurisdiction": "IA", | ||
"case_type_id": "Asylum", | ||
"region": "1", | ||
"location": "765324", | ||
"location_name": "Taylor House", | ||
"auto_assigned": false, | ||
"warnings": false, | ||
"role_category": "CTSC", | ||
"warning_list": { | ||
"values": [ | ||
|
||
] | ||
}, | ||
"case_management_category": "Protection", | ||
"work_type_id": "routine_work", | ||
"permissions": { | ||
"values": [ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"numberOfRolesAvailable": 3, | ||
"roleData": { | ||
"roles":[ | ||
{ | ||
"role_category":"CTSC", | ||
"role_name":"ctsc", | ||
"permissions":[ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
}, | ||
{ | ||
"role_category":"CTSC", | ||
"role_name":"ctsc-team-leader", | ||
"permissions":[ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
}, | ||
{ | ||
"role_name":"task-supervisor", | ||
"permissions":[ | ||
"Read", | ||
"Manage","Unassign","Assign","Complete", | ||
"Execute","Claim", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
|
142 changes: 142 additions & 0 deletions
142
...ion-and-appealSubmitted-postEventState-should-create-reviewRemissionApplication-task.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"description": "submitAppeal event with remission applicable and post event state appealSubmitted should create a reviewRemissionApplication task", | ||
"enabled": true, | ||
"jurisdiction": "IA", | ||
"caseType": "Asylum", | ||
"options": { | ||
"taskRetrievalApi": "task-management-api" | ||
}, | ||
"required": { | ||
"credentials": "IALegalRepresentative", | ||
"ccd": [ | ||
{ | ||
"eventId": "submitAppeal", | ||
"state": "appealStarted", | ||
"caseData": { | ||
"template": "minimal-appeal-started.json", | ||
"replacements": { | ||
"appealType": "protection", | ||
"homeOfficeDecisionDate": "{$TODAY-14}", | ||
"remissionType": "exceptionalCircumstancesRemission" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"test": { | ||
"request": { | ||
"credentials": "IALegalRepresentative", | ||
"input": { | ||
"eventMessages": [ | ||
{ | ||
"template": "minimal-ccd-event-message.json", | ||
"replacements": { | ||
"EventId": "submitAppeal", | ||
"NewStateId": "appealSubmitted", | ||
"AdditionalData": { | ||
"Data": { | ||
"appealType": "protection", | ||
"remissionType": "exceptionalCircumstancesRemission" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"expectations": [ | ||
{ | ||
"credentials": "CTSCAdmin", | ||
"status": 200, | ||
"numberOfTasksAvailable": 1, | ||
"taskTypes": ["reviewRemissionApplication"], | ||
"taskData": { | ||
"template": "minimal-task-response.json", | ||
"replacements": { | ||
"tasks": [ | ||
{ | ||
"id": "{$VERIFIER-UUID}", | ||
"case_name": "Functional PostDeployment", | ||
"case_id": "{$GENERATED_CASE_ID}", | ||
"case_category": "Protection", | ||
"name": "Review Remission Application", | ||
"type": "reviewRemissionApplication", | ||
"task_state": "unassigned", | ||
"task_system": "SELF", | ||
"security_classification": "PUBLIC", | ||
"task_title": "Review Remission Application", | ||
"created_date": "{$VERIFIER-ZONED_DATETIME_TODAY}", | ||
"due_date": "{$VERIFIER-ZONED_DATETIME_TODAY+2_WORKING_DAYS}", | ||
"execution_type": "Case Management Task", | ||
"jurisdiction": "IA", | ||
"case_type_id": "Asylum", | ||
"region": "1", | ||
"location": "765324", | ||
"location_name": "Taylor House", | ||
"auto_assigned": false, | ||
"warnings": false, | ||
"role_category": "CTSC", | ||
"warning_list": { | ||
"values": [ | ||
|
||
] | ||
}, | ||
"case_management_category": "Protection", | ||
"work_type_id": "routine_work", | ||
"permissions": { | ||
"values": [ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"numberOfRolesAvailable": 3, | ||
"roleData": { | ||
"roles":[ | ||
{ | ||
"role_category":"CTSC", | ||
"role_name":"ctsc", | ||
"permissions":[ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
}, | ||
{ | ||
"role_category":"CTSC", | ||
"role_name":"ctsc-team-leader", | ||
"permissions":[ | ||
"Read", | ||
"Own","Claim", | ||
"Manage","Unassign","Assign","Complete", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
}, | ||
{ | ||
"role_name":"task-supervisor", | ||
"permissions":[ | ||
"Read", | ||
"Manage","Unassign","Assign","Complete", | ||
"Execute","Claim", | ||
"Cancel" | ||
], | ||
"authorisations":[ | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
|
Oops, something went wrong.