diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/admin/fw/util/AdminTestUtil.java b/automationtests/src/main/java/io/mosip/testrig/apirig/admin/fw/util/AdminTestUtil.java index df5a1d8d205..4054244fdbc 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/admin/fw/util/AdminTestUtil.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/admin/fw/util/AdminTestUtil.java @@ -3163,19 +3163,21 @@ public String inputJsonKeyWordHandeler(String jsonString, String testCaseName) { if (jsonString.contains("$UINCODEVERIFIERPOS1$")) { jsonString = replaceKeywordWithValue(jsonString, "$UINCODEVERIFIERPOS1$", UIN_CODE_VERIFIER_POS_1); } - + if (jsonString.contains("$CODECHALLENGE$")) { - jsonString = replaceKeywordWithValue(jsonString, "$CODECHALLENGE$", properties.getProperty("codeChallenge")); + jsonString = replaceKeywordWithValue(jsonString, "$CODECHALLENGE$", + properties.getProperty("codeChallenge")); } - + if (jsonString.contains("$CODEVERIFIER$")) { jsonString = replaceKeywordWithValue(jsonString, "$CODEVERIFIER$", properties.getProperty("codeVerifier")); } - + if (jsonString.contains("$VCICONTEXTURL$")) { - jsonString = replaceKeywordWithValue(jsonString, "$VCICONTEXTURL$", properties.getProperty("vciContextURL")); + jsonString = replaceKeywordWithValue(jsonString, "$VCICONTEXTURL$", + properties.getProperty("vciContextURL")); } - + if (jsonString.contains("$PROOFJWT$")) { String oidcJWKKeyString = getJWKKey(oidcJWK1); @@ -4018,11 +4020,21 @@ public static String modifySchemaGenerateHbs(boolean regenerateHbs) { JSONObject objIDJson = objIDJson4.getJSONObject(GlobalConstants.IDENTITY); JSONObject objIDJson2 = objIDJson.getJSONObject(GlobalConstants.PROPERTIES); JSONArray objIDJson1 = objIDJson.getJSONArray(GlobalConstants.REQUIRED); + String phone = getValueFromAuthActuator("json-property", "phone_number"); + String result = phone.replaceAll("\\[\"|\"\\]", ""); + + if (!isElementPresent(objIDJson1, result)) { + objIDJson1.put(result); + } + + System.out.println("result is:" + result); + String email = getValueFromAuthActuator("json-property", "emailId"); + String emailResult = email.replaceAll("\\[\"|\"\\]", ""); + if (!isElementPresent(objIDJson1, emailResult)) { + objIDJson1.put(emailResult); + } + - // if (!isTargetEnvLTS()) { - objIDJson1.put(getValueFromAuthActuator("json-property", "phone_number")); - objIDJson1.put(getValueFromAuthActuator("json-property", "emailId")); - // } fileWriter1 = new FileWriter(GlobalConstants.ADDIDENTITY_HBS); fileWriter1.write("{\n"); fileWriter1.write(" \"id\": \"{{id}}\",\n"); @@ -4088,12 +4100,12 @@ public static String modifySchemaGenerateHbs(boolean regenerateHbs) { + "\t\t\"type\": \"DOC001\",\n" + "\t\t\"value\": \"fileReferenceID\"\n" + "\t },\n"); } - else if (objIDJson3.equals(getValueFromAuthActuator("json-property", "phone_number"))) { + else if (objIDJson3.equals(result)) { fileWriter2 .write("\t \"" + objIDJson3 + "\":" + " " + "\"" + "{{" + objIDJson3 + "}}\"" + ",\n"); } - else if (objIDJson3.equals(getValueFromAuthActuator("json-property", "emailId"))) { + else if (objIDJson3.equals(emailResult)) { fileWriter2 .write("\t \"" + objIDJson3 + "\":" + " " + "\"" + "{{" + objIDJson3 + "}}\"" + ",\n"); } @@ -5316,5 +5328,15 @@ public static String inputTitleHandler(String jsonString) { return jsonString; } + + public static boolean isElementPresent(JSONArray inputArray, String element) { + for (int i = 0; i < inputArray.length(); i++) { + String tempString = inputArray.getString(i); + if (tempString.equalsIgnoreCase(element)) { + return true; + } + } + return false; + } } diff --git a/automationtests/src/main/resources/ida/BioAuthHotListLock/EkycBio.yml b/automationtests/src/main/resources/ida/BioAuthHotListLock/EkycBio.yml deleted file mode 100644 index 0da7268b342..00000000000 --- a/automationtests/src/main/resources/ida/BioAuthHotListLock/EkycBio.yml +++ /dev/null @@ -1,1345 +0,0 @@ -EkycBio: - auth_EkycBio_Face_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "", - "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": "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_Infant_uin_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "", - "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": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Face", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_Face_With_draft_uin_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GetDraft_all_valid_smoke_sid_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "", - "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": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Face", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RingFinger_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left RingFinger", - "bioType": "Finger", - "bioValue": "$LEFTRINGFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftMiddleFingerr_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left MiddleFinger", - "bioType": "Finger", - "bioValue": "$LEFTMIDDLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftIndexFingerr_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftLittleFinger_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left LittleFinger", - "bioType": "Finger", - "bioValue": "$LEFTLITTLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightIndexFinger_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right IndexFinger", - "bioType": "Finger", - "bioValue": "$RIGHTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - 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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right RingFinger", - "bioType": "Finger", - "bioValue": "$RIGHTRINGFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightMiddleFinger_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right MiddleFinger", - "bioType": "Finger", - "bioValue": "$RIGHTMIDDLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightLittleFinger_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right LittleFinger", - "bioType": "Finger", - "bioValue": "$RIGHTLITTLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - 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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left Thumb", - "bioType": "Finger", - "bioValue": "$LEFTTHUMB$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightThumb_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right Thumb", - "bioType": "Finger", - "bioValue": "$RIGHTTHUMB$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightIris_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right", - "bioType": "Iris", - "bioValue": "$RIGHTIRIS$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftIris_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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left", - "bioType": "Iris", - "bioValue": "$LEFTIRIS$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_Face_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "", - "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": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Face", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RingFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left RingFinger", - "bioType": "Finger", - "bioValue": "$LEFTRINGFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left MiddleFinger", - "bioType": "Finger", - "bioValue": "$LEFTMIDDLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftIndexFingerr_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftLittleFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left LittleFinger", - "bioType": "Finger", - "bioValue": "$LEFTLITTLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightIndexFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right IndexFinger", - "bioType": "Finger", - "bioValue": "$RIGHTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightRingFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right RingFinger", - "bioType": "Finger", - "bioValue": "$RIGHTRINGFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightMiddleFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right MiddleFinger", - "bioType": "Finger", - "bioValue": "$RIGHTMIDDLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightLittleFinger_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right LittleFinger", - "bioType": "Finger", - "bioValue": "$RIGHTLITTLEFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftThumb_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left Thumb", - "bioType": "Finger", - "bioValue": "$LEFTTHUMB$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightThumb_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right Thumb", - "bioType": "Finger", - "bioValue": "$RIGHTTHUMB$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_RightIris_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Right", - "bioType": "Iris", - "bioValue": "$RIGHTIRIS$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_LeftIris_With_Valid_VID_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left", - "bioType": "Iris", - "bioValue": "$LEFTIRIS$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "true" -}' - auth_EkycBio_inValid_transactionID_uin_Neg: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=123HGFRFDDR3245@@456&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "123HGFRFDDR3245@@456", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_inValid_transactionID_vid_Neg: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=123HGFRFDDR3245@@456&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "123HGFRFDDR3245@@456", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_blank_transactionID_uin_Neg: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_blank_transactionID_vid_Neg: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_with_revoked_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_to_revoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_invalid_uin_bioSubType: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "L@@@$%4556eft", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_invalid_bioSubType_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "L@@@$%4556eft", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_blank_uin_bioSubType: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_blank_bioSubType_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Blank_uin_bioType: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Blank_bioType_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Invalid_uin_bioType: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "ddff3355", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Invalid_bioType_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "ddff3355", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Iris_With_FaceBio_uin_Invalid: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left", - "bioType": "Iris", - "bioValue": "$FACE$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Iris_With_FaceBio_Invalid_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left", - "bioType": "Iris", - "bioValue": "$FACE$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Iris", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Finger_With_FaceBio_uin_Invalid: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$FACE$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Finger_With_FaceBio_Invalid_VID: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$FACE$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "kycStatus": "false" -}' - auth_EkycBio_Finger_With_dummy_partnerkey_Pos_vid: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$&isKyc=true&partnerUrlSuffix=zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/error - input: '{ - "bioSubType": "Left IndexFinger", - "bioType": "Finger", - "bioValue": "$LEFTINDEXFINGER$", - "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", - "dateTime": "$DATETIME$", - "deviceProviderID": "1873299273", - "deviceServiceID": "", - "deviceServiceVersion": "SB.WIN.001", - "deviceProvider": "SYNCBYTE", - "deviceProviderId": "SYNCBYTE.LTC165", - "deviceSubType": "Single", - "make": "Logitech", - "model": "4d36e96c-e325-11ce-bfc1-08002be10318", - "serialNo": "78467171", - "type": "Finger", - "transactionId": "$TRANSACTIONID$", - "timestamp": "$TIMESTAMP$" - }' - output: '{ - "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=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - role: resident - restMethod: post - inputTemplate: ida/EkycBio/EkycBio - outputTemplate: ida/EkycBio/EkycBioResult - input: '{ - "bioSubType": "", - "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": "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_uin_NOAUTH_Smoke_Pos: - endPoint: /v1/identity/authenticate?moduleName=$MODULENAME$&certsDir=$CERTSDIR$&transactionId=$TRANSACTIONID$&id=$ID:AddIdentity_Positive_EKYC_smoke_UIN$&isKyc=true&partnerUrlSuffix=$PartnerKeyURL$&keyFileNameByPartnerName=true&partnerName=$PartnerName$ - 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", - "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": "false" -}' \ No newline at end of file diff --git a/automationtests/testNgXmlFiles/authenticationApi.xml b/automationtests/testNgXmlFiles/authenticationApi.xml index 25b6ead13af..a21b6db10fb 100644 --- a/automationtests/testNgXmlFiles/authenticationApi.xml +++ b/automationtests/testNgXmlFiles/authenticationApi.xml @@ -189,18 +189,11 @@ - - - - - - - - + + + value="ida/BioAuthHotListLock/BioAuth.yml" />