From 7df12dc23a1f5b265563466d11c8aa2df8676423 Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Thu, 5 Dec 2024 14:46:57 +0530 Subject: [PATCH 1/2] MOSIP-36485 Signed-off-by: Nandhukumar --- .../java/io/mosip/testrig/apirig/utils/BioDataUtility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java index 5ddd22ffc1..3eb4f87499 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java @@ -157,8 +157,8 @@ public String constractBioIdentityRequest(String identityRequest, String bioValu - identityRequest = JsonPrecondtion.parseAndReturnJsonContent(identityRequest, BaseTestCase.ApplnURI, - biometricsMapper + ".data.domainUri"); +// identityRequest = JsonPrecondtion.parseAndReturnJsonContent(identityRequest, BaseTestCase.ApplnURI, +// biometricsMapper + ".data.domainUri"); From 0d5f2efe47c73cf570f91cbc38e9cec68bf814ec Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Thu, 5 Dec 2024 14:51:16 +0530 Subject: [PATCH 2/2] MOSIP-36485 Signed-off-by: Nandhukumar --- .../io/mosip/testrig/apirig/utils/BioDataUtility.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java index 3eb4f87499..3f979e8632 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/BioDataUtility.java @@ -153,14 +153,7 @@ public String constractBioIdentityRequest(String identityRequest, String bioValu String transactionId = JsonPrecondtion.getValueFromJson(data, GlobalConstants.TRANSACTIONID); String encryptedContent = encryptIsoBioValue(bioValue, timestamp, bioValueencryptionTemplateJson, transactionId, isInternal); - String encryptedBioValue = JsonPrecondtion.getValueFromJson(encryptedContent, "encryptedData"); - - - -// identityRequest = JsonPrecondtion.parseAndReturnJsonContent(identityRequest, BaseTestCase.ApplnURI, -// biometricsMapper + ".data.domainUri"); - - + String encryptedBioValue = JsonPrecondtion.getValueFromJson(encryptedContent, "encryptedData"); logger.info(identityRequest); String encryptedSessionKey = JsonPrecondtion.getValueFromJson(encryptedContent, "encryptedSessionKey");