-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,481 additions
and
380 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
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
62 changes: 62 additions & 0 deletions
62
...ces/features/F-035 - Get Case V2 External/S-156_Case_Creation_Data_Token_Creation.td.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 @@ | ||
{ | ||
"_guid_": "S-156_Case_Creation_Data_Token_Creation", | ||
|
||
"productName": "CCD Data Store", | ||
"operationName": "Start event creation as Case worker", | ||
|
||
"method": "GET", | ||
"uri": "/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token", | ||
|
||
"specs": [ | ||
"to create a token for case creation" | ||
], | ||
|
||
"users": { | ||
"invokingUser": { | ||
"_extends_": "PrivateCaseworker" | ||
} | ||
}, | ||
|
||
"request": { | ||
"headers": { | ||
"_extends_": "Common_Request_Headers" | ||
}, | ||
"pathVariables": { | ||
"uid": "[[DEFAULT_AUTO_VALUE]]", | ||
"jid": "AUTOTEST1", | ||
"ctid": "AAT_AUTH_8", | ||
"etid": "CREATE" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"_extends_": "Common_200_Response", | ||
"headers": { | ||
"Content-Encoding": "gzip", | ||
"Content-Length": "[[ANY_INTEGER_NOT_NULLABLE]]" | ||
}, | ||
"body": { | ||
"token": "[[ANY_STRING_NOT_NULLABLE]]", | ||
"case_details": { | ||
"id": null, | ||
"jurisdiction": "[[ANYTHING_PRESENT]]", | ||
"state": null, | ||
"version": null, | ||
"case_type_id": "[[ANYTHING_PRESENT]]", | ||
"created_date": null, | ||
"last_modified": null, | ||
"last_state_modified_date": null, | ||
"security_classification": null, | ||
"case_data": {}, | ||
"data_classification": {}, | ||
"supplementary_data": null, | ||
"after_submit_callback_response": null, | ||
"callback_response_status_code": null, | ||
"callback_response_status": null, | ||
"delete_draft_response_status_code": null, | ||
"delete_draft_response_status": null | ||
}, | ||
"event_id": "CREATE" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/F-042 - Get aboutToStart token V1 External/Case_Creation_Using_Caseworker1_Role.td.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
33 changes: 33 additions & 0 deletions
33
...features/F-042 - Get aboutToStart token V1 External/F-042_Case_Creation_Data_Base.td.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,33 @@ | ||
{ | ||
"_guid_": "F-042_Case_Creation_Data_Base", | ||
"_extends_": "Case_Creation_Base", | ||
|
||
"request": { | ||
"body": { | ||
"event_token": "${[scenarioContext][parentContext][childContexts][Case_Creation_Using_Caseworker1_Role_Token_Creation][testData][actualResponse][body][token]}" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"_extends_": "Common_201_Response", | ||
"headers": { | ||
"Content-Encoding": "gzip", | ||
"vary": "accept-encoding", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"id": "[[ANYTHING_PRESENT]]", | ||
"state": "TODO", | ||
"version": 0, | ||
"last_state_modified_date": "[[ANYTHING_PRESENT]]", | ||
"created_date": "[[ANYTHING_PRESENT]]", | ||
"last_modified": "[[ANYTHING_PRESENT]]", | ||
"security_classification": "PUBLIC", | ||
"after_submit_callback_response": null, | ||
"callback_response_status_code": null, | ||
"callback_response_status": null, | ||
"delete_draft_response_status_code": null, | ||
"delete_draft_response_status": null | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...outToStart token V1 External/_Case_Creation_Using_Caseworker1_Role_Token_Creation.td.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 @@ | ||
{ | ||
"_guid_": "Case_Creation_Using_Caseworker1_Role_Token_Creation", | ||
|
||
"productName": "CCD Data Store", | ||
"operationName": "Start event creation as Case worker", | ||
|
||
"method": "GET", | ||
"uri": "/caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token", | ||
|
||
"specs": [ | ||
"to create a token for case creation" | ||
], | ||
|
||
"users": { | ||
"invokingUser": { | ||
"_extends_": "BeftaCaseworker1" | ||
} | ||
}, | ||
|
||
"request": { | ||
"headers": { | ||
"_extends_": "Common_Request_Headers" | ||
}, | ||
"pathVariables": { | ||
"uid": "[[DEFAULT_AUTO_VALUE]]", | ||
"jid": "BEFTA_JURISDICTION_1", | ||
"ctid": "BEFTA_CASETYPE_1_1", | ||
"etid": "CREATE" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"_extends_": "Common_200_Response", | ||
"headers": { | ||
"Content-Encoding": "gzip", | ||
"Content-Length": "[[ANY_INTEGER_NOT_NULLABLE]]" | ||
}, | ||
"body": { | ||
"token": "[[ANY_STRING_NOT_NULLABLE]]", | ||
"case_details": { | ||
"id": null, | ||
"jurisdiction": "[[ANYTHING_PRESENT]]", | ||
"state": null, | ||
"version": null, | ||
"case_type_id": "[[ANYTHING_PRESENT]]", | ||
"created_date": null, | ||
"last_modified": null, | ||
"last_state_modified_date": null, | ||
"security_classification": null, | ||
"case_data": {}, | ||
"data_classification": {}, | ||
"supplementary_data": null, | ||
"after_submit_callback_response": null, | ||
"callback_response_status_code": null, | ||
"callback_response_status": null, | ||
"delete_draft_response_status_code": null, | ||
"delete_draft_response_status": null | ||
}, | ||
"event_id": "CREATE" | ||
} | ||
} | ||
} |
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
23 changes: 23 additions & 0 deletions
23
...bmit Event to Update TTL/CreateCases/S-1016.21_GetUpdateSuspendedCaseTokenCitizen.td.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,23 @@ | ||
{ | ||
"_guid_": "S-1016.21_GetUpdateSuspendedCaseTokenCitizen", | ||
"_extends_": "F-1016_GetEventTokenBase", | ||
|
||
"users": { | ||
"invokingUser": { | ||
"_extends_": "BeftaCitizen2" | ||
} | ||
}, | ||
|
||
"request": { | ||
"pathVariables": { | ||
"cid": "${[scenarioContext][parentContext][childContexts][F-1016_CreateSuspendedCasePreRequisiteCitizen][testData][actualResponse][body][id]}", | ||
"etid": "updateCaseSubmitSuspendedTTL" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"body": { | ||
"event_id": "updateCaseSubmitSuspendedTTL" | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...it Event to Update TTL/CreateCases/S-1016.7_GetUpdateSuspendedCaseTokenCaseworker.td.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,23 @@ | ||
{ | ||
"_guid_": "S-1016.7_GetUpdateSuspendedCaseTokenCaseworker", | ||
"_extends_": "F-1016_GetEventTokenBase", | ||
|
||
"users": { | ||
"invokingUser": { | ||
"_extends_": "BeftaMasterCaseworker" | ||
} | ||
}, | ||
|
||
"request": { | ||
"pathVariables": { | ||
"cid": "${[scenarioContext][parentContext][childContexts][F-1016_CreateSuspendedCasePreRequisiteCaseworker][testData][actualResponse][body][id]}", | ||
"etid": "updateCaseSubmitSuspendedTTL" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"body": { | ||
"event_id": "updateCaseSubmitSuspendedTTL" | ||
} | ||
} | ||
} |
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
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
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
30 changes: 30 additions & 0 deletions
30
...t Creation Handle Case Links/CreateCases/Caseworker/S-1018.11-GetUpdateEventToken.td.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,30 @@ | ||
{ | ||
"title": "should create an event token for correct inputs", | ||
"_guid_": "S-1018.11-GetUpdateEventToken", | ||
"_extends_": "Token_Creation_Data_For_Master_Caseworker_Case_Creation", | ||
|
||
"users": { | ||
"invokingUser": { | ||
"_extends_": "BeftaMasterCaseworker" | ||
} | ||
}, | ||
|
||
"request": { | ||
"pathVariables": { | ||
"cid": "${[scenarioContext][siblingContexts][F-1018_CreateAnotherCasePreRequisiteCaseworkerBase][testData][actualResponse][body][id]}" | ||
} | ||
}, | ||
|
||
"expectedResponse": { | ||
"_extends_": "Common_200_Response", | ||
"headers": { | ||
"Content-Encoding": "gzip", | ||
"Content-Length": "[[ANYTHING_PRESENT]]" | ||
}, | ||
"body": { | ||
"token": "[[ANYTHING_PRESENT]]", | ||
"case_details": "[[ANYTHING_PRESENT]]", | ||
"event_id": "updateCase" | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...eation Handle Case Links/CreateCases/Citizen/S-1018.21-GetCitizenUpdateEventToken.td.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,11 @@ | ||
{ | ||
"title": "should create an event token for correct inputs", | ||
"_guid_": "S-1018.21-GetCitizenUpdateEventToken", | ||
"_extends_": "F-1018-GetCitizenUpdateEventTokenBase", | ||
|
||
"request": { | ||
"pathVariables": { | ||
"cid": "${[scenarioContext][siblingContexts][F-1018_CreateAnotherCasePreRequisiteCitizenBase][testData][actualResponse][body][id]}" | ||
} | ||
} | ||
} |
Oops, something went wrong.