Skip to content

Commit

Permalink
[MOSIP-35960]unique_identifier (#1357)
Browse files Browse the repository at this point in the history
* unique_identifier

Signed-off-by: damodar <damodar.g@cyberpwn.com>

* unique_identifier

Signed-off-by: damodar <damodar.g@cyberpwn.com>

* unique_identifier

Signed-off-by: damodar <damodar.g@cyberpwn.com>

* unique_identifier

Signed-off-by: damodar <damodar.g@cyberpwn.com>

---------

Signed-off-by: damodar <damodar.g@cyberpwn.com>
Signed-off-by: dhanendra06 <dhanendra.tech@gmail.com>
  • Loading branch information
damodarguru authored and dhanendra06 committed Jan 29, 2025
1 parent b3edba2 commit 4e7b4a2
Show file tree
Hide file tree
Showing 28 changed files with 365 additions and 45 deletions.
60 changes: 30 additions & 30 deletions api-test/src/main/resources/resident/AddIdentity/AddIdentity.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AddIdentity:
Resident_AddIdentity_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_01
description: Add identity with valid parameters
role: testrig
restMethod: post
Expand Down Expand Up @@ -31,7 +31,7 @@ AddIdentity:
}'
Resident_AddIdentity_withValidParameters_maximum_email_character_smoke_Pos11111111111111:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_02
description: Add identity with the maximum email characters and valid parameters
role: testrig
restMethod: post
Expand Down Expand Up @@ -61,7 +61,7 @@ AddIdentity:
}'
Resident_AddIdentity_ValidParam_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_03
description: Add identity with valid parameters
role: testrig
restMethod: post
Expand Down Expand Up @@ -91,7 +91,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_04
description: Add identity in a positive manner
role: testrig
restMethod: post
Expand Down Expand Up @@ -121,7 +121,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_PEXP_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_05
description: Add identity in a positive manner to expire the Perpetual VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -151,7 +151,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_PDEA_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_06
description: Add the identity in a positive manner to deactivate the perpetual VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -181,7 +181,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_TDEA_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_07
description: Add the identity in a positive manner to deactivate the Temporary VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -211,7 +211,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_PRE_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_08
description: Add the identity in a positive manner to reactivate the perpetual VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -241,7 +241,7 @@ AddIdentity:
}'
Resident_AddIdentity_Positive_TRE_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_09
description: Add the identity in a positive manner to reactivate the temporary VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -272,7 +272,7 @@ AddIdentity:

Resident_AddIdentity_Valid_Params_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_10
description: Add identity using valid parameters
role: testrig
restMethod: post
Expand Down Expand Up @@ -304,7 +304,7 @@ AddIdentity:

Resident_AddIdentity_Valid_Params_AddUser_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_11
description: Add identity using valid parameters ensuring that the user is successfully added
role: testrig
restMethod: post
Expand Down Expand Up @@ -336,7 +336,7 @@ AddIdentity:

Resident_AddIdentity_ValidParameters_ChannelVerify_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_12
description: Adding new identity using valid parameters and verifies the channel
role: testrig
restMethod: post
Expand Down Expand Up @@ -368,7 +368,7 @@ AddIdentity:

Resident_AddIdentity_ValidParams_For_Revoke_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_13
description: Add identity using valid parameters for revoke VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -399,7 +399,7 @@ AddIdentity:

Resident_AddIdentity_Esignet_Integ_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_14
description: Integrate Esignet functionality while adding a new identity
role: testrig
restMethod: post
Expand Down Expand Up @@ -430,7 +430,7 @@ AddIdentity:

Resident_AddIdentity_Esignet_Integ_Vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_15
description: Integrate VID within Esignet functionality while adding a new identity
role: testrig
restMethod: post
Expand Down Expand Up @@ -461,7 +461,7 @@ AddIdentity:

Resident_AddIdentity_GetRid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_16
description: Add identity in a positive manner while retrieving RID
role: testrig
restMethod: post
Expand Down Expand Up @@ -492,7 +492,7 @@ AddIdentity:

Resident_AddIdentity_UpdateCount_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_17
description: Add identity in a positive manner while updating count
role: testrig
restMethod: post
Expand Down Expand Up @@ -523,7 +523,7 @@ AddIdentity:

Resident_AddIdentity_ForEotp_Scen_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_18
description: Add identity in a positive manner for expired OTP functionality
role: testrig
restMethod: post
Expand Down Expand Up @@ -554,7 +554,7 @@ AddIdentity:

Resident_AddIdentity_ForEotp_Scen_Vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_19
description: Add identity with VID positively for the expired OTP functionality
role: testrig
restMethod: post
Expand Down Expand Up @@ -585,7 +585,7 @@ AddIdentity:

Resident_AddIdentity_ForEotp_Temp_Vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_20
description: Add identity with temporary VID in a positive manner the expired OTP functionality
role: testrig
restMethod: post
Expand Down Expand Up @@ -616,7 +616,7 @@ AddIdentity:

Resident_AddIdentity_ForEotp_Onetime_Vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_21
description: Add identity with onetime VID in a positive manner the expired OTP functionality
role: testrig
restMethod: post
Expand Down Expand Up @@ -647,7 +647,7 @@ AddIdentity:

Resident_AddIdentity_OrdrSts_Valid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_22
description: Add identity in a positive manner with valid order status
role: testrig
restMethod: post
Expand Down Expand Up @@ -678,7 +678,7 @@ AddIdentity:

Resident_AddIdentity_Invalid_Scen_Vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_23
description: Add identity with an invalid scenario and VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -709,7 +709,7 @@ AddIdentity:

Resident_AddIdentity_withInValid_DOB_Neg:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_24
description: Add identity with an invalid DOB
role: testrig
restMethod: post
Expand Down Expand Up @@ -744,7 +744,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_To_Genrate_VID_Six_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_25
description: Adding identity with valid parameters to generate a VID under the Six scenario
role: testrig
restMethod: post
Expand Down Expand Up @@ -775,7 +775,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_ToCreate_PreVid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_26
description: Add identity with valid parameters in a positive manner to create perpetual VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -806,7 +806,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_ToCreate_Three_PreVid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_27
description: Add identity with valid parameters in a positive manner to create three perpetual VID
role: testrig
restMethod: post
Expand Down Expand Up @@ -837,7 +837,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_To_Genrate_TempVid_Use_3_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_28
description: Add identity with valid parameters to generate a temporary VID using the Use 3 method
role: testrig
restMethod: post
Expand Down Expand Up @@ -868,7 +868,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_For_SendOtp_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_29
description: Add identity with valid parameters to send OTP
role: testrig
restMethod: post
Expand Down Expand Up @@ -899,7 +899,7 @@ AddIdentity:

Resident_AddIdentity_withValidParameters_To_Check_Ten_Transactions_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: Dependent_Idrepo
uniqueIdentifier: Dependent_Idrepo_AddIdentity_30
description: Add identity with valid parameters to check ten transactions
role: testrig
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AuthenticateUser:
Resident_ESignet_AuthenticateUserIDP_uin_Otp_Valid_Smoke:
endPoint: /v1/esignet/authorization/authenticate
uniqueIdentifier: Dependent_ESignet
uniqueIdentifier: Dependent_ESignet_AuthenticateUserIDP_01
description: Authenticate a user using their UIN and a valid OTP in the eSignet authentication process
role: resident
checkErrorsOnlyInResponse: true
Expand Down Expand Up @@ -36,7 +36,7 @@ AuthenticateUser:

Resident_ESignet_AuthenticateUserIDP_vid_Otp_Valid_Smoke:
endPoint: /v1/esignet/authorization/authenticate
uniqueIdentifier: Dependent_ESignet
uniqueIdentifier: Dependent_ESignet_AuthenticateUserIDP_02
description: Authenticate a user using their VID and a valid OTP in the eSignet authentication process
role: resident
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AuthorizationCode:
Resident_ESignet_AuthorizationCode_uin_All_Valid_Smoke_sid:
endPoint: /v1/esignet/authorization/auth-code
uniqueIdentifier: Dependent_ESignet
uniqueIdentifier: Dependent_ESignet_AuthorizationCode_01
description: Generate the ESignet authorization code using UIN with valid inputs
role: resident
checkErrorsOnlyInResponse: true
Expand All @@ -21,7 +21,7 @@ AuthorizationCode:

Resident_ESignet_AuthorizationCode_Vid_All_Valid_Smoke_sid:
endPoint: /v1/esignet/authorization/auth-code
uniqueIdentifier: Dependent_ESignet
uniqueIdentifier: Dependent_ESignet_AuthorizationCode_01
description: Generate the ESignet authorization code using VID with valid inputs
role: resident
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CheckAidStatus:
Resident_CheckAidStatus_all_Valid_Smoke:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_01
description: Check the status of the AID using valid data
role: resident
restMethod: post
Expand Down Expand Up @@ -32,6 +33,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Invalid_Aid_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_02
description: Check the status of the AID by using an invalid AID
role: resident
restMethod: post
Expand Down Expand Up @@ -69,6 +71,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Invalid_TransactionID_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_03
description: Check the status of the AID using an invalid transactionID
role: resident
restMethod: post
Expand Down Expand Up @@ -106,6 +109,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Invalid_Otp_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_04
description: Check the status of the AID using an invalid OTP
role: resident
restMethod: post
Expand Down Expand Up @@ -143,6 +147,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Empty_Aid_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_05
description: Check the status of the AID using an empty AID
role: resident
restMethod: post
Expand Down Expand Up @@ -180,6 +185,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Empty_TransactionID_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_06
description: Check the status of the AID using an empty transaction ID
role: resident
restMethod: post
Expand Down Expand Up @@ -217,6 +223,7 @@ CheckAidStatus:

Resident_CheckAidStatus_Empty_Otp_Neg:
endPoint: /resident/v1/aid/status
uniqueIdentifier: TC_Resident_CheckAidStatus_07
description: Check the status of the AID using an empty otp
role: resident
restMethod: post
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CancellCredential:
Resident_CredentialsStatus_euin_All_Valid_Smoke:
endPoint: /resident/v1/req/credential/cancel/{requestId}
uniqueIdentifier: TC_Resident_CredentialsStatus_01
description: Check the credential status with EUIN and valid inputs
role: resident
checkErrorsOnlyInResponse: true
Expand Down
Loading

0 comments on commit 4e7b4a2

Please sign in to comment.