Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-35416 fix automation failure #924

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
{
"id": "mosip.pms.approve.mapping.device.to.sbi.post",
"version": "1.0",
"requestTime": "{{requestTime}}",
"request": {
"partnerId": "{{partnerId}}",
"sbiId": "{{sbiId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ApproveMappingDeviceToSbi:
inputTemplate: pms/ApproveMappingDeviceToSbi/ApproveMappingDeviceToSbi
outputTemplate: pms/ApproveMappingDeviceToSbi/ApproveMappingDeviceToSbiResult
input: '{
"requestTime": "$TIMESTAMP$",
"partnerId": "111998",
"sbiId": "$ID:SaveSecureBiometricInterfaceCreateDto_DeviceProvider_AllValid_Smoke_sid_id$",
"deviceDetailId": "$ID:SaveDeviceDetails_DeviceProvider_AllValid_Smoke_sid_id$"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"id": "mosip.pms.deactivate.device.post",
"version": "1.0",
"requesttime": "{{requesttime}}",
"request": {
"deviceId": "{{deviceId}}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DeactivateDevice:
inputTemplate: pms/DeactivateDevice/DeactivateDevice
outputTemplate: pms/DeactivateDevice/DeactivateDeviceResult
input: '{
"responseTime": "$TIMESTAMP$",
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
"deviceId": "$ID:SaveDeviceDetails_DeviceProvider_AllValid_Smoke_sid_id$"
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DeactivateOIDCClient:
Pms_DeactivateOIDCClient_all_Valid_Smoke_sid:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -24,7 +24,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Retry_with_same_policy_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -51,7 +51,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_Requesttime_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -77,7 +77,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_client_id_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -103,7 +103,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_clientName_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -129,7 +129,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_status_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -155,7 +155,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_logoUri_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -181,7 +181,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_redirectUris_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -207,7 +207,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_grantTypes_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -233,7 +233,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_clientNameLangMap_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand All @@ -259,7 +259,7 @@ DeactivateOIDCClient:
}'

Pms_DeactivateOIDCClient_Missing_clientAuthMethods_Neg:
endPoint: /v1/partnermanager/oauth/clients/{client_id}
endPoint: /v1/partnermanager/oauth/client/{client_id}
description: Deactivating The Oidc Client
role: partnerrevamp
checkErrorsOnlyInResponse: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{

"id": "mosip.pms.deactivate.sbi.post",
"version": "1.0",
"requesttime": "{{requesttime}}",
"request": {
"sbiId": "{{sbiId}}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DeactivateSBIWithAssociatedDevices:
inputTemplate: pms/DeactivateSBIWithAssociatedDevices/DeactivateSBIWithAssociatedDevices
outputTemplate: pms/DeactivateSBIWithAssociatedDevices/DeactivateSBIWithAssociatedDevicesResult
input: '{
"requesttime": "$TIMESTAMP$",
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
"sbiId": "$ID:SaveSecureBiometricInterfaceCreateDto_DeviceProvider_AllValid_Smoke_sid_id$"
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
{{#unless @last}},{{/unless}}
{{/each}}
],
"optionalFilters": [],
"purpose": "{{purpose}}"
},
"requesttime": "2018-12-10T06:12:52.994Z",
"requesttime": "{{requesttime}}",
"version": "string"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ DeviceSubTypeFilter:
outputTemplate: pms/FilterAPIs/DeviceSubTypeFilter/DeviceSubTypeFilterResult
input: '{
"filters": [{
"columnName": "code",
"type": "all",
"columnName": "deviceType",
"type": "unique",
"text": "Finger"
}],
"purpose": "REGISTRATION",
Expand All @@ -17,18 +17,9 @@ DeviceSubTypeFilter:
output: '{
"filters": [
{
"fieldID": "code",
"fieldID": "deviceType",
"fieldValue": "Finger",
"fieldCode": "Finger"
}
]
}'
output: ' {
"filters": [
{
"fieldID": "code",
"fieldValue": "Finger",
"fieldCode": "Finger"
"fieldCode": "Single"
}
]
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{{#unless @last}},{{/unless}}
{{/each}}
],
"optionalFilters": [],
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
"purpose": "{{purpose}}"
},
"requesttime": "{{requesttime}}",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,37 +1,26 @@
DeviceTypeFilter:
Pms_DeviceTypeFilter_All_Valid_Smoke:
endPoint: /v1/partnermanager/devicedetail/deviceSubType/filtervalues
endPoint: /v1/partnermanager/devicedetail/deviceType/filtervalues
role: partnerrevamp
restMethod: post
inputTemplate: pms/FilterAPIs/DeviceTypeFilter/DeviceTypeFilter
outputTemplate: pms/FilterAPIs/DeviceTypeFilter/DeviceTypeFilterResult
input: '{
"filters": [
{
"columnName": "code",
"type": "all",
"text": "Finger"
}
],
"purpose": "REGISTRATION",
"requesttime": "$TIMESTAMP$"
}'
"filters": [{
"columnName": "name",
"type": "unique",
"text": ""
}],
"purpose": "REGISTRATION",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "code",
"fieldValue": "Finger",
"fieldCode": "Finger"
"fieldID": "name",
"fieldValue": "Face",
"fieldCode": "Face"
}
]
}'
output: ' {
"filters": [
{
"fieldID": "code",
"fieldValue": "Finger",
"fieldCode": "Finger"
}
]
}'

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"sbiId":"{{sbiId}}";
"sbiId":"{{sbiId}}"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GetConfiguration:
Partner_GetConfiguration_allValid_smoke:
endPoint: /v1/partnermanager/partners/configs
endPoint: /v1/partnermanager/users/configs
role: partner
checkErrorsOnlyInResponse: true
restMethod: get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"id": "mosip.pms.original.partner.certificate.get",
"version": "1.0",
"requesttime": "{{requesttime}}",
"partnerId": "{{partnerId}}"
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ GetOriginalPartnerCertificates:
inputTemplate: pms/GetOriginalPartnerCertificates/GetOriginalPartnerCertificates
outputTemplate: pms/GetOriginalPartnerCertificates/GetOriginalPartnerCertificatesResult
input: '{
"requesttime": "$TIMESTAMP$",
"partnerId": "111999"
}'
output: '{
Expand All @@ -21,6 +22,7 @@ GetOriginalPartnerCertificates:
inputTemplate: pms/GetOriginalPartnerCertificates/GetOriginalPartnerCertificates
outputTemplate: pms/GetOriginalPartnerCertificates/GetOriginalPartnerCertificatesResult
input: '{
"requesttime": "$TIMESTAMP$",
"partnerId": "111998"
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GetUserConsent:
Pms_GetUserConsent_allValid_smoke:
endPoint: /v1/partnermanager/partners/isUserConsentGiven
endPoint: /v1/partnermanager/users/user-consent
role: partnerrevamp
checkErrorsOnlyInResponse: true
restMethod: get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"id": "mosip.pms.add.inactive.mapping.device.to.sbi.id.post",
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
"version": "1.0",
"requestTime": "{{requestTime}}",
"metadata": {},
"request": {
"partnerId": "{{partnerId}}",
"sbiId": "{{sbiId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ InactiveMappingDeviceToSbi:
inputTemplate: pms/InactiveMappingDeviceToSbi/InactiveMappingDeviceToSbi
outputTemplate: pms/InactiveMappingDeviceToSbi/InactiveMappingDeviceToSbiResult
input: '{
"requestTime": "$TIMESTAMP$",
anup-nehe marked this conversation as resolved.
Show resolved Hide resolved
"partnerId": "111998",
"sbiId": "$ID:SaveSecureBiometricInterfaceCreateDto_DeviceProvider_AllValid_Smoke_sid_id$",
"deviceDetailId": "$ID:SaveDeviceDetails_DeviceProvider_AllValid_Smoke_sid_id$"
Expand Down
Loading
Loading