Skip to content

Commit

Permalink
Merge pull request #1350 from Anuranjan14/develop
Browse files Browse the repository at this point in the history
MOSIP-35965 Added uniqueIdentifier for IDA
  • Loading branch information
ckm007 authored Jan 24, 2025
2 parents b33a57f + 7fa5ca4 commit 80464f7
Show file tree
Hide file tree
Showing 45 changed files with 869 additions and 55 deletions.
154 changes: 154 additions & 0 deletions api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AddIdentity:
auth_AddIdentity_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_01
description: create UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -30,6 +31,7 @@ AddIdentity:
}'
auth_AddIdentity_withValidParameters_used_for_vid_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_02
description: create UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -59,6 +61,7 @@ AddIdentity:
}'
auth_AddIdentity_withValidParameters_new_uin_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_03
description: create UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -88,6 +91,7 @@ AddIdentity:
}'
auth_AddIdentity_withValidParameters_Infant_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_04
description: create Infant UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -117,6 +121,7 @@ AddIdentity:
}'
auth_AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_05
description: create Infant UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -146,6 +151,7 @@ AddIdentity:
}'
auth_AddIdentity_ValidParam_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_06
description: create UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -175,6 +181,7 @@ AddIdentity:
}'
auth_AddIdentity_For_Otp_Auth_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_07
description: create UIN for OTP Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -204,6 +211,7 @@ AddIdentity:
}'
auth_AddIdentity_UIN_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_08
description: create UIN with valid parameters
role: idrepo
restMethod: post
Expand Down Expand Up @@ -233,6 +241,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_EKYC_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_09
description: create UIN for Ekyc Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -262,6 +271,7 @@ AddIdentity:
}'
auth_AddIdentity_InternalOTP_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_10
description: create UIN for Internal OTP Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -291,6 +301,7 @@ AddIdentity:
}'
auth_AddIdentity_EKYCOTP_PRE_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_11
description: create UIN for Ekyc OTP Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -320,6 +331,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_TRE_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_12
description: create UIN for Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -349,6 +361,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_valid_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_13
description: create UIN for Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -378,6 +391,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_14
description: create UIN and use for Lock, Unlock and Bio Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -407,6 +421,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_15
description: create UIN and use for Lock,Unlock and Demo Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -442,6 +457,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_permanent_BioAuth_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_16
description: create UIN and use for Locking and Bio Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -477,6 +493,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_permanent_DemoAuth_withValidParameters_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_17
description: create UIN and use for Locking and Demo Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -512,6 +529,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_unblockUIN_valid_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_18
description: create UIN and use for Unblocking
role: idrepo
restMethod: post
Expand Down Expand Up @@ -547,6 +565,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_LockUIN_valid_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_19
description: create UIN and use for Locking
role: idrepo
restMethod: post
Expand Down Expand Up @@ -582,6 +601,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_LockUIN_For_bio_valid_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_20
description: create UIN and use for Biometric Lock
role: idrepo
restMethod: post
Expand Down Expand Up @@ -616,6 +636,7 @@ AddIdentity:
}'
auth_AddIdentity_EkycDemo_Auth_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_21
description: create UIN and use for Ekyc Demo Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -650,6 +671,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_EKYCUIN_valid_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_22
description: create UIN and use for Ekyc Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -685,6 +707,7 @@ AddIdentity:
}'
auth_AddIdentity_Deactivate_and_auth_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_23
description: create UIN and use for Deactivation and Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -719,6 +742,7 @@ AddIdentity:
}'
auth_AddIdentity_create_vid_using_uin_for_revoke_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_24
description: create UIN to use for VID creation and to Revoke
role: idrepo
restMethod: post
Expand Down Expand Up @@ -753,6 +777,7 @@ AddIdentity:
}'
auth_AddIdentity_for_hotlist_id_service_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_25
description: create UIN for Hotlist
role: idrepo
restMethod: post
Expand Down Expand Up @@ -788,6 +813,7 @@ AddIdentity:

auth_AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_26
description: create UIN for Locking ,Unlocking and Bio Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -822,6 +848,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParams_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_27
description: create UIN for Unlocking and Demo Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -856,6 +883,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_permanent_BioAuth_withValidParams_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_28
description: create UIN for Locking and Bio Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -891,6 +919,7 @@ AddIdentity:
}'
auth_AddIdentity_Lock_permanent_DemoAuth_withValidParams_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_29
description: create UIN and use for Locking and Demo Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -927,6 +956,7 @@ AddIdentity:

auth_AddIdentity_Valid_Parameters_Auth_smoke_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_30
description: create UIN for Authentication
role: idrepo
restMethod: post
Expand Down Expand Up @@ -961,6 +991,7 @@ AddIdentity:
}'
auth_AddIdentity_Positive_demoauth_name_smoke:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_31
description: create UIN and use for Demo Authentication
role: idrepo
regenerateHbs: true
Expand Down Expand Up @@ -997,6 +1028,7 @@ AddIdentity:
}'
auth_AddIdentity_deactivate_UIN_smoke_sid_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_32
description: create UIN and use for Deactivation
role: idrepo
regenerateHbs: true
Expand Down Expand Up @@ -1027,6 +1059,7 @@ AddIdentity:
}'
auth_AddIdentity_hotlist_UIN_forever_smoke_sid_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_33
description: create UIN and use for Hotlisting the UIN
role: idrepo
regenerateHbs: true
Expand Down Expand Up @@ -1115,6 +1148,7 @@ AddIdentity:
#}'
auth_AddIdentity_lock_unlock_forever_smoke_sid_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_34
description: create UIN and use for Locking and Unlocking
role: idrepo
regenerateHbs: true
Expand Down Expand Up @@ -1142,4 +1176,124 @@ AddIdentity:
}'
output: '{
"status":"ACTIVATED"
}'
auth_AddIdentity_with_zero_age_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_35
description: create UIN for authentication with zero age
role: idrepo
restMethod: post
inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: ida/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "2000/01/10",
"postalCode": "14022",
"email": "[email protected]",
"phone": "7019858531",
"mobileno": "7019858531",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'
auth_AddIdentity_with_negative_age_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_36
description: create UIN for authentication with negative age
role: idrepo
restMethod: post
inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: ida/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "2010/12/10",
"postalCode": "14022",
"email": "[email protected]",
"phone": "7019858531",
"mobileno": "7019858531",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'
auth_AddIdentity_with_age_more_than_calculated_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_37
description: create UIN for authentication
role: idrepo
restMethod: post
inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: ida/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "2010/01/14",
"postalCode": "14022",
"email": "[email protected]",
"phone": "7019858531",
"mobileno": "7019858531",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'
auth_AddIdentity_with_age_below_calculated_value_Pos:
endPoint: /idrepository/v1/identity/
uniqueIdentifier: TC_DependentModule_IdRepo_38
description: create UIN for authentication
role: idrepo
restMethod: post
inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$
outputTemplate: ida/AddIdentity/addIdentityResult
input: '{
"value": "$BIOVALUE$",
"id": "mosip.id.create",
"registrationId": "$RID$",
"addressCopy": "Y",
"biometricReferenceId": "23452353",
"UIN": "$UIN$",
"dateOfBirth": "2000/01/14",
"postalCode": "14022",
"email": "[email protected]",
"phone": "7019858531",
"mobileno": "7019858531",
"referenceIdentityNumber": "6789545678878",
"version": "v1",
"introducerRID": "212124324784879",
"introducerUIN": "212124324784879",
"category": "individualBiometrics",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"status":"ACTIVATED"
}'
Loading

0 comments on commit 80464f7

Please sign in to comment.