-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Addedn functionality to generate letter when HO application decided * Refactored RIA-7365 * Added/updated unit/FTs
- Loading branch information
1 parent
bcab0e7
commit 64c5132
Showing
16 changed files
with
805 additions
and
78 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...IA-7368-internal-ada-decide-a-respondent-application-adjourn-decision-refused-letter.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,63 @@ | ||
{ | ||
"description": "RIA-7368 internal ADA application decided letter (Adjourn - Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73681, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"isAcceleratedDetainedAppeal": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Adjourn", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...A-7368-internal-ada-decide-a-respondent-application-expedite-decision-refused-letter.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,63 @@ | ||
{ | ||
"description": "RIA-7368 internal ADA application decided letter (Expedite - Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73682, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"isAcceleratedDetainedAppeal": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Expedite", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...68-internal-ada-decide-a-respondent-application-judge-review-decision-refused-letter.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,63 @@ | ||
{ | ||
"description": "RIA-7368 internal ADA application decided letter (Judges review - Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73683, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"isAcceleratedDetainedAppeal": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Judge's review of Legal Officer decision", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...rnal-ada-decide-a-respondent-application-transfer-out-of-ada-decision-refused-letter.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,63 @@ | ||
{ | ||
"description": "RIA-7368 internal ADA application decided letter (Transfer out of ada- Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73684, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"isAcceleratedDetainedAppeal": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Transfer out of accelerated detained appeals process", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...68-internal-detained-decide-a-respondent-application-adjourn-decision-refused-letter.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,62 @@ | ||
{ | ||
"description": "RIA-7368 internal detained (non-ada) application decided letter (Adjourn - Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73685, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Adjourn", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...8-internal-detained-decide-a-respondent-application-expedite-decision-refused-letter.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,62 @@ | ||
{ | ||
"description": "RIA-7368 internal detained (non-ada) application decided letter (Expedite - Refused)", | ||
"request": { | ||
"uri": "/asylum/ccdAboutToSubmit", | ||
"credentials": "Judge", | ||
"input": { | ||
"id": 73686, | ||
"eventId": "decideAnApplication", | ||
"state": "appealSubmitted", | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"decideAnApplicationId": "1", | ||
"makeAnApplications": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"type":"Expedite", | ||
"details":"", | ||
"evidence":[], | ||
"applicant":"Respondent", | ||
"date":"{$TODAY}", | ||
"decision":"Refused", | ||
"state":"appealSubmitted", | ||
"applicantRole":"caseworker-ia-admofficer", | ||
"decisionReason":"No Reason given", | ||
"decisionDate":"{$TODAY}", | ||
"decisionMaker": "Admin Officer" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"expectation": { | ||
"status": 200, | ||
"errors": [], | ||
"caseData": { | ||
"template": "minimal-internal-appeal-submitted.json", | ||
"replacements": { | ||
"appellantInDetention": "Yes", | ||
"notificationAttachmentDocuments": [ | ||
{ | ||
"id": "1", | ||
"value": { | ||
"document": { | ||
"document_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/", | ||
"document_binary_url": "$/http.+\/documents/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/binary/", | ||
"document_filename": "PA 12345 2019-Awan-respondent-letter-application-refused.PDF" | ||
}, | ||
"description": "", | ||
"dateUploaded": "{$TODAY}", | ||
"tag": "internalDecideHomeOfficeApplicationLetter" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.