diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java index 3d5707f7c5..cc11337c29 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java @@ -133,7 +133,7 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad identityRequest = JsonPrecondtion.parseAndReturnJsonContent(identityRequest, generateCurrentUTCTimeStamp(), "timestamp"); Map demoAuthTempMap = encryptDecryptUtil.getEncryptSessionKeyValue(identityRequest); String authRequest = getJsonFromTemplate(request.toString(), testCaseDTO.getInputTemplate()); - logger.info("************* Modification of bio auth request ******************"); + logger.info("************* Modification of demo auth request ******************"); Reporter.log("Modification of demo auth request"); JSONObject authRequestTemp = new JSONObject(authRequest); diff --git a/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml index 5834249c15..b55f0106a6 100644 --- a/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml +++ b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml @@ -273,7 +273,7 @@ BioAuth: "authStatus": "false" }' auth_EkycBio_Face_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc bio auth with face with blocked deviceProviderId role: resident restMethod: post @@ -312,7 +312,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_RingFinger_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc bio auth with RingFinger with blocked deviceProviderId role: resident restMethod: post @@ -351,7 +351,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_LeftMiddleFingerr_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc bio auth with LeftMiddleFinger with blocked deviceProviderId role: resident restMethod: post @@ -391,7 +391,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_RIGHTIRIS_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc bio auth with RIGHTIRIS with blocked deviceProviderId role: resident restMethod: post diff --git a/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml index 9b85d6e413..f04535e3f9 100644 --- a/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml +++ b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml @@ -195,7 +195,7 @@ BioAuth: "authStatus": "false" }' auth_EkycBio_Face_With_blocked_partner: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc face auth with blocked partner role: resident restMethod: post @@ -234,7 +234,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_RingFinger_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc RingFinger auth with blocked deviceProviderId role: resident restMethod: post @@ -273,7 +273,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_LeftMiddleFingerr_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc LeftMiddleFinger auth with blocked deviceProviderId role: resident restMethod: post @@ -312,7 +312,7 @@ BioAuth: "kycStatus": "false" }' auth_EkycBio_RIGHTIRIS_With_blocked_deviceProviderId: - endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ description: Ekyc RIGHTIRIS auth with blocked deviceProviderId role: resident restMethod: post diff --git a/api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs index 3ae04f7cba..ea4e6bc62f 100644 --- a/api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs +++ b/api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs @@ -1,6 +1,4 @@ { - "authResponse": { - "body": { "errors": [ {{#each errors}} { @@ -9,9 +7,7 @@ {{#unless @last}},{{/unless}} {{/each}} ], - "response": { + "response": { "authStatus": {{authStatus}} - } } - } } \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs index 9d51fe4b7f..557d4fc283 100644 --- a/api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs +++ b/api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs @@ -1,9 +1,15 @@ { - "authResponse": { - "body": { - "response": { - "kycStatus": {{kycStatus}} - } + "transactionID": "$IGNORE$", + "version": "$IGNORE$", + "id": "$IGNORE$", + "errors": [ + {{#each errors}} + { + "errorCode": "{{errorCode}}", + "errorMessage": "$IGNORE$" } - } + {{#unless @last}},{{/unless}} + {{/each}} + ], + "responseTime": "$IGNORE$" } \ No newline at end of file