Skip to content

Commit

Permalink
Merge pull request #1095 from anup-nehe/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
lsivanand authored Sep 29, 2023
2 parents cf6291b + 6b3842c commit 4c52861
Show file tree
Hide file tree
Showing 8 changed files with 441 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ GetPartnersPolicy:
"requesttime": "$TIMESTAMP$"
}'
output: '{
"policyGroupId": "mpolicygroup-default-auth",
"policyGroupName": "mpolicygroup-default-auth",
"policyGroupId": "521893",
"policyGroupName": "auth_module",
"policyId": "$IGNORE$",
"policyName": "$IGNORE$",
"status": "PUBLISHED"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ createSearchPolicy:
output: '{
"data": [
{
"policyType": "Datashare",
"policyType": "DataShare",
"schema": "$IGNORE$"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -722,4 +722,120 @@ AddIdentity:
}'
output: '{
"status":"ACTIVATED"
}'

Resident_AddIdentity_withValidParameters_ToCreate_Three_PreVid_smoke_Pos:
endPoint: /idrepository/v1/identity/
role: idrepo
restMethod: post
inputTemplate: resident/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: resident/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "1992/04/15",
"postalCode": "14022",
"email": "Resident_AddIdentity_withValidParameters_ToCreate_Three_PreVid_smoke_Pos@mosip.net",
"phone": "9876543210",
"mobileno": "9876543210",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'

Resident_AddIdentity_withValidParameters_To_Genrate_TempVid_Use_3_smoke_Pos:
endPoint: /idrepository/v1/identity/
role: idrepo
restMethod: post
inputTemplate: resident/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: resident/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "1992/04/15",
"postalCode": "14022",
"email": "Resident_AddIdentity_withValidParameters_To_Genrate_TempVid_Use_3_smoke_Pos@mosip.net",
"phone": "9876543210",
"mobileno": "9876543210",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'

Resident_AddIdentity_withValidParameters_For_SendOtp_smoke_Pos:
endPoint: /idrepository/v1/identity/
role: idrepo
restMethod: post
inputTemplate: resident/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: resident/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "1992/04/15",
"postalCode": "14022",
"email": "Resident_AddIdentity_withValidParameters_For_SendOtp_smoke_Pos@mosip.net",
"phone": "9876543210",
"mobileno": "9876543210",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'

Resident_AddIdentity_withValidParameters_To_Check_Ten_Transactions_smoke_Pos:
endPoint: /idrepository/v1/identity/
role: idrepo
restMethod: post
inputTemplate: resident/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: resident/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "1992/04/15",
"postalCode": "14022",
"email": "Resident_AddIdentity_withValidParameters_For_SendOtp_smoke_Pos@mosip.net",
"phone": "9876543210",
"mobileno": "9876543210",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,39 @@ AuthLock:
}
}'

Resident_AuthLock_VID_Use_All:
endPoint: /resident/v1/req/auth-lock
role: resident
restMethod: post
checkErrorsOnlyInResponse: true
inputTemplate: resident/AuthLock/createAuthLock
outputTemplate: resident/AuthLock/createAuthLockResult
input: '{
"transactionID": "$TRANSACTIONID$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"individualIdType": "VID",
"requesttime": "$TIMESTAMP$",
"id": "mosip.resident.authlock",
"version": "v1",
"authType": [{auth: "bio-Iris"},{auth: "demo"},{auth: "bio-FACE"}],
"otp": "$ID:AddIdentity_withValidParameters_ToCreate_PreVid_smoke_Pos_EMAIL$",
"sendOtp":{
"transactionID": "$TRANSACTIONID$",
"requestTime": "$TIMESTAMP$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "resident/SendOTP/createSendOTP",
"sendOtpEndPoint": "/resident/v1/req/otp"
}
}'
output: '{
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"resident/SendOTP/createSendOTPResult",
"maskedEmail": "$IGNORE$"
}
}'

Resident_AuthLock_Valid_UIN_smoke_demo_Pos:
endPoint: /resident/v1/req/auth-lock
role: resident
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,40 @@ AuthUnlock:
"maskedEmail": "$IGNORE$"
}
}'

Resident_AuthUnLock_VID_Use_Pos:
endPoint: /resident/v1/req/auth-unlock
role: resident
restMethod: post
checkErrorsOnlyInResponse: true
inputTemplate: resident/AuthUnLock/createAuthUnLock
outputTemplate: resident/AuthUnLock/createAuthUnLockResult
input: '{
"transactionID": "$TRANSACTIONID$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"individualIdType": "VID",
"unlockForSeconds": "1",
"requesttime": "$TIMESTAMP$",
"id": "mosip.resident.authunlock",
"version": "v1",
"authType": [{auth: "bio-Iris"},{auth: "demo"},{auth: "bio-FACE"}],
"otp": "$ID:AddIdentity_withValidParameters_ToCreate_PreVid_smoke_Pos_EMAIL$",
"sendOtp":{
"transactionID": "$TRANSACTIONID$",
"requestTime": "$TIMESTAMP$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "resident/SendOTP/createSendOTP",
"sendOtpEndPoint": "/resident/v1/req/otp"
}
}'
output: '{
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"resident/SendOTP/createSendOTPResult",
"maskedEmail": "$IGNORE$"
}
}'
Resident_AuthUnLock_UIN_All_Invalid_Unlock_Seconds:
endPoint: /resident/v1/req/auth-unlock
role: resident
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1659,3 +1659,36 @@ RequestCredentials:
"maskedEmail": "$IGNORE$"
}
}'

Resident_RequestCredentials_euin_VID_Use_sid:
endPoint: /resident/v1/req/credential
role: resident
restMethod: post
checkErrorsOnlyInResponse: true
inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential
outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult
input: '{
"transactionID": "$TRANSACTIONID$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"credentialType": "euin",
"encrypt": "true",
"version": "v1",
"encryptionKey": "abc123",
"requestTime": "$TIMESTAMP$",
"otp": "$ID:AddIdentity_withValidParameters_ToCreate_PreVid_smoke_Pos_EMAIL$",
"sendOtp":{
"transactionID": "$TRANSACTIONID$",
"requestTime": "$TIMESTAMP$",
"individualId": "$ID:Generate_Perpetual_VID_SecondTime_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "resident/SendOTP/createSendOTP",
"sendOtpEndPoint": "/resident/v1/req/otp"
}
}'
output: '{
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"resident/SendOTP/createSendOTPResult",
"maskedEmail": "$IGNORE$"
}
}'
Loading

0 comments on commit 4c52861

Please sign in to comment.