forked from mosip/mosip-functional-tests
-
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 mosip#1030 from Sohandey/develop
Develop
- Loading branch information
Showing
26 changed files
with
364 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -792,6 +792,33 @@ AddIdentity: | |
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
auth_AddIdentity_deactivate_UIN_smoke: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
regenerateHbs: true | ||
restMethod: post | ||
inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: ida/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1970/07/08", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "7019858531", | ||
"referenceIdentityNumber": "6789545678878", | ||
"version": "v1", | ||
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
|
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
14 changes: 14 additions & 0 deletions
14
automationtests/src/main/resources/ida/CreateDraft/CreateDraft.yml
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,14 @@ | ||
CreateDraft: | ||
auth_CreateDraft_Smoke_Pos: | ||
endPoint: /idrepository/v1/identity/draft/create/{registrationId} | ||
role: idrepo | ||
checkErrorsOnlyInResponse: true | ||
restMethod: post | ||
inputTemplate: ida/CreateDraft/createDraft | ||
outputTemplate: ida/CreateDraft/createDraftResult | ||
input: '{ | ||
"registrationId":"$RID$" | ||
}' | ||
output: '{ | ||
"status": "DRAFTED" | ||
}' |
3 changes: 3 additions & 0 deletions
3
automationtests/src/main/resources/ida/CreateDraft/createDraft.hbs
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,3 @@ | ||
{ | ||
"registrationId": "{{registrationId}}" | ||
} |
2 changes: 2 additions & 0 deletions
2
automationtests/src/main/resources/ida/CreateDraft/createDraftResult.hbs
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,2 @@ | ||
{ | ||
} |
14 changes: 14 additions & 0 deletions
14
automationtests/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml
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,14 @@ | ||
CreateDraftVID: | ||
auth_CreateDraftVID_Smoke_Pos: | ||
endPoint: /idrepository/v1/draft/vid | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: ida/CreateDraftVID/createDraftVID | ||
outputTemplate: ida/CreateDraftVID/createDraftVIDResult | ||
input: '{ | ||
"vidType": "Perpetual", | ||
"UIN": "$ID:GetDraft_all_valid_smoke_sid_UIN$" | ||
}' | ||
output: '{ | ||
"vidStatus": "DRAFT" | ||
}' |
10 changes: 10 additions & 0 deletions
10
automationtests/src/main/resources/ida/CreateDraftVID/createDraftVID.hbs
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,10 @@ | ||
{ | ||
"id": "mosip.vid.create", | ||
"version": "v1", | ||
"requesttime": "$TIMESTAMP$", | ||
"metadata": {}, | ||
"request": { | ||
"vidType": "{{vidType}}", | ||
"UIN": "{{UIN}}" | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
automationtests/src/main/resources/ida/CreateDraftVID/createDraftVIDResult.hbs
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,5 @@ | ||
{ | ||
"response": { | ||
"vidStatus": "{{vidStatus}}" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
automationtests/src/main/resources/ida/DeactivateUin/DeactivateUin.yml
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,16 @@ | ||
DeactivateUINs: | ||
auth_DeactivateUINs_Smoke_Pos: | ||
endPoint: /idrepository/v1/vid/deactivate | ||
role: resident | ||
restMethod: post | ||
inputTemplate: ida/DeactivateUin/deactivateUin | ||
outputTemplate: ida/DeactivateUin/deactivateUinResult | ||
input: '{ | ||
"UIN": "$ID:AddIdentity_deactivate_UIN_smoke_UIN$", | ||
"requesttime": "$TIMESTAMP$", | ||
"id": "mosip.vid.deactivate", | ||
"version": "v1" | ||
}' | ||
output: '{ | ||
"vidStatus": "DEACTIVATED" | ||
}' |
9 changes: 9 additions & 0 deletions
9
automationtests/src/main/resources/ida/DeactivateUin/deactivateUin.hbs
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,9 @@ | ||
{ | ||
"id": "{{id}}", | ||
"metadata": {}, | ||
"request": { | ||
"UIN": "{{UIN}}" | ||
}, | ||
"requesttime": "{{requesttime}}", | ||
"version": "{{version}}" | ||
} |
5 changes: 5 additions & 0 deletions
5
automationtests/src/main/resources/ida/DeactivateUin/deactivateUinResult.hbs
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,5 @@ | ||
{ | ||
"response": { | ||
"vidStatus": "{{vidStatus}}" | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
automationtests/src/main/resources/ida/GetDraft/GetDraft.yml
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,13 @@ | ||
GetDraft: | ||
auth_GetDraft_all_valid_smoke_sid: | ||
endPoint: /idrepository/v1/identity/draft/{registrationId} | ||
role: idrepo | ||
restMethod: get | ||
inputTemplate: ida/GetDraft/getDraft | ||
outputTemplate: ida/GetDraft/getDraftResult | ||
input: '{ | ||
"registrationId":"$RID$" | ||
}' | ||
output: '{ | ||
"status": "DRAFT" | ||
}' |
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,3 @@ | ||
{ | ||
"registrationId": "{{registrationId}}" | ||
} |
5 changes: 5 additions & 0 deletions
5
automationtests/src/main/resources/ida/GetDraft/getDraftResult.hbs
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,5 @@ | ||
{ | ||
"response": { | ||
"status": "{{status}}" | ||
} | ||
} |
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
10 changes: 10 additions & 0 deletions
10
automationtests/src/main/resources/ida/OtpAuth/sendOtpWithoutEmail.hbs
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,10 @@ | ||
{ | ||
"id": "mosip.identity.otp", | ||
"version": "1.0", | ||
"transactionID": "{{transactionID}}", | ||
"requestTime": "{{requestTime}}", | ||
"individualId": "{{individualId}}", | ||
"otpChannel": [ | ||
"PHONE" | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
automationtests/src/main/resources/ida/PublishDraft/PublishDraft.yml
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,13 @@ | ||
PublishDraft: | ||
auth_PublishDraft_all_valid_smoke: | ||
endPoint: /idrepository/v1/identity/draft/publish/{registrationId} | ||
role: idrepo | ||
restMethod: get | ||
inputTemplate: ida/PublishDraft/publishDraft | ||
outputTemplate: ida/PublishDraft/publishDraftResult | ||
input: '{ | ||
"registrationId":"$RID$" | ||
}' | ||
output: '{ | ||
"status": "ACTIVATED" | ||
}' |
3 changes: 3 additions & 0 deletions
3
automationtests/src/main/resources/ida/PublishDraft/publishDraft.hbs
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,3 @@ | ||
{ | ||
"registrationId": "{{registrationId}}" | ||
} |
5 changes: 5 additions & 0 deletions
5
automationtests/src/main/resources/ida/PublishDraft/publishDraftResult.hbs
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,5 @@ | ||
{ | ||
"response": { | ||
"status": "{{status}}" | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
automationtests/src/main/resources/ida/UpdateDraft/UpdateDraft.yml
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
automationtests/src/main/resources/ida/UpdateDraft/updateDraftResult.hbs
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,5 @@ | ||
{ | ||
"response": { | ||
"status": "{{status}}" | ||
} | ||
} |
Oops, something went wrong.