-
Notifications
You must be signed in to change notification settings - Fork 105
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 #1152 from Sohandey/release-1.2.0.1
MOSIP-29286
- Loading branch information
Showing
12 changed files
with
400 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -675,6 +675,138 @@ AddIdentity: | |
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
IdRepository_AddIdentity_with_less_then_10_digit_phone: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: idRepository/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: idRepository/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"addressCopy": "Y", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1992/04/15", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "4732626", | ||
"mobileno": "4732626", | ||
"referenceIdentityNumber": "6789545678878", | ||
"version": "v1", | ||
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
IdRepository_AddIdentity_with_more_then_10_digit_phone: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: idRepository/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: idRepository/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"addressCopy": "Y", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1992/04/15", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "47326261234", | ||
"mobileno": "47326261234", | ||
"referenceIdentityNumber": "6789545678878", | ||
"version": "v1", | ||
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
IdRepository_AddIdentity_withcharacter_as_Phone_number: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: idRepository/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: idRepository/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"addressCopy": "Y", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1992/04/15", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "abcdefghijak", | ||
"mobileno": "abcdefghijak", | ||
"referenceIdentityNumber": "6789545678878", | ||
"version": "v1", | ||
"introducerRID": "212124324784879", | ||
"introducerUIN": "212124324784879", | ||
"category": "individualBiometrics", | ||
"requesttime": "$TIMESTAMP$" | ||
}' | ||
output: '{ | ||
"status":"ACTIVATED" | ||
}' | ||
IdRepository_AddIdentity_with_empty_Phone_number: | ||
endPoint: /idrepository/v1/identity/ | ||
role: idrepo | ||
restMethod: post | ||
inputTemplate: idRepository/AddIdentity/addIdentity_$LANGNUMBER$ | ||
outputTemplate: idRepository/AddIdentity/addIdentityResult | ||
input: '{ | ||
"value": "$BIOVALUE$", | ||
"id": "mosip.id.create", | ||
"registrationId": "$RID$", | ||
"addressCopy": "Y", | ||
"biometricReferenceId": "23452353", | ||
"UIN": "$UIN$", | ||
"dateOfBirth": "1992/04/15", | ||
"postalCode": "14022", | ||
"email": "[email protected]", | ||
"phone": "", | ||
"mobileno": "", | ||
"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
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 |
---|---|---|
|
@@ -18,6 +18,26 @@ CreatePrereg: | |
"id": "mosip.pre-registration.demographic.create" | ||
}' | ||
output: '{ | ||
}' | ||
Prereg_CreatePrereg_book_appoinment_without_update_prereg_status_sid: | ||
endPoint: /preregistration/v1/applications/prereg | ||
role: batch | ||
checkErrorsOnlyInResponse: true | ||
restMethod: post | ||
inputTemplate: preReg/createPrereg/createPrereg | ||
outputTemplate: preReg/createPrereg/createPreregResult | ||
input: '{ | ||
"postalCode": "14022", | ||
"phone": "8249742850", | ||
"email": "[email protected]", | ||
"IDSchemaVersion": $SCHEMAVERSION$, | ||
"dateOfBirth": "1996/01/01", | ||
"version": "1.0", | ||
"langCode": "$1STLANG$", | ||
"requesttime": "$TIMESTAMP$", | ||
"id": "mosip.pre-registration.demographic.create" | ||
}' | ||
output: '{ | ||
}' | ||
Prereg_CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid: | ||
endPoint: /preregistration/v1/applications/prereg | ||
|
@@ -474,4 +494,30 @@ CreatePrereg: | |
"errorCode": "KER-IOV-004" | ||
} | ||
] | ||
}' | ||
}' | ||
Prereg_CreatePrereg_Invalid_OTP_Neg: | ||
endPoint: /preregistration/v1/applications/prereg | ||
role: invalidBatch | ||
checkErrorsOnlyInResponse: true | ||
restMethod: post | ||
inputTemplate: preReg/createPrereg/createPrereg | ||
outputTemplate: preReg/error | ||
input: '{ | ||
"postalCode": "14022", | ||
"phone": "8249742850", | ||
"mobileno": "8249742850", | ||
"email": "[email protected]", | ||
"IDSchemaVersion": $SCHEMAVERSION$, | ||
"dateOfBirth": "1996/01/01", | ||
"version": "1.0", | ||
"langCode": "$1STLANG$", | ||
"requesttime": "$TIMESTAMP$", | ||
"id": "mosip.pre-registration.demographic.create" | ||
}' | ||
output: '{ | ||
"errors": [ | ||
{ | ||
"errorCode": "KER-IOV-004" | ||
} | ||
] | ||
}' |
Oops, something went wrong.