Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad
testCaseDTO.setEndPoint(replaceIdWithAutogeneratedId(testCaseDTO.getEndPoint(), "$ID:"));
PartnerRegistration.appendEkycOrRp.set("rp-");
}
if (testCaseDTO.getEndPoint().contains("$kycDelegationDisabledPartnerKeyUrl$")) {
testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$kycDelegationDisabledPartnerKeyUrl$",
IdAuthenticationUtil.generateAndGetKycDelegationDisabledPartnerKeyUrl()));
testCaseDTO.setEndPoint(replaceIdWithAutogeneratedId(testCaseDTO.getEndPoint(), "$ID:"));
PartnerRegistration.appendEkycOrRp.set("rp-");
}
if (testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) {
testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL));
PartnerRegistration.appendEkycOrRp.set("ekyc-");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ public void test(TestCaseDTO testCaseDTO)

PartnerRegistration.appendEkycOrRp.set("rp-");
}
if (testCaseDTO.getEndPoint().contains("$kycDelegationDisabledPartnerKeyUrl$")) {
testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$kycDelegationDisabledPartnerKeyUrl$",
IdAuthenticationUtil.generateAndGetKycDelegationDisabledPartnerKeyUrl()));
testCaseDTO.setEndPoint(replaceIdWithAutogeneratedId(testCaseDTO.getEndPoint(), "$ID:"));
PartnerRegistration.appendEkycOrRp.set("rp-");
}
if (testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) {
testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL));
PartnerRegistration.appendEkycOrRp.set("ekyc-");
Expand Down

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions api-test/src/main/resources/config/testCaseInterDependency.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,11 @@
],
"TC_IDA_AuthUnlock_": ["TC_DependentModule_IdRepo_15"],
"TC_IDA_DemoAuth_04": [
"TC_IDA_GenerateVID_13",
"TC_IDA_GenerateVID_01",
"TC_DependentModule_IdRepo_06",
"TC_DependentModule_IdRepo_06"
],
"TC_IDA_DemoAuth_72": [
"TC_IDA_GenerateVID_13",
"TC_DependentModule_IdRepo_62"
],
"TC_IDA_DemoAuth_01": ["TC_DependentModule_IdRepo_01"],
Expand Down Expand Up @@ -531,10 +533,8 @@
"TC_IDA_GenerateVID_01",
"TC_DependentModule_IdRepo_06"
],
"TC_IDA_HotlistAPI_Unblock_09": [
"TC_IDA_HotlistAPI_17",
"TC_IDA_HotlistAPI_16"
],
"TC_IDA_HotlistAPI_Unblock_09": ["TC_IDA_HotlistAPI_16"],
"TC_IDA_HotlistAPI_Unblock_10": ["TC_IDA_HotlistAPI_17"],
"TC_IDA_BioAuth_41": [
"TC_IDA_GenerateVID_01",
"TC_DependentModule_IdRepo_06"
Expand Down Expand Up @@ -595,6 +595,7 @@
"TC_IDA_AuthInternalLock_09": ["TC_DependentModule_IdRepo_28"],
"TC_IDA_AuthInternalLock_08": ["TC_DependentModule_IdRepo_27"],
"TC_IDA_AuthInternalLock_07": ["TC_DependentModule_IdRepo_26"],
"TC_IDA_AuthInternalLock_11": ["TC_DependentModule_IdRepo_Delegated_11"],
"TC_IDA_AuthInternalLock_06": ["TC_DependentModule_IdRepo_17"],
"TC_IDA_AuthInternalLock_05": ["TC_DependentModule_IdRepo_16"],
"TC_IDA_AuthInternalLock_04": ["TC_DependentModule_IdRepo_15"],
Expand Down Expand Up @@ -803,10 +804,8 @@
"TC_IDA_GenerateVID_05"
],
"TC_IDA_AuthLock_02": ["TC_DependentModule_IdRepo_20"],
"TC_IDA_AuthLock_01": [
"TC_DependentModule_IdRepo_19",
"TC_DependentModule_IdRepo_34"
],
"TC_IDA_AuthLock_01": ["TC_DependentModule_IdRepo_19"],
"TC_IDA_AuthLock_10": ["TC_DependentModule_IdRepo_34"],
"TC_IDA_DemoAuth_73": ["TC_DependentModule_IdRepo_61"],
"TC_IDA_DemoAuth_70": ["TC_DependentModule_IdRepo_37"],
"TC_IDA_AuthLock_09": ["TC_DependentModule_IdRepo_53"],
Expand Down Expand Up @@ -930,11 +929,11 @@
"TC_IDA_GenerateVID_01",
"TC_DependentModule_IdRepo_06"
],
"TC_IDA_AuthTransaction_01": [
"TC_DependentModule_IdRepo_07",
"TC_DependentModule_IdRepo_06",
"TC_DependentModule_IdRepo_09"
],
"TC_IDA_AuthTransaction_01": ["TC_DependentModule_IdRepo_06"],
"TC_IDA_AuthTransaction_27": ["TC_DependentModule_IdRepo_07"],
"TC_IDA_AuthTransaction_28": ["TC_DependentModule_IdRepo_09"],
"TC_IDA_CreateVID_01": ["TC_DependentModule_IdRepo_06"],
"TC_IDA_CreateVID_04": ["TC_DependentModule_IdRepo_24"],
"TC_IDA_MultiFactorAuth_31": ["TC_DependentModule_IdRepo_06"],
"TC_IDA_MultiFactorAuth_32": [
"TC_IDA_GenerateVID_01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ AuthInternalLock:

auth_AuthInternal_Permanent_Lock_DemoAuthDelegate_Valid_Smoke_Pos:
endPoint: /idrepository/v1/identity/authtypes/status
uniqueIdentifier: TC_IDA_AuthInternalLock_07
uniqueIdentifier: TC_IDA_AuthInternalLock_11
description: lock Demo authType Permanently for UIN and demo auth shoud fail with the same UIN
role: idrepo
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ AuthLock:
}'
auth_AuthLock_Valid_UIN_locked_All:
endPoint: /resident/v1/req/auth-lock
uniqueIdentifier: TC_IDA_AuthLock_01
uniqueIdentifier: TC_IDA_AuthLock_10
description: Validate the behavior of the authentication lock service when a valid UIN that is already locked is processed
role: resident
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,10 @@ AuthTransaction:
}'
output: '{
"referenceIdType": "UIN"
}'
auth_AuthTransaction_allValid_UIN3:
endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId}
uniqueIdentifier: TC_IDA_AuthTransaction_01
description: Validate the successful processing of an authentication transaction for a UIN when all input parameters are valid
role: resident
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: ida/AuthTransaction/authTransaction
outputTemplate: ida/AuthTransaction/authTransactionResult
input: '{
"individualId":"$ID:AddIdentity_ValidParam_smoke_Pos_UIN$"
}'
output: '{
"referenceIdType": "UIN"
}'
auth_AuthTransaction_allValid_UIN4:
endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId}
uniqueIdentifier: TC_IDA_AuthTransaction_01
uniqueIdentifier: TC_IDA_AuthTransaction_27
description: Validate the successful processing of an authentication transaction for a UIN when all input parameters are valid
role: resident
checkErrorsOnlyInResponse: true
Expand All @@ -145,7 +130,7 @@ AuthTransaction:
}'
auth_AuthTransaction_allValid_UIN5:
endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId}
uniqueIdentifier: TC_IDA_AuthTransaction_01
uniqueIdentifier: TC_IDA_AuthTransaction_28
description: Validate the successful processing of an authentication transaction for a UIN when all input parameters are valid
role: resident
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -998,4 +998,51 @@ BioAuthDelegated:
}'
output: '{
"kycStatus": "true"
}'
auth_BioAuthDelegatedNeg_KycRequestDelegation_NotAllowed_Neg:
endPoint: /idauthentication/v1/kyc-auth/delegated/$kycDelegationDisabledPartnerKeyUrl$/$ID:CreateOIDCClient_Delegated_Valid_Smoke_sid_clientId$
uniqueIdentifier: TC_IDA_BioAuthDelegated_26
description: Kyc auth with a MISP key whose policy disallows kyc delegation - verified live, app returns IDA-MPA-030 alongside a generic IDA-MLC-007
role: resident
restMethod: post
inputTemplate: ida/BioAuthDelegated/BioAuthDelegated
outputTemplate: ida/DelegateError
input: '{
"requestTime": "$TIMESTAMP$",
"individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_Smoke_Pos_UIN$",
"transactionId": "$TRANSACTIONID$",
"individualIdType": "UIN",
"bio": true,
"demo": false,
"otp": false,
"identityRequest":{
"bioSubType": "UNKNOWN",
"bioType": "FACE",
"bioValue": "$FACE$",
"deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823",
"dateTime": "$DATETIME$",
"deviceProviderID": "1873299273",
"deviceServiceID": "",
"deviceServiceVersion": "SB.WIN.001",
"deviceProvider": "SYNCBYTE",
"deviceProviderId": "SYNCBYTE.LTC165",
"deviceSubType": "Full face",
"make": "Logitech",
"model": "4d36e96c-e325-11ce-bfc1-08002be10318",
"serialNo": "78467171",
"type": "Face",
"transactionId": "$TRANSACTIONID$",
"identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt",
"identityRequestEncUrl": "/idauthentication/v1/internal/encrypt"
}
}'
output: '{
"errors": [
{
"errorCode": "IDA-MLC-007"
},
{
"errorCode": "IDA-MPA-030"
}
]
}'
Loading
Loading