Skip to content

Commit

Permalink
MOSIP-28924
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohandey committed Aug 29, 2023
1 parent 315cc22 commit aff9e19
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AidGetIndividualId:
MobileId_AidGetIndividualId_Getting_With_Valid_UIN_All:
endPoint: /residentmobileapp/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AidGetIndividualId/aidGetIndividualId
outputTemplate: mobileId/AidGetIndividualId/aidGetIndividualIdResult
Expand All @@ -19,9 +20,7 @@ AidGetIndividualId:
output: '{
"aidStatus": "PROCESSED",
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult",
"maskedEmail": "[email protected]"
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult"
}
}'

Expand Down Expand Up @@ -50,9 +49,7 @@ AidGetIndividualId:
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult",
"maskedEmail": "[email protected]"
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult"
}
}'

Expand All @@ -76,14 +73,11 @@ AidGetIndividualId:
output: '{
"errors": [
{
"errorCode": "RES-SER-422",
"errorMessage": "OTP is invalid"
"errorCode": "RES-SER-422"
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult",
"maskedEmail": "[email protected]"
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult"
}
}'

Expand All @@ -107,9 +101,7 @@ AidGetIndividualId:
output: '{
"aidStatus": "PROCESSED",
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult",
"maskedEmail": "[email protected]"
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult"
}
}'

Expand All @@ -133,13 +125,10 @@ AidGetIndividualId:
output: '{
"errors": [
{
"errorCode": "RES-SER-457",
"errorMessage": "Invalid Input Parameter- individualId"
"errorCode": "RES-SER-457"
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult",
"maskedEmail": "[email protected]"
"sendOtpResTemplate":"mobileId/SendOTPUIN/individualIdOtpResult"
}
}'
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AuthLock:
MobileId_AuthLock_Valid_UIN_All:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/AuthLock/createAuthLockResult
Expand All @@ -21,14 +22,14 @@ AuthLock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_AuthLock_InValid_Otp_All:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/error
Expand Down Expand Up @@ -60,6 +61,7 @@ AuthLock:
MobileId_AuthLock_with_invalidUIN_Valid_Otp_sid:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/error
Expand Down Expand Up @@ -91,6 +93,7 @@ AuthLock:
MobileId_AuthLock_Valid_VID_All:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/AuthLock/createAuthLockResult
Expand All @@ -110,14 +113,14 @@ AuthLock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_AuthLock_with_invalidVID_Valid_Otp:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/error
Expand Down Expand Up @@ -149,6 +152,7 @@ AuthLock:
MobileId_AuthLock_invalidVID_Valid_Otp:
endPoint: /residentmobileapp/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthLock/createAuthLock
outputTemplate: mobileId/error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
{
"id": "$IGNORE$",
"version": "$IGNORE$",
"responsetime": "$IGNORE$",
"metadata": "$IGNORE$",
"response": {
"status": "$IGNORE$",
"message": "{{message}}"
},
"errors": "$IGNORE$"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AuthUnlock:
MobileId_AuthUnLock_Valid_UIN_All:
endPoint: /residentmobileapp/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthUnLock/createAuthUnLock
outputTemplate: mobileId/AuthUnLock/createAuthUnLockResult
Expand All @@ -22,14 +23,14 @@ AuthUnlock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_AuthUnLock_Valid_UIN_With_VID_All:
endPoint: /residentmobileapp/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthUnLock/createAuthUnLock
outputTemplate: mobileId/AuthUnLock/createAuthUnLockResult
Expand All @@ -50,14 +51,14 @@ AuthUnlock:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_AuthUnLock_With_InValid_OTP_All:
endPoint: /residentmobileapp/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthUnLock/createAuthUnLock
outputTemplate: mobileId/error
Expand Down Expand Up @@ -90,6 +91,7 @@ AuthUnlock:
MobileId_AuthUnLock_InValid_OTP_With_VID_All:
endPoint: /residentmobileapp/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/AuthUnLock/createAuthUnLock
outputTemplate: mobileId/error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"id": "$IGNORE$",
"version": "$IGNORE$",
"responsetime": "$IGNORE$",
"metadata": "$IGNORE$",
"response": {
"status": "$IGNORE$",
"message": "{{message}}"
},
"errors": "$IGNORE$"

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ GenerateVID:
MobileId_Generate_Perpetual_VID_Valid_Smoke_sid:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/GenerateVID/createGenerateVIDResult
Expand All @@ -21,15 +22,14 @@ GenerateVID:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_Generate_Perpetual_VID_InValid_Otp_sid:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/error
Expand All @@ -55,13 +55,13 @@ GenerateVID:
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
MobileId_Generate_Perpetual_VID_with_InvalidUIN_Valid_Otp_sid:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/error
Expand All @@ -87,14 +87,14 @@ GenerateVID:
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'

MobileId_Generate_Temporary_VID_Valid_Smoke_sid:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/GenerateVID/createGenerateVIDResult
Expand All @@ -114,16 +114,15 @@ GenerateVID:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'

MobileId_Generate_Perpetual_VID_Invalid_TransactionId_Neg:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/error
Expand All @@ -149,14 +148,14 @@ GenerateVID:
}
],
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'

MobileId_Generate_Perpetual_VID_Binding_Valid_Smoke_sid:
endPoint: /residentmobileapp/vid
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: mobileId/GenerateVID/createGenerateVID
outputTemplate: mobileId/GenerateVID/createGenerateVIDResult
Expand All @@ -176,9 +175,7 @@ GenerateVID:
}
}'
output: '{
"message": "Notification has been sent to the provided contact detail(s)",
"sendOtpResp":{
"maskedMobile": "XXXXXX3210",
"sendOtpResTemplate":"mobileId/SendOTP/createSendOTPResult"
}
}'
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
{
"id": "mosip.identity.otp.internal",
"response": {
"maskedMobile": "$IGNORE$"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
{
"id": "mosip.identity.otp.internal",
"version": "1.0",
"response": {
"maskedMobile": "{{maskedMobile}}"
}
}

0 comments on commit aff9e19

Please sign in to comment.