Skip to content

Commit

Permalink
[INJIMOB-1666] Use /v1/mimoto uri for all mimoto apis (#343)
Browse files Browse the repository at this point in the history
* [INJIMOB-1666] - use /v1/mimoto for mimoto apis.

Signed-off-by: Swati Goel <[email protected]>

* [INJIMOB-1666] - use /v1/mimoto for api tests

Signed-off-by: Swati Goel <[email protected]>

---------

Signed-off-by: Swati Goel <[email protected]>
  • Loading branch information
swatigoel committed Jul 25, 2024
1 parent 975f32f commit d5daf7a
Show file tree
Hide file tree
Showing 21 changed files with 279 additions and 279 deletions.
2 changes: 1 addition & 1 deletion apitest/src/main/resources/config/Kernel.properties
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ auditActuatorEndpoint=/v1/auditmanager/actuator/info
validateBindingEndpoint=ida-binding
esignetWellKnownEndPoint=/v1/esignet/oidc/.well-known/openid-configuration
signupSettingsEndPoint=/v1/signup/settings
actuatorMimotoEndpoint=/residentmobileapp/actuator/env
actuatorMimotoEndpoint=/v1/mimoto/actuator/env



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AidGetIndividualId:
Mimoto_AidGetIndividualId_Getting_With_Valid_UIN_All:
endPoint: /residentmobileapp/aid/get-individual-id
endPoint: /v1/mimoto/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -14,7 +14,7 @@ AidGetIndividualId:
"aid": "$ID:AddIdentity_withValidParameters_smoke_Pos_RID$",
"transactionID": "$TRANSACTIONID$",
"sendOtpReqTemplate": "mimoto/SendOTPUIN/individualIdOtp",
"sendOtpEndPoint": "/residentmobileapp/req/individualId/otp"
"sendOtpEndPoint": "/v1/mimoto/req/individualId/otp"
}
}'
output: '{
Expand All @@ -25,7 +25,7 @@ AidGetIndividualId:
}'

Mimoto_AidGetIndividualId_Getting_With_Invalid_AID_Neg:
endPoint: /residentmobileapp/aid/get-individual-id
endPoint: /v1/mimoto/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -39,7 +39,7 @@ AidGetIndividualId:
"aid": "$ID:AddIdentity_withValidParameters_smoke_Pos_RID$",
"transactionID": "$TRANSACTIONID$",
"sendOtpReqTemplate": "mimoto/SendOTPUIN/individualIdOtp",
"sendOtpEndPoint": "/residentmobileapp/req/individualId/otp"
"sendOtpEndPoint": "/v1/mimoto/req/individualId/otp"
}
}'
output: '{
Expand All @@ -54,7 +54,7 @@ AidGetIndividualId:
}'

Mimoto_AidGetIndividualId_Getting_With_Invalid_Otp_Neg:
endPoint: /residentmobileapp/aid/get-individual-id
endPoint: /v1/mimoto/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -68,7 +68,7 @@ AidGetIndividualId:
"aid": "$ID:AddIdentity_withValidParameters_smoke_Pos_RID$",
"transactionID": "$TRANSACTIONID$",
"sendOtpReqTemplate": "mimoto/SendOTPUIN/individualIdOtp",
"sendOtpEndPoint": "/residentmobileapp/req/individualId/otp"
"sendOtpEndPoint": "/v1/mimoto/req/individualId/otp"
}
}'
output: '{
Expand All @@ -83,7 +83,7 @@ AidGetIndividualId:
}'

Mimoto_AidGetIndividualId_Getting_With_Valid_Otp_All:
endPoint: /residentmobileapp/aid/get-individual-id
endPoint: /v1/mimoto/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -97,7 +97,7 @@ AidGetIndividualId:
"aid": "$ID:AddIdentity_withValidParameters_smoke_Pos_RID$",
"transactionID": "$TRANSACTIONID$",
"sendOtpReqTemplate": "mimoto/SendOTPUIN/individualIdOtp",
"sendOtpEndPoint": "/residentmobileapp/req/individualId/otp"
"sendOtpEndPoint": "/v1/mimoto/req/individualId/otp"
}
}'
output: '{
Expand All @@ -108,7 +108,7 @@ AidGetIndividualId:
}'

Mimoto_AidGetIndividualId_Getting_With_Invalid_lenght_Of_AID_Neg:
endPoint: /residentmobileapp/aid/get-individual-id
endPoint: /v1/mimoto/aid/get-individual-id
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -122,7 +122,7 @@ AidGetIndividualId:
"aid": "$ID:AddIdentity_withValidParameters_smoke_Pos_RID$",
"transactionID": "$TRANSACTIONID$",
"sendOtpReqTemplate": "mimoto/SendOTPUIN/individualIdOtp",
"sendOtpEndPoint": "/residentmobileapp/req/individualId/otp"
"sendOtpEndPoint": "/v1/mimoto/req/individualId/otp"
}
}'
output: '{
Expand Down
24 changes: 12 additions & 12 deletions apitest/src/main/resources/mimoto/AuthLock/createAuthLock.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AuthLock:
Mimoto_AuthLock_Valid_UIN_All:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -18,7 +18,7 @@ AuthLock:
"individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$",
"individualIdType": "UIN",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -27,7 +27,7 @@ AuthLock:
}
}'
Mimoto_AuthLock_InValid_Otp_All:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -45,7 +45,7 @@ AuthLock:
"individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$",
"individualIdType": "UIN",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -59,7 +59,7 @@ AuthLock:
}
}'
Mimoto_AuthLock_with_invalidUIN_Valid_Otp_sid:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -77,7 +77,7 @@ AuthLock:
"individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$",
"individualIdType": "UIN",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -91,7 +91,7 @@ AuthLock:
}
}'
Mimoto_AuthLock_Valid_VID_All:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -109,7 +109,7 @@ AuthLock:
"individualId": "$ID:Generate_Perpetual_VID_Valid_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -118,7 +118,7 @@ AuthLock:
}
}'
Mimoto_AuthLock_with_invalidVID_Valid_Otp:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -136,7 +136,7 @@ AuthLock:
"individualId": "$ID:Generate_Perpetual_VID_Valid_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -150,7 +150,7 @@ AuthLock:
}
}'
Mimoto_AuthLock_invalidVID_Valid_Otp:
endPoint: /residentmobileapp/req/auth/lock
endPoint: /v1/mimoto/req/auth/lock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -168,7 +168,7 @@ AuthLock:
"individualId": "$ID:Generate_Perpetual_VID_Valid_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AuthUnlock:
Mimoto_AuthUnLock_Valid_UIN_All:
endPoint: /residentmobileapp/req/auth/unlock
endPoint: /v1/mimoto/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -19,7 +19,7 @@ AuthUnlock:
"individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$",
"individualIdType": "UIN",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -28,7 +28,7 @@ AuthUnlock:
}
}'
Mimoto_AuthUnLock_Valid_UIN_With_VID_All:
endPoint: /residentmobileapp/req/auth/unlock
endPoint: /v1/mimoto/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -47,7 +47,7 @@ AuthUnlock:
"individualId": "$ID:Generate_Perpetual_VID_Valid_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -56,7 +56,7 @@ AuthUnlock:
}
}'
Mimoto_AuthUnLock_With_InValid_OTP_All:
endPoint: /residentmobileapp/req/auth/unlock
endPoint: /v1/mimoto/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -75,7 +75,7 @@ AuthUnlock:
"individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$",
"individualIdType": "UIN",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand All @@ -89,7 +89,7 @@ AuthUnlock:
}
}'
Mimoto_AuthUnLock_InValid_OTP_With_VID_All:
endPoint: /residentmobileapp/req/auth/unlock
endPoint: /v1/mimoto/req/auth/unlock
role: resident
checkErrorsOnlyInResponse: true
restMethod: post
Expand All @@ -108,7 +108,7 @@ AuthUnlock:
"individualId": "$ID:Generate_Perpetual_VID_Valid_Smoke_sid_vid$",
"individualIdType": "VID",
"sendOtpReqTemplate": "mimoto/SendOTP/createSendOTP",
"sendOtpEndPoint": "/residentmobileapp/req/otp"
"sendOtpEndPoint": "/v1/mimoto/req/otp"
}
}'
output: '{
Expand Down
Loading

0 comments on commit d5daf7a

Please sign in to comment.