Skip to content

Commit

Permalink
MOSIP-36647 (#1005)
Browse files Browse the repository at this point in the history
Signed-off-by: Anup Nehe <[email protected]>
  • Loading branch information
anup-nehe authored Nov 28, 2024
1 parent df31128 commit 2951a91
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DeactivateDeviceNegativeScenarios:
endPoint: /v1/partnermanager/devicedetail/deactivate-device
uniqueIdentifier: TC_PMS_DeactivateDevice_01
description: Deactivate Device without Partner authentication
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/DeactivateDevice/DeactivateDevice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DeactivateFtmNegativeScenarios:
endPoint: /v1/partnermanager/ftpchipdetail/deactivate-ftm
uniqueIdentifier: TC_PMS_DeactivateFtmNegativeScenarios_01
description: Deactivate FTM without Partner authentication and expecting an error in the response
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/DeactivateFtm/DeactivateFtm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DeactivateSBIWithAssociatedDevicesNegativeScenarios:
endPoint: /v1/partnermanager/securebiometricinterface/deactivate-sbi
uniqueIdentifier: TC_PMS_DeactivateSBIWithAssociatedDevices_01
description: Deactivate SBI with associated Devices without Partner authentication
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/DeactivateSBIWithAssociatedDevices/DeactivateSBIWithAssociatedDevices
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GetAllActivePolicyGroups:
Pms_GetAllActivePolicyGroups_without_auth:
endPoint: /v1/policymanager/policies/policy-groups
description: Fetching all the active PolicyGroups without token
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllActivePolicyGroups/getAllActivePolicyGroups
Expand All @@ -31,7 +31,7 @@ GetAllActivePolicyGroups:
Pms_GetAllActivePolicyGroups_Invalid_auth:
endPoint: /v1/policymanager/policies/policy-groups
description: Fetching all the active PolicyGroups with invalid token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllActivePolicyGroups/getAllActivePolicyGroups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GetAllApiKeyForAuthPartner:
Pms_GetAllApiKeyForAuthPartner_without_auth:
endPoint: /v1/partnermanager/partners/api-keys-for-auth-partners
description: Fetching all the API Key available for Auth Partner without token
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApiKeyForAuthPartner/getAllApiKeyForAuthPartner
Expand All @@ -31,7 +31,7 @@ GetAllApiKeyForAuthPartner:
Pms_GetAllApiKeyForAuthPartner_invalid_auth:
endPoint: /v1/partnermanager/partners/api-keys-for-auth-partners
description: Fetching all the API Key available for Auth Partner with invalid token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApiKeyForAuthPartner/getAllApiKeyForAuthPartner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GetAllApprovedAuthPartnerPolicy:
Pms_GetAllApprovedAuthPartnerPolicy_without_auth:
endPoint: /v1/partnermanager/partners/auth-partners-policies
description: Fetching all Approved Auth Partner Policies without token
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedAuthPartnerPolicy/getAllApprovedAuthPartnerPolicy
Expand All @@ -19,7 +19,7 @@ GetAllApprovedAuthPartnerPolicy:
Pms_GetAllApprovedAuthPartnerPolicy_invalid_auth:
endPoint: /v1/partnermanager/partners/auth-partners-policies
description: Fetching all Approved Auth Partner Policies with invalid token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedAuthPartnerPolicy/getAllApprovedAuthPartnerPolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GetAllApprovedDeviceProviderIdsNegativeScenarios:
endPoint: /v1/partnermanager/partners/getAllApprovedDeviceProviderIds
uniqueIdentifier: TC_PMS_GetAllApprovedDeviceProviderIds_01
description: Retrieve All Approved Device ProviderIds Without Authentication
role: batch
role: invalid
restMethod: get
inputTemplate: pms/GetAllApprovedDeviceProviderIds/GetAllApprovedDeviceProviderIds
outputTemplate: pms/error
Expand All @@ -20,7 +20,7 @@ GetAllApprovedDeviceProviderIdsNegativeScenarios:
endPoint: /v1/partnermanager/partners/getAllApprovedDeviceProviderIds
uniqueIdentifier: TC_PMS_GetAllApprovedDeviceProviderIds_02
description: Retrieve All Approved Device ProviderIds with invalid access token
role: regproc
role: invalid
restMethod: get
inputTemplate: pms/GetAllApprovedDeviceProviderIds/GetAllApprovedDeviceProviderIds
outputTemplate: pms/error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GetAllApprovedFtmProviderNegativeScenarios:
endPoint: /v1/partnermanager/partners/approved-ftm-provider-ids
uniqueIdentifier: TC_PMS_GetAllApprovedFtmProviderNegativeScenarios_01
description: Retrieve all approved FTM Providers without Partner authentication
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedFtmProvider/GetAllApprovedFtmProvider
Expand All @@ -22,7 +22,7 @@ GetAllApprovedFtmProviderNegativeScenarios:
endPoint: /v1/partnermanager/partners/approved-ftm-provider-ids
uniqueIdentifier: TC_PMS_GetAllApprovedFtmProviderNegativeScenarios_02
description: Retrieve all approved FTM Providers with Invalid access token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedFtmProvider/GetAllApprovedFtmProvider
Expand All @@ -41,7 +41,7 @@ GetAllApprovedFtmProviderNegativeScenarios:
endPoint: /v1/partnermanager/partners/approved-ftm-provider-ids
uniqueIdentifier: TC_PMS_GetAllApprovedFtmProviderNegativeScenarios_03
description: Retrieve all approved FTM Providers before uploading CA certificates
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedFtmProvider/GetAllApprovedFtmProviderBeforeUploadingCertificates
Expand All @@ -60,7 +60,7 @@ GetAllApprovedFtmProviderNegativeScenarios:
endPoint: /v1/partnermanager/partners/approved-ftm-provider-ids
uniqueIdentifier: TC_PMS_GetAllApprovedFtmProviderNegativeScenarios_04
description: Retrieve all approved FTM Providers before uploading Partner certificate
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllApprovedFtmProvider/GetAllApprovedFtmProviderBeforeUploadingCertificates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GetAllApprovedPartnerId:
Pms_GetAllApprovedPartnerId_without_auth:
endPoint: /v1/partnermanager/partners/approved-partner-ids-with-policy-groups
description: Fetching all approved Partner Id without token
role: batch
role: invalid
restMethod: get
inputTemplate: pms/GetAllApprovedPartnerId/getAllApprovedPartnerId
outputTemplate: pms/error
Expand All @@ -18,7 +18,7 @@ GetAllApprovedPartnerId:
Pms_GetAllApprovedPartnerId_invalid_auth:
endPoint: /v1/partnermanager/partners/approved-partner-ids-with-policy-groups
description: Fetching all approved Partner Id with invalid token
role: regproc
role: invalid
restMethod: get
inputTemplate: pms/GetAllApprovedPartnerId/getAllApprovedPartnerId
outputTemplate: pms/error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GetAllCertificate:
Pms_GetAllCertificate_without_auth:
endPoint: /v1/partnermanager/partners/partner-certificates
description: Fetching all the API certificates of the partner without login
role: batch
role: invalid
restMethod: get
inputTemplate: pms/GetAllCertificate/getAllCertificate
outputTemplate: pms/error
Expand All @@ -47,7 +47,7 @@ GetAllCertificate:
Pms_GetAllCertificate_invalid_auth:
endPoint: /v1/partnermanager/partners/partner-certificates
description: Fetching all the API certificates of the partner invalid partner
role: regproc
role: invalid
restMethod: get
inputTemplate: pms/GetAllCertificate/getAllCertificate
outputTemplate: pms/error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GetAllDeviceListMappedWithSbiNegativeScenarios:
endPoint: /v1/partnermanager/securebiometricinterface/sbi-devices/{sbiId}
uniqueIdentifier: TC_PMS_GetAllDeviceListMappedWithSbiNegativeScenarios_01
description: Retrieve all Device list which are mapped with SBI without Authentication
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllDeviceListMappedWithSbi/GetAllDeviceListMappedWithSbi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GetAllOidcClient:
Pms_GetAllOidcClient_without_Auth:
endPoint: /v1/partnermanager/oauth/clients
description: Fetching all OIDC Clients of the loggedin Partner
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllOidcClient/getAllOidcClient
Expand All @@ -19,7 +19,7 @@ GetAllOidcClient:
Pms_GetAllOidcClient_Invalid_Auth:
endPoint: /v1/partnermanager/oauth/clients
description: Fetching all OIDC Clients of the loggedin Partner
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllOidcClient/getAllOidcClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GetAllRequestedPolicies:
Pms_GetAllRequestedPolicies_without_auth:
endPoint: /v1/partnermanager/partners/policy-requests
description: Fetching all the Requested Policies without login token
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllRequestedPolicy/getAllRequestedPolicy
Expand All @@ -19,7 +19,7 @@ GetAllRequestedPolicies:
Pms_GetAllRequestedPolicies_invalid_auth:
endPoint: /v1/partnermanager/partners/policy-requests
description: Fetching all the Requested Policies with invalid role
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetAllRequestedPolicy/getAllRequestedPolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GetListAllFTMChipNegativeScenarios:
endPoint: /v1/partnermanager/partners/ftm-chip-details
uniqueIdentifier: TC_PMS_GetListAllFTMChipNegativeScenarios_01
description: Retrieve all FTM chip details without Partner authentication
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetListAllFTMChip/GetListAllFTMChip
Expand All @@ -21,7 +21,7 @@ GetListAllFTMChipNegativeScenarios:
endPoint: /v1/partnermanager/partners/ftm-chip-details
uniqueIdentifier: TC_PMS_GetListAllFTMChipNegativeScenarios_02
description: Retrieve all FTM chip details with Invalid access token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetListAllFTMChip/GetListAllFTMChip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GetOriginalFtmCertifacteNegativeScenarios:
endPoint: /v1/partnermanager/ftpchipdetail/{ftmId}/original-ftm-certificate
uniqueIdentifier: TC_PMS_GetOriginalFtmCertifacteNegativeScenarios_01
description: Retrieve Original FTM Certifacte without partner Authentication and expecting an error in the response
role: batch
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetOriginalFtmCertifacte/GetOriginalFtmCertifacte
Expand All @@ -22,7 +22,7 @@ GetOriginalFtmCertifacteNegativeScenarios:
endPoint: /v1/partnermanager/ftpchipdetail/{ftmId}/original-ftm-certificate
uniqueIdentifier: TC_PMS_GetOriginalFtmCertifacteNegativeScenarios_02
description: Retrieve Original FTM Certifacte with invalid partner access token and expecting an error in the response
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: get
inputTemplate: pms/GetOriginalFtmCertifacte/GetOriginalFtmCertifacte
Expand Down
2 changes: 1 addition & 1 deletion api-test/src/main/resources/pms/OIDCClient/OIDCClient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ CreateOIDCClient:
Pms_CreateOIDCClient_invalid_auth:
endPoint: /v1/partnermanager/oauth/client
description: Creating OAUTH Client without token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/OIDCClient/oIDCClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ createPublishPolicy:
Pms_PublishPolicy_invalid_auth:
endPoint: /v1/policymanager/policies/{policyId}/group/{policygroupId}/publish
description: Publish The Policy without access token
role: regproc
role: invalid
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/PublishPolicy/publishPolicy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
saveUserConsent:
SaveUserConsent:
Pms_saveUserConsent_AllValid_Smoke:
endPoint: /v1/partnermanager/users/user-consent
role: partnerrevamp
checkErrorsOnlyInResponse: true
restMethod: post
inputTemplate: pms/saveUserConsent/SaveUserConsent
outputTemplate: pms/saveUserConsent/SaveUserConsentResult
inputTemplate: pms/SaveUserConsent/SaveUserConsent
outputTemplate: pms/SaveUserConsent/SaveUserConsentResult
input: '{
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ VerifyPartnersEmail:
}'
Pms_VerifyPartnersEmail_without_auth:
endPoint: /v1/partnermanager/partners/email/verify
role: batch
role: invalid
restMethod: put
inputTemplate: pms/VerifyPartnersEmail/verifyPartnersEmail
outputTemplate: pms/error
Expand Down

0 comments on commit 2951a91

Please sign in to comment.