Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nandhu-kumar committed Feb 28, 2024
2 parents ee35dbe + 8bf2409 commit b7ececf
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AuthLock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult"
Expand Down Expand Up @@ -57,7 +57,7 @@ AuthLock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult"
Expand Down Expand Up @@ -89,7 +89,7 @@ AuthLock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult"
Expand Down
60 changes: 30 additions & 30 deletions automationtests/src/main/resources/ida/DemoAuth/DemoAuth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,36 +1121,36 @@ DemoAuthNew:
output: '{
"authStatus": "true"
}'
auth_DemoAuthValid_Smoke_with_addressCopy:
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
outputTemplate: ida/DemoAuth/DemoAuthResult
input: '{
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$",
"value": "Y",
"key": "addressCopy"
}'
output: '{
"authStatus": "true"
}'
auth_DemoAuthValid_Smoke_with_mobileno:
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
outputTemplate: ida/DemoAuth/DemoAuthResult
input: '{
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$",
"value": "$ID:AddIdentity_withValidParameters_smoke_Pos_PHONE$",
"key": "mobileno"
}'
output: '{
"authStatus": "true"
}'
# auth_DemoAuthValid_Smoke_with_addressCopy:
# 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
# outputTemplate: ida/DemoAuth/DemoAuthResult
# input: '{
# "timestamp": "$TIMESTAMP$",
# "transactionId": "$TRANSACTIONID$",
# "value": "Y",
# "key": "addressCopy"
# }'
# output: '{
# "authStatus": "true"
#}'
# auth_DemoAuthValid_Smoke_with_mobileno:
# 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
# outputTemplate: ida/DemoAuth/DemoAuthResult
# input: '{
# "timestamp": "$TIMESTAMP$",
# "transactionId": "$TRANSACTIONID$",
# "value": "$ID:AddIdentity_withValidParameters_smoke_Pos_PHONE$",
# "key": "mobileno"
# }'
# output: '{
# "authStatus": "true"
#}'
auth_DemoAuthValid_with_phone:
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
Expand Down
13 changes: 4 additions & 9 deletions automationtests/src/main/resources/ida/EkycDemo/EkycDemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ EkycDemo:
auth_EkycDemo_Auth_With_email_Valid_UIN_Smoke:
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
kycFields: ["name"]
kycFields: ["dob"]
restMethod: post
inputTemplate: ida/EkycDemo/EkycDemo
outputTemplate: ida/EkycDemo/EkycDemoResult
Expand Down Expand Up @@ -931,7 +931,7 @@ EkycDemo:
kycFields: ["gender"]
restMethod: post
inputTemplate: ida/EkycDemo/EkycDemo
outputTemplate: ida/EkycDemo/error
outputTemplate: ida/EkycDemo/EkycDemoResult
input: '{
"timestamp": "$TIMESTAMP$",
"transactionId": "$TRANSACTIONID$",
Expand All @@ -941,7 +941,7 @@ EkycDemo:
output: '{
"kycStatus": "true"
}'
auth_EkycDemo_Auth_With_Valid_NOAUTH_UIN_Smoke:
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
Expand All @@ -954,12 +954,7 @@ EkycDemo:
"key": "dob"
}'
output: '{
"errors": [
{
"errorCode": "IDA-MLC-019"
}
],
"kycStatus": false
"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
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GenerateVID:
}'
output: '{
"vid": "$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 @@ GenerateVID:
}'
output: '{
"vid": "$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 @@ -94,7 +94,7 @@ GenerateVID:
}'
output: '{
"vid": "$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 @@ -128,7 +128,7 @@ GenerateVID:
}'
output: '{
"vid": "$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 @@ -162,7 +162,7 @@ GenerateVID:
}'
output: '{
"vid": "$IGNORE$",
"message": "Notification has been sent to the provided contact detail(s)",
"message": "$IGNORE$",
"sendOtpResp":{
"maskedMobile": "$IGNORE$",
"sendOtpResTemplate":"ida/SendOTP/createSendOTPResult",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,7 @@ MultiFactorAuth:
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: ida/MultiFactorAuth/MultiFactorAuth
outputTemplate: ida/MultiFactorAuth/error
outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult
input: '{
"otp": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$",
"individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$",
Expand All @@ -2513,7 +2513,7 @@ MultiFactorAuth:
"timestamp": "$TIMESTAMP$"
}'
output: '{
"authStatus": false,
"authStatus": true,
"sendOtpResp":{
"sendOtpResTemplate":"ida/MultiFactorAuth/sendOtpRes"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ RevokeVID:
auth_RevokeVID_all_valid_smoke:
endPoint: /resident/v1/vid/$ID:GenerateVID_to_revoke_Perpetual_sid_vid$
role: resident
checkErrorsOnlyInResponse: true
restMethod: patch
inputTemplate: ida/RevokeVID/createRevokeVID
outputTemplate: ida/RevokeVID/createRevokeVIDResult
Expand Down

0 comments on commit b7ececf

Please sign in to comment.