Skip to content

Commit

Permalink
MOSIP-36485 (#1391)
Browse files Browse the repository at this point in the history
Signed-off-by: Jayesh Kharode <[email protected]>
Co-authored-by: Jayesh Kharode <[email protected]>
  • Loading branch information
jayesh12234 and Jayesh Kharode authored Dec 12, 2024
1 parent 9f2a47e commit 2535520
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import io.mosip.testrig.apirig.auth.utils.IdAuthenticationUtil;
import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
Expand Down Expand Up @@ -113,7 +114,16 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad
identityRequestEncUrl = identityReqJson.getString("identityRequestEncUrl");
identityReqJson.remove("identityRequestEncUrl");
identityRequest = getJsonFromTemplate(identityReqJson.toString(), identityRequestTemplate);

logger.info(identityRequest);
if (identityRequest.contains("baseurl")) {
String domainUrl = BaseTestCase.ApplnURI;
identityRequest = identityRequest.replace("baseurl", domainUrl);
}
if (identityRequest.contains("$DOMAINURI$")) {
String domainUrl = BaseTestCase.ApplnURI;
identityRequest = identityRequest.replace("$DOMAINURI$", domainUrl);
}
logger.info(identityRequest);
String encryptedIdentityReq = null;
try {
encryptedIdentityReq = bioDataUtil.constractBioIdentityRequest(identityRequest,
Expand Down

0 comments on commit 2535520

Please sign in to comment.