Skip to content

Commit

Permalink
Merge pull request #1259 from Sohandey/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ckm007 authored May 2, 2024
2 parents 8c1329d + f4eb906 commit 2a446ec
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"transactionID":"{{transactionID}}",
"individualId":"{{individualId}}",
"individualIdType":"{{individualIdType}}",
"unlockForSeconds": "1",
"unlockForSeconds": "900",
"otp":"{{otp}}",
"authType": [
{{#each authType}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ AuthUnlock:
}'
output: '{
"registrationId": "$IGNORE$",
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult",
Expand Down Expand Up @@ -60,7 +60,7 @@ AuthUnlock:
}'
output: '{
"registrationId": "$IGNORE$",
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult",
Expand Down
2 changes: 1 addition & 1 deletion apitest/src/main/resources/ida/BioAuth/BioAuth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ BioAuth:
output: '{
"errors": [
{
"errorCode": "IDA-MLC-019"
"errorCode": "$IGNORE$"
}
],
"authStatus": false
Expand Down
57 changes: 2 additions & 55 deletions apitest/src/main/resources/ida/DemoAuth/DemoAuth.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DemoAuthNew:
auth_DemoAuth_DOB_Valid_Smoke_UIN:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
role: resident
restMethod: post
inputTemplate: ida/DemoAuth/DemoAuth
Expand Down Expand Up @@ -1081,21 +1081,6 @@ DemoAuthNew:
role: resident
restMethod: post
inputTemplate: ida/DemoAuth/DemoAuth
outputTemplate: ida/error
input: '{
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$",
"value": "1970/07/08",
"key": "dob"
}'
output: '{
"authStatus": "false"
}'
auth_DemoAuth_DOB_Valid_Smoke_UIN_NOAUTH_resident_cookie_Neg:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
role: resident
restMethod: post
inputTemplate: ida/DemoAuth/DemoAuth
outputTemplate: ida/DemoAuth/DemoAuthResult
input: '{
"timestamp": "$TIMESTAMP$",
Expand All @@ -1104,7 +1089,7 @@ DemoAuthNew:
"key": "dob"
}'
output: '{
"authStatus": "true"
"authStatus": "false"
}'
auth_DemoAuth_DOB_Valid_Smoke_with_Draft_UIN_Neg:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GetDraft_all_valid_smoke_sid_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
Expand Down Expand Up @@ -1216,44 +1201,6 @@ DemoAuthNew:
}'
output: '{
"authStatus": "false"
}'
auth_DemoAuthValid_when_partnerDemoDown_and_inavlid_vid:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$id=$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
role: resident
restMethod: post
inputTemplate: ida/DemoAuth/DemoIdentityEncryptName
outputTemplate: ida/DemoAuth/error
input: '{
"name": [
{
"language": "$PRIMARYLANG$",
"value": "TEST_FIRSTNAMEeng"
}
],
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$"
}'
output: '{
"authStatus": "false"
}'
auth_DemoAuthValid_when_partnerDemoDown:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&idType=VID&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
role: resident
restMethod: post
inputTemplate: ida/DemoAuth/DemoIdentityEncryptName
outputTemplate: ida/DemoAuth/error
input: '{
"name": [
{
"language": "$PRIMARYLANG$",
"value": "TEST_FIRSTNAMEeng"
}
],
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$"
}'
output: '{
"authStatus": "false"
}'
auth_DemoAuth_gender_IRIS_as_true_anddo_auth_policy:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$&partnerUrlSuffix=$UpdatedPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
Expand Down
35 changes: 3 additions & 32 deletions apitest/src/main/resources/ida/EkycBio/EkycBio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ EkycBio:
auth_EkycBio_RightRingFinger_With_Valid_uin_Smoke_Pos:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
role: resident
kycFields: ["fullName"]
kycFields: ["dob"]
restMethod: post
inputTemplate: ida/EkycBio/EkycBio
outputTemplate: ida/EkycBio/EkycBioResult
Expand Down Expand Up @@ -361,7 +361,7 @@ EkycBio:
auth_EkycBio_LeftThumb_With_Valid_uin_Smoke_Pos:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
role: resident
kycFields: ["fullName"]
kycFields: ["dob"]
restMethod: post
inputTemplate: ida/EkycBio/EkycBio
outputTemplate: ida/EkycBio/EkycBioResult
Expand Down Expand Up @@ -1391,7 +1391,7 @@ EkycBio:
"kycStatus": "false"
}'
auth_EkycBio_Face_With_Deactivated_uin:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$id=$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID&id=$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
role: resident
kycFields: ["email"]
restMethod: post
Expand Down Expand Up @@ -1419,35 +1419,6 @@ EkycBio:
}'
output: '{
"kycStatus": "true"
}'
auth_EkycBio_Face_With_Valid_uin_NOAUTH_Smoke_Pos:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
role: resident
restMethod: post
inputTemplate: ida/EkycBio/EkycBio
outputTemplate: ida/EkycBio/error
input: '{
"bioSubType": "",
"bioType": "FACE",
"bioValue": "$FACE$",
"deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823",
"dateTime": "$DATETIME$",
"deviceProviderID": "1873299273",
"env": "Staging",
"deviceServiceID": "",
"deviceServiceVersion": "SB.WIN.001",
"deviceProvider": "SYNCBYTE",
"deviceProviderId": "SYNCBYTE.LTC165",
"deviceSubType": "Single",
"make": "Logitech",
"model": "4d36e96c-e325-11ce-bfc1-08002be10318",
"serialNo": "78467171",
"type": "Face",
"transactionId": "$TRANSACTIONID$",
"timestamp": "$TIMESTAMP$"
}'
output: '{
"kycStatus": "true"
}'
auth_EkycBio_Face_With_Valid_withoutkyc_attribute_in_policy:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$UpdatedPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
Expand Down
15 changes: 0 additions & 15 deletions apitest/src/main/resources/ida/EkycDemo/EkycDemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -943,21 +943,6 @@ EkycDemo:
}'
output: '{
"kycStatus": "true"
}'
auth_EkycDemo_Auth_With_Valid_NOAUTH_resident_cookie_Neg:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_EkycDemo_Auth_smoke_Pos_UIN$&isKyc=true&partnerUrlSuffix=$KycPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$KycPartnerName$
role: resident
restMethod: post
inputTemplate: ida/EkycDemo/EkycDemo
outputTemplate: ida/EkycDemo/EkycDemoResult
input: '{
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$",
"value": "1970/07/08",
"key": "dob"
}'
output: '{
"kycStatus": "true"
}'
auth_EkycDemo_Auth_Without_kyc_attribute_in_policy_Smoke:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_EkycDemo_Auth_smoke_Pos_UIN$&isKyc=true&partnerUrlSuffix=$UpdatedPartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
Expand Down
40 changes: 2 additions & 38 deletions apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ MultiFactorAuth:
inputTemplate: ida/MultiFactorAuth/MultiFactorAuth
outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult
input: '{
"otp": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$",
"individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$",
"otp": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_EMAIL$",
"individualId": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$",
"bioSubType": "",
"bioType": "FACE",
"bioValue": "$FACE$",
Expand Down Expand Up @@ -1941,42 +1941,6 @@ MultiFactorAuth:
"sendOtpResp":{
"sendOtpResTemplate":"ida/OtpAuth/sendOtpRes"
}
}'
auth_MultiFactorAuth_Biometric_LeftIris_With_VID_missing_bioType:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&idType=VID&partnerUrlSuffix=$partnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: ida/MultiFactorAuth/MultiFactorAuth
outputTemplate: ida/MultiFactorAuth/error
input: '{
"otp": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$",
"individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$",
"bioSubType": "Left",
"bioType": "$REMOVE$",
"bioValue": "$LEFTIRIS$",
"deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823",
"dateTime": "$DATETIME$",
"deviceProviderID": "SYNCBYTE.MC01A",
"deviceServiceID": "",
"deviceServiceVersion": "SB.WIN.001",
"deviceProvider": "SYNCBYTE",
"deviceProviderId": "SYNCBYTE.LTC165",
"deviceSubType": "Slap",
"make": "Logitech",
"model": "4d36e96c-e325-11ce-bfc1-08002be10318",
"serialNo": "78467175",
"type": "Iris",
"key": "dob",
"value": "1970/07/08",
"transactionId": "$TRANSACTIONID$",
"timestamp": "$TIMESTAMP$"
}'
output: '{
"authStatus": false,
"sendOtpResp":{
"sendOtpResTemplate":"ida/OtpAuth/sendOtpRes"
}
}'
auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioType:
endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_ValidParam_smoke_Pos_UIN$&partnerUrlSuffix=$partnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RevokeVID:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult",
Expand Down

0 comments on commit 2a446ec

Please sign in to comment.