From e50d1b1eaeadaa5792ab11ed97a610bad5be640a Mon Sep 17 00:00:00 2001 From: Anup Nehe Date: Tue, 29 Aug 2023 06:31:16 +0530 Subject: [PATCH 1/4] MOSIP-29080 --- .../AddLostUinApplication.yml | 3 +- .../addUpdateRegistrationResult.hbs | 1 - .../BookMultipleAppointment.yml | 7 +-- .../cancelApplicationsAppointmentResult.hbs | 3 - .../preReg/CopyDocument/CopyDocument.yml | 9 +-- .../DeleteLostUinApplication.yml | 3 +- .../DeletePreRegistration.yml | 3 +- .../FetchApplicationByPrid.yml | 3 +- .../FetchAppointmentDetailsByPrid.yml | 3 +- .../GetAllApplications/GetAllApplications.yml | 3 +- .../GetAllDocForPrId/GetAllDocForPrId.yml | 3 +- .../GetApplicationStatusWithPrId.yml | 6 +- .../GetApplicationWithPrId.yml | 3 +- .../GetAppointmentDetails.yml | 3 +- .../GetAvailableSlotForRegCentreId.yml | 3 +- .../GetPRIDByDateRange/GetPRIDByDateRange.yml | 45 +++++--------- .../GetPRIDForRegCent/GetPRIDForRegCent.yml | 3 +- .../GetPreRegInfoByPrid.yml | 3 +- .../GetSpecificDocumentforaPRID.yml | 6 +- .../GetUpdatedDateTimeByPrid.yml | 3 +- .../preReg/Transliteration/Translate.yml | 6 +- .../preReg/UpdateDocRefID/UpdateDocRefID.yml | 11 ++-- .../UpdateDocRefID/updateDocRefIDResult.hbs | 1 - .../UpdatePreRegStatus/updatePreRegStatus.yml | 14 ++--- .../updatePreRegStatusResult.hbs | 1 - .../UpdatePreregistration.yml | 30 +++------ .../preReg/ValidateOtp/ValidateOtp.yml | 4 +- .../preReg/ValidateOtp/validateOtpResult.hbs | 3 - .../bookAppointment/bookAppointment.yml | 51 ++++++--------- .../bookAppointment/bookAppointmentResult.hbs | 4 -- .../bookAppointmentByPRID.yml | 62 +++++++------------ .../bookAppointmentByPRIDResult.hbs | 7 --- .../preReg/createPrereg/createPrereg.yml | 30 +++------ 33 files changed, 111 insertions(+), 229 deletions(-) diff --git a/automationtests/src/main/resources/preReg/AddLostUinApplication/AddLostUinApplication.yml b/automationtests/src/main/resources/preReg/AddLostUinApplication/AddLostUinApplication.yml index 8ff226d1a4b..36333ffd09b 100644 --- a/automationtests/src/main/resources/preReg/AddLostUinApplication/AddLostUinApplication.yml +++ b/automationtests/src/main/resources/preReg/AddLostUinApplication/AddLostUinApplication.yml @@ -32,8 +32,7 @@ AddLostUinApplication: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_014", - "message": "Lang code is invalid" + "errorCode": "PRG_CORE_REQ_014" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/AddUpdateRegistration/addUpdateRegistrationResult.hbs b/automationtests/src/main/resources/preReg/AddUpdateRegistration/addUpdateRegistrationResult.hbs index ee436d9403f..c9bc8b39df3 100644 --- a/automationtests/src/main/resources/preReg/AddUpdateRegistration/addUpdateRegistrationResult.hbs +++ b/automationtests/src/main/resources/preReg/AddUpdateRegistration/addUpdateRegistrationResult.hbs @@ -1,7 +1,6 @@ { "response": { "applicationStatusCode": "{{applicationStatusCode}}", - "langCode": "$IGNORE$", "bookingType": "{{bookingType}}" } } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/BookMultipleAppointment/BookMultipleAppointment.yml b/automationtests/src/main/resources/preReg/BookMultipleAppointment/BookMultipleAppointment.yml index 75cf8ac3ab7..540130b20f6 100644 --- a/automationtests/src/main/resources/preReg/BookMultipleAppointment/BookMultipleAppointment.yml +++ b/automationtests/src/main/resources/preReg/BookMultipleAppointment/BookMultipleAppointment.yml @@ -2,6 +2,7 @@ BookMultipleAppointment: Prereg_BookMultipleAppointment_All_Valid_Smoke: endPoint: /preregistration/v1/appointment role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/BookMultipleAppointment/bookMultipleAppointment outputTemplate: preReg/BookMultipleAppointment/bookMultipleAppointmentResult @@ -28,10 +29,4 @@ BookMultipleAppointment: }] }' output: '{ -"bookingStatusResponse": [{ - "bookingMessage": "Appointment booked successfully" - }] -"bookingStatusResponse": [{ - "bookingMessage": "Appointment booked successfully" - }] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/CancelApplicationsAppointment/cancelApplicationsAppointmentResult.hbs b/automationtests/src/main/resources/preReg/CancelApplicationsAppointment/cancelApplicationsAppointmentResult.hbs index ba212b70ab8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/CancelApplicationsAppointment/cancelApplicationsAppointmentResult.hbs +++ b/automationtests/src/main/resources/preReg/CancelApplicationsAppointment/cancelApplicationsAppointmentResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/CopyDocument/CopyDocument.yml b/automationtests/src/main/resources/preReg/CopyDocument/CopyDocument.yml index 3ab1f8dadec..6a94b624d06 100644 --- a/automationtests/src/main/resources/preReg/CopyDocument/CopyDocument.yml +++ b/automationtests/src/main/resources/preReg/CopyDocument/CopyDocument.yml @@ -26,8 +26,7 @@ CopyDocument: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_017", - "message": "Document Category code is invalid" + "errorCode": "PRG_CORE_REQ_017" } ] }' @@ -44,8 +43,7 @@ CopyDocument: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_017", - "message": "Document Category code is invalid" + "errorCode": "PRG_CORE_REQ_017" } ] }' @@ -62,8 +60,7 @@ CopyDocument: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/DeleteLostUinApplication/DeleteLostUinApplication.yml b/automationtests/src/main/resources/preReg/DeleteLostUinApplication/DeleteLostUinApplication.yml index 5b79f404c9a..246f548844c 100644 --- a/automationtests/src/main/resources/preReg/DeleteLostUinApplication/DeleteLostUinApplication.yml +++ b/automationtests/src/main/resources/preReg/DeleteLostUinApplication/DeleteLostUinApplication.yml @@ -24,8 +24,7 @@ DeleteLostUinApplication: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No record found for the requested user id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/DeletePreRegistration/DeletePreRegistration.yml b/automationtests/src/main/resources/preReg/DeletePreRegistration/DeletePreRegistration.yml index cf3f31291fa..af6cb0780be 100644 --- a/automationtests/src/main/resources/preReg/DeletePreRegistration/DeletePreRegistration.yml +++ b/automationtests/src/main/resources/preReg/DeletePreRegistration/DeletePreRegistration.yml @@ -23,8 +23,7 @@ DeletePreRegistration: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No record found for the requested user id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/FetchApplicationByPrid/FetchApplicationByPrid.yml b/automationtests/src/main/resources/preReg/FetchApplicationByPrid/FetchApplicationByPrid.yml index bf5a3fd0d36..b6adbbaa5d8 100644 --- a/automationtests/src/main/resources/preReg/FetchApplicationByPrid/FetchApplicationByPrid.yml +++ b/automationtests/src/main/resources/preReg/FetchApplicationByPrid/FetchApplicationByPrid.yml @@ -23,8 +23,7 @@ FetchApplicationByPrid: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/FetchAppointmentDetailsByPrid/FetchAppointmentDetailsByPrid.yml b/automationtests/src/main/resources/preReg/FetchAppointmentDetailsByPrid/FetchAppointmentDetailsByPrid.yml index 13f7b12a6bc..c5f28547e5b 100644 --- a/automationtests/src/main/resources/preReg/FetchAppointmentDetailsByPrid/FetchAppointmentDetailsByPrid.yml +++ b/automationtests/src/main/resources/preReg/FetchAppointmentDetailsByPrid/FetchAppointmentDetailsByPrid.yml @@ -23,8 +23,7 @@ FetchAppointmentDetailsByPrid: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetAllApplications/GetAllApplications.yml b/automationtests/src/main/resources/preReg/GetAllApplications/GetAllApplications.yml index f6a3601d62e..f433644fc86 100644 --- a/automationtests/src/main/resources/preReg/GetAllApplications/GetAllApplications.yml +++ b/automationtests/src/main/resources/preReg/GetAllApplications/GetAllApplications.yml @@ -23,8 +23,7 @@ GetAllApplications: output: '{ "errors": [ { - "errorCode": "PRG_APP_016", - "message": "Invalid booking type" + "errorCode": "PRG_APP_016" } ] }' diff --git a/automationtests/src/main/resources/preReg/GetAllDocForPrId/GetAllDocForPrId.yml b/automationtests/src/main/resources/preReg/GetAllDocForPrId/GetAllDocForPrId.yml index 9ab1a0991a3..02e97b7ea52 100644 --- a/automationtests/src/main/resources/preReg/GetAllDocForPrId/GetAllDocForPrId.yml +++ b/automationtests/src/main/resources/preReg/GetAllDocForPrId/GetAllDocForPrId.yml @@ -25,8 +25,7 @@ GetAllDocForPrId: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml b/automationtests/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml index 85fed462a44..5804173f01e 100644 --- a/automationtests/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml +++ b/automationtests/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml @@ -23,8 +23,7 @@ GetApplicationStatusWithPrId: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' @@ -40,8 +39,7 @@ GetApplicationStatusWithPrId: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetApplicationWithPrId/GetApplicationWithPrId.yml b/automationtests/src/main/resources/preReg/GetApplicationWithPrId/GetApplicationWithPrId.yml index f9d1c11316d..a6d6ed9b187 100644 --- a/automationtests/src/main/resources/preReg/GetApplicationWithPrId/GetApplicationWithPrId.yml +++ b/automationtests/src/main/resources/preReg/GetApplicationWithPrId/GetApplicationWithPrId.yml @@ -11,8 +11,7 @@ GetApplicationWithPrId: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetAppointmentDetails/GetAppointmentDetails.yml b/automationtests/src/main/resources/preReg/GetAppointmentDetails/GetAppointmentDetails.yml index 13a46e1d18d..d4ef1efeb83 100644 --- a/automationtests/src/main/resources/preReg/GetAppointmentDetails/GetAppointmentDetails.yml +++ b/automationtests/src/main/resources/preReg/GetAppointmentDetails/GetAppointmentDetails.yml @@ -35,8 +35,7 @@ GetAppointmentDetails: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetAvailableSlotForRegCentreId/GetAvailableSlotForRegCentreId.yml b/automationtests/src/main/resources/preReg/GetAvailableSlotForRegCentreId/GetAvailableSlotForRegCentreId.yml index 4842094be79..9405621a418 100644 --- a/automationtests/src/main/resources/preReg/GetAvailableSlotForRegCentreId/GetAvailableSlotForRegCentreId.yml +++ b/automationtests/src/main/resources/preReg/GetAvailableSlotForRegCentreId/GetAvailableSlotForRegCentreId.yml @@ -23,8 +23,7 @@ GetAvailableSlotForRegCentreId: output: '{ "errors": [ { - "errorCode": "KER-MSD-215", - "message": "Registration Center not found" + "errorCode": "KER-MSD-215" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetPRIDByDateRange/GetPRIDByDateRange.yml b/automationtests/src/main/resources/preReg/GetPRIDByDateRange/GetPRIDByDateRange.yml index 366ba1d8609..e0e56236373 100644 --- a/automationtests/src/main/resources/preReg/GetPRIDByDateRange/GetPRIDByDateRange.yml +++ b/automationtests/src/main/resources/preReg/GetPRIDByDateRange/GetPRIDByDateRange.yml @@ -33,8 +33,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -55,8 +54,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -77,8 +75,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -99,8 +96,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_002", - "message": "Request version is invalid" + "errorCode": "PRG_PAM_CORE_002" } ] }' @@ -121,8 +117,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_002", - "message": "Request version is invalid" + "errorCode": "PRG_PAM_CORE_002" } ] }' @@ -143,8 +138,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_002", - "message": "Request version is invalid" + "errorCode": "PRG_PAM_CORE_002" } ] }' @@ -228,8 +222,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032", - "message": "Record not found for date range and reg center id" + "errorCode": "PRG_BOOK_RCI_032" } ] }' @@ -250,8 +243,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_DATA_SYNC_009", - "message": "registration center id is invalid" + "errorCode": "PRG_DATA_SYNC_009" } ] }' @@ -272,8 +264,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_DATA_SYNC_009", - "message": "registration center id is invalid" + "errorCode": "PRG_DATA_SYNC_009" } ] }' @@ -294,8 +285,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_019", - "message": "Invalid date time format" + "errorCode": "PRG_CORE_REQ_019" } ] }' @@ -316,8 +306,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_019", - "message": "Invalid date time format" + "errorCode": "PRG_CORE_REQ_019" } ] }' @@ -338,8 +327,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_019", - "message": "Invalid date time format" + "errorCode": "PRG_CORE_REQ_019" } ] }' @@ -360,8 +348,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032", - "message": "Record not found for date range and reg center id" + "errorCode": "PRG_BOOK_RCI_032" } ] }' @@ -382,8 +369,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032", - "message": "Record not found for date range and reg center id" + "errorCode": "PRG_BOOK_RCI_032" } ] }' @@ -404,8 +390,7 @@ GetPRIDByDateRange: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_019", - "message": "Invalid date time format" + "errorCode": "PRG_CORE_REQ_019" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetPRIDForRegCent/GetPRIDForRegCent.yml b/automationtests/src/main/resources/preReg/GetPRIDForRegCent/GetPRIDForRegCent.yml index 34a6e16ab64..0d317e60b4e 100644 --- a/automationtests/src/main/resources/preReg/GetPRIDForRegCent/GetPRIDForRegCent.yml +++ b/automationtests/src/main/resources/preReg/GetPRIDForRegCent/GetPRIDForRegCent.yml @@ -23,8 +23,7 @@ GetPRIDForRegCent: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032", - "message": "Record not found for date range and reg center id" + "errorCode": "PRG_BOOK_RCI_032" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetPreRegInfoByPrid/GetPreRegInfoByPrid.yml b/automationtests/src/main/resources/preReg/GetPreRegInfoByPrid/GetPreRegInfoByPrid.yml index 96d3ea71729..dfbc75eb365 100644 --- a/automationtests/src/main/resources/preReg/GetPreRegInfoByPrid/GetPreRegInfoByPrid.yml +++ b/automationtests/src/main/resources/preReg/GetPreRegInfoByPrid/GetPreRegInfoByPrid.yml @@ -27,8 +27,7 @@ GetPreRegInfoByPrid: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetSpecificDocumentforaPRID/GetSpecificDocumentforaPRID.yml b/automationtests/src/main/resources/preReg/GetSpecificDocumentforaPRID/GetSpecificDocumentforaPRID.yml index ea03f2a7382..ff67fcaa8c2 100644 --- a/automationtests/src/main/resources/preReg/GetSpecificDocumentforaPRID/GetSpecificDocumentforaPRID.yml +++ b/automationtests/src/main/resources/preReg/GetSpecificDocumentforaPRID/GetSpecificDocumentforaPRID.yml @@ -26,8 +26,7 @@ GetSpecificDocumentforaPRID: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' @@ -44,8 +43,7 @@ GetSpecificDocumentforaPRID: output: '{ "errors": [ { - "errorCode": "PRG_PAM_DOC_005", - "message": "Documents is not found for the requested pre-registration id" + "errorCode": "PRG_PAM_DOC_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/GetUpdatedDateTimeByPrid/GetUpdatedDateTimeByPrid.yml b/automationtests/src/main/resources/preReg/GetUpdatedDateTimeByPrid/GetUpdatedDateTimeByPrid.yml index 05f78f8eaba..ac4ba56f9cf 100644 --- a/automationtests/src/main/resources/preReg/GetUpdatedDateTimeByPrid/GetUpdatedDateTimeByPrid.yml +++ b/automationtests/src/main/resources/preReg/GetUpdatedDateTimeByPrid/GetUpdatedDateTimeByPrid.yml @@ -45,8 +45,7 @@ GetUpdatedDateTimeByPrid: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005", - "message": "No data found for the requested pre-registration id" + "errorCode": "PRG_PAM_APP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/Transliteration/Translate.yml b/automationtests/src/main/resources/preReg/Transliteration/Translate.yml index 67e71f9bf40..c9c78174036 100644 --- a/automationtests/src/main/resources/preReg/Transliteration/Translate.yml +++ b/automationtests/src/main/resources/preReg/Transliteration/Translate.yml @@ -38,8 +38,7 @@ Transliteration: output: '{ "errors": [ { - "errorCode": "PRG_TRL_APP_002", - "message": "Unsupported language" + "errorCode": "PRG_TRL_APP_002" } ] }' @@ -61,8 +60,7 @@ Transliteration: output: '{ "errors": [ { - "errorCode": "PRG_TRL_APP_002", - "message": "Unsupported language" + "errorCode": "PRG_TRL_APP_002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/UpdateDocRefID/UpdateDocRefID.yml b/automationtests/src/main/resources/preReg/UpdateDocRefID/UpdateDocRefID.yml index 4550d8b8f14..234164c410f 100644 --- a/automationtests/src/main/resources/preReg/UpdateDocRefID/UpdateDocRefID.yml +++ b/automationtests/src/main/resources/preReg/UpdateDocRefID/UpdateDocRefID.yml @@ -2,6 +2,7 @@ UpdateDocRefID: Prereg_UpdateDocRefID_All_Valid_Smoke_POA_sid: endPoint: /preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber} role: batch + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: preReg/UpdateDocRefID/updateDocRefID outputTemplate: preReg/UpdateDocRefID/updateDocRefIDResult @@ -11,11 +12,11 @@ UpdateDocRefID: "refNumber":"text" }' output: '{ - "errors": null }' Prereg_UpdateDocRefID_All_Valid_Smoke_POI_sid: endPoint: /preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber} role: batch + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: preReg/UpdateDocRefID/updateDocRefID outputTemplate: preReg/UpdateDocRefID/updateDocRefIDResult @@ -25,11 +26,11 @@ UpdateDocRefID: "refNumber":"text" }' output: '{ - "errors": null }' Prereg_UpdateDocRefID_All_Valid_Smoke_POB_sid: endPoint: /preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber} role: batch + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: preReg/UpdateDocRefID/updateDocRefID outputTemplate: preReg/UpdateDocRefID/updateDocRefIDResult @@ -39,11 +40,11 @@ UpdateDocRefID: "refNumber":"text" }' output: '{ - "errors": null }' Prereg_UpdateDocRefID_All_Valid_Smoke_POR_sid: endPoint: /preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber} role: batch + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: preReg/UpdateDocRefID/updateDocRefID outputTemplate: preReg/UpdateDocRefID/updateDocRefIDResult @@ -53,7 +54,6 @@ UpdateDocRefID: "refNumber":"text" }' output: '{ - "errors": null }' Prereg_UpdateDocRefID_inValid_documentId: endPoint: /preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber} @@ -69,8 +69,7 @@ UpdateDocRefID: output: '{ "errors": [ { - "errorCode": "PRG_PAM_DOC_005", - "message": "Documents is not found for the requested pre-registration id" + "errorCode": "PRG_PAM_DOC_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/UpdateDocRefID/updateDocRefIDResult.hbs b/automationtests/src/main/resources/preReg/UpdateDocRefID/updateDocRefIDResult.hbs index 297ff8b24e5..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/UpdateDocRefID/updateDocRefIDResult.hbs +++ b/automationtests/src/main/resources/preReg/UpdateDocRefID/updateDocRefIDResult.hbs @@ -1,3 +1,2 @@ { - "errors": null } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatus.yml b/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatus.yml index 013f75af5e7..bc8c8e0fbe6 100644 --- a/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatus.yml +++ b/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatus.yml @@ -2,6 +2,7 @@ UpdatePreRegStatus: Prereg_UpdatePreRegStatus_All_Valid_Smoke_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -10,11 +11,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_All_Valid_Smoke_BookByPRID_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -23,11 +24,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_Valid_Smoke_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -36,11 +37,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_CA_Valid_Smoke_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -49,11 +50,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_Smoke_alldel_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -62,11 +63,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_Smoke_CancellAppointment_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -75,11 +76,11 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' Prereg_UpdatePreRegStatus_Smoke_CancelApplicationsAppointment_sid: endPoint: /preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode} role: batch + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatus outputTemplate: preReg/UpdatePreRegStatus/updatePreRegStatusResult @@ -88,5 +89,4 @@ UpdatePreRegStatus: "statusCode": "Pending_Appointment" }' output: '{ - "response": "STATUS_UPDATED_SUCESSFULLY" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatusResult.hbs b/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatusResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatusResult.hbs +++ b/automationtests/src/main/resources/preReg/UpdatePreRegStatus/updatePreRegStatusResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/UpdatePreregistration/UpdatePreregistration.yml b/automationtests/src/main/resources/preReg/UpdatePreregistration/UpdatePreregistration.yml index a5771d5a7c6..d78f141da63 100644 --- a/automationtests/src/main/resources/preReg/UpdatePreregistration/UpdatePreregistration.yml +++ b/automationtests/src/main/resources/preReg/UpdatePreregistration/UpdatePreregistration.yml @@ -62,8 +62,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "KER-IOV-004", - "message": "Invalid input parameter - identity/dateOfBirth" + "errorCode": "KER-IOV-004" } ] }' @@ -88,8 +87,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -114,8 +112,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -140,8 +137,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "KER-IOV-004", - "message": "Invalid input parameter - identity/email" + "errorCode": "KER-IOV-004" } ] }' @@ -166,8 +162,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_014", - "message": "Lang code is invalid" + "errorCode": "PRG_CORE_REQ_014" } ] }' @@ -192,8 +187,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_014", - "message": "Lang code is invalid" + "errorCode": "PRG_CORE_REQ_014" } ] }' @@ -268,8 +262,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_013", - "message": "Request date should be current date" + "errorCode": "PRG_CORE_REQ_013" } ] }' @@ -294,8 +287,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -320,8 +312,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -346,8 +337,7 @@ UpdatePreregistration: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/ValidateOtp/ValidateOtp.yml b/automationtests/src/main/resources/preReg/ValidateOtp/ValidateOtp.yml index 6623b052042..7613d01f354 100644 --- a/automationtests/src/main/resources/preReg/ValidateOtp/ValidateOtp.yml +++ b/automationtests/src/main/resources/preReg/ValidateOtp/ValidateOtp.yml @@ -2,6 +2,7 @@ ValidateOtp: Prereg_ValidateOtp_All_Valid_Smoke_Phone_sid: endPoint: /preregistration/v1/login/validateOtp role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/ValidateOtp/validateOtp outputTemplate: preReg/ValidateOtp/validateOtpResult @@ -13,11 +14,11 @@ ValidateOtp: "id": "mosip.pre-registration.login.useridotp" }' output: '{ - "status": "success" }' Prereg_SendOtp_All_Valid_Smoke_email_sid: endPoint: /preregistration/v1/login/validateOtp role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/ValidateOtp/validateOtp outputTemplate: preReg/ValidateOtp/validateOtpResult @@ -29,5 +30,4 @@ ValidateOtp: "id": "mosip.pre-registration.login.useridotp" }' output: '{ - "status": "success" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/ValidateOtp/validateOtpResult.hbs b/automationtests/src/main/resources/preReg/ValidateOtp/validateOtpResult.hbs index 0137f52daaa..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/ValidateOtp/validateOtpResult.hbs +++ b/automationtests/src/main/resources/preReg/ValidateOtp/validateOtpResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "status": "{{status}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/bookAppointment/bookAppointment.yml b/automationtests/src/main/resources/preReg/bookAppointment/bookAppointment.yml index afbdbc8a1bd..148c06b401e 100644 --- a/automationtests/src/main/resources/preReg/bookAppointment/bookAppointment.yml +++ b/automationtests/src/main/resources/preReg/bookAppointment/bookAppointment.yml @@ -2,6 +2,7 @@ BookAppointment: Prereg_BookAppointment_All_Valid_Smoke: endPoint: /preregistration/v1/applications/appointment/{preRegistrationId} role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/bookAppointment/bookAppointment outputTemplate: preReg/bookAppointment/bookAppointmentResult @@ -16,11 +17,11 @@ BookAppointment: "requesttime": "$TIMESTAMP$" }' output: '{ - "langCode": "eng" }' Prereg_BookAppointment_CA_Smoke: endPoint: /preregistration/v1/applications/appointment/{preRegistrationId} role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/bookAppointment/bookAppointment outputTemplate: preReg/bookAppointment/bookAppointmentResult @@ -35,11 +36,11 @@ BookAppointment: "requesttime": "$TIMESTAMP$" }' output: '{ - "langCode": "eng" }' Prereg_BookAppointment_CancelApplicationsAppointment_Smoke: endPoint: /preregistration/v1/applications/appointment/{preRegistrationId} role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/bookAppointment/bookAppointment outputTemplate: preReg/bookAppointment/bookAppointmentResult @@ -54,7 +55,6 @@ BookAppointment: "requesttime": "$TIMESTAMP$" }' output: '{ - "langCode": "eng" }' Prereg_BookAppointment_inValid_preRegistrationId: endPoint: /preregistration/v1/applications/appointment/{preRegistrationId} @@ -75,8 +75,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' @@ -123,8 +122,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -171,8 +169,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -195,8 +192,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -219,8 +215,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -339,8 +334,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_008", - "message": "Booking date time not selected" + "errorCode": "PRG_BOOK_RCI_008" } ] }' @@ -387,8 +381,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -411,8 +404,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -435,8 +427,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -459,8 +450,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -483,8 +473,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -507,8 +496,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -531,8 +519,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_003", - "message": "Invalid request time" + "errorCode": "PRG_CORE_REQ_003" } ] }' @@ -579,8 +566,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_003", - "message": "Invalid request time" + "errorCode": "PRG_CORE_REQ_003" } ] }' @@ -603,8 +589,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_013", - "message": "Request date should be current date" + "errorCode": "PRG_CORE_REQ_013" } ] }' diff --git a/automationtests/src/main/resources/preReg/bookAppointment/bookAppointmentResult.hbs b/automationtests/src/main/resources/preReg/bookAppointment/bookAppointmentResult.hbs index aac4a1fba68..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/bookAppointment/bookAppointmentResult.hbs +++ b/automationtests/src/main/resources/preReg/bookAppointment/bookAppointmentResult.hbs @@ -1,6 +1,2 @@ { - - "response": { - "bookingMessage": "Appointment booked successfully" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRID.yml b/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRID.yml index 4a763528275..1816a11e5e6 100644 --- a/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRID.yml +++ b/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRID.yml @@ -2,6 +2,7 @@ BookAppointmentByPRID: Prereg_BookAppointmentByPRID_All_Valid_Smoke: endPoint: /preregistration/v1/applications/appointment role: batch + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: preReg/bookAppointmentByPRID/bookAppointmentByPRID outputTemplate: preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult @@ -16,7 +17,6 @@ BookAppointmentByPRID: "requesttime": "$TIMESTAMP$" }' output: '{ - "bookingMessage": "Appointment booked successfully" }' Prereg_BookAppointmentByPRID_inValid_preRegistrationId: endPoint: /preregistration/v1/applications/appointment @@ -37,8 +37,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' @@ -61,8 +60,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' @@ -85,8 +83,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_APP_013", - "message": "No Records Found" + "errorCode": "PRG_APP_013" } ] }' @@ -109,8 +106,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -133,8 +129,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -157,8 +152,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -181,8 +175,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -205,8 +198,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -229,8 +221,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "KER-MSD-215", - "message": "Registration Center not found" + "errorCode": "KER-MSD-215" } ] }' @@ -253,8 +244,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_007", - "message": "Registration center id not entered" + "errorCode": "PRG_BOOK_RCI_007" } ] }' @@ -277,8 +267,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_007", - "message": "Registration center id not entered" + "errorCode": "PRG_BOOK_RCI_007" } ] }' @@ -301,8 +290,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_008", - "message": "Booking date time not selected" + "errorCode": "PRG_BOOK_RCI_008" } ] }' @@ -325,8 +313,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_008", - "message": "Booking date time not selected" + "errorCode": "PRG_BOOK_RCI_008" } ] }' @@ -373,8 +360,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -397,8 +383,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -421,8 +406,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -445,8 +429,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_003", - "message": "User has not selected time slot" + "errorCode": "PRG_BOOK_RCI_003" } ] }' @@ -469,8 +452,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_003", - "message": "Invalid request time" + "errorCode": "PRG_CORE_REQ_003" } ] }' @@ -517,8 +499,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_003", - "message": "Invalid request time" + "errorCode": "PRG_CORE_REQ_003" } ] }' @@ -541,8 +522,7 @@ BookAppointmentByPRID: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_013", - "message": "Request date should be current date" + "errorCode": "PRG_CORE_REQ_013" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult.hbs b/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult.hbs index 9fb6fa8707e..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult.hbs +++ b/automationtests/src/main/resources/preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult.hbs @@ -1,9 +1,2 @@ { - "response": { - "bookingStatusResponse": [ - { - "bookingMessage": "{{bookingMessage}}" - } - ] - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/preReg/createPrereg/createPrereg.yml b/automationtests/src/main/resources/preReg/createPrereg/createPrereg.yml index c2be19e4338..f3238dbe017 100644 --- a/automationtests/src/main/resources/preReg/createPrereg/createPrereg.yml +++ b/automationtests/src/main/resources/preReg/createPrereg/createPrereg.yml @@ -160,8 +160,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -185,8 +184,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -210,8 +208,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_PAM_CORE_001", - "message": "Request id is invalid" + "errorCode": "PRG_PAM_CORE_001" } ] }' @@ -235,8 +232,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_014", - "message": "Lang code is invalid" + "errorCode": "PRG_CORE_REQ_014" } ] }' @@ -260,8 +256,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_014", - "message": "Lang code is invalid" + "errorCode": "PRG_CORE_REQ_014" } ] }' @@ -285,8 +280,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "KER-IOV-004", - "message": "Invalid input parameter - identity/email" + "errorCode": "KER-IOV-004" } ] }' @@ -334,8 +328,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_003", - "message": "Invalid request time" + "errorCode": "PRG_CORE_REQ_003" } ] }' @@ -359,8 +352,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_013", - "message": "Request date should be current date" + "errorCode": "PRG_CORE_REQ_013" } ] }' @@ -384,8 +376,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' @@ -409,8 +400,7 @@ CreatePrereg: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_002", - "message": "Request version is invalid" + "errorCode": "PRG_CORE_REQ_002" } ] }' \ No newline at end of file From 2c1ba2a1c9e1881b320319ce0255dbf53744ff01 Mon Sep 17 00:00:00 2001 From: Anup Nehe Date: Tue, 29 Aug 2023 10:21:36 +0530 Subject: [PATCH 2/4] MOSIP-29086 --- .../ActivateDeactivatePartner.yml | 7 +-- .../activateDeactivatePartnerResult.hbs | 3 - .../ActivateDeactivatePartnerApiKey.yml | 12 ++-- .../activateDeactivatePartnerApiKeyResult.hbs | 1 - .../CreateBioExtractors.yml | 4 +- .../DeviceDetailsFilter.yml | 9 +-- .../DeviceSubTypeFilter.yml | 9 +-- .../DeviceTypeFilter/DeviceTypeFilter.yml | 17 +++-- .../PartnerApiKeyRequestFilter.yml | 9 +-- .../PartnerFilter/PartnerFilter.yml | 17 +++-- .../PolicyGroupFilter/PolicyGroupFilter.yml | 14 +++-- .../ApproveAPIKey/ApproveAPIKey.yml | 2 +- .../ApproveAPIKey/approveAPIKeyResult.hbs | 1 - .../GetPartnerApiKeyRequest.yml | 4 +- .../partner/GetPartners/GetPartners.yml | 3 +- .../GetPartnersPolicy/GetPartnersPolicy.yml | 3 +- .../GetPolicyForApiKey/GetPolicyForApiKey.yml | 6 +- ...olicyforMappedPartnerAndCredentialtype.yml | 6 +- .../GetValueForConfigKey.yml | 2 + .../getValueForConfigKeyResult.hbs | 4 -- .../MapPartnerAndPolicytoCredentialType.yml | 9 ++- ...PartnerAndPolicytoCredentialTypeResult.hbs | 1 - .../CreateMispLicense/CreateMispLicense.yml | 3 +- .../FilterMispLicense/FilterMispLicense.yml | 9 +-- .../GetMISPLicenseByMispID.yml | 6 +- .../SearchMispLicense/SearchMispLicense.yml | 15 ++--- .../UpdateMispLicense/UpdateMispLicense.yml | 3 +- .../partner/PartnerSearch/partnerSearch.yml | 62 +++++-------------- .../GetPartnerDetails/GetPartnerDetails.yml | 1 + .../PrintPartner/UploadCert/UploadCert.yml | 1 + .../createSearchDeviceType.yml | 18 ++---- .../SearchPartner/createSearchPartner.yml | 21 +++---- .../SearchPartnerApiKey.yml | 12 ++-- .../SearchPartnerApiRequestKey.yml | 6 +- .../searchPartnerApiRequestKeyResult.hbs | 3 +- .../createSearchPartnerType.yml | 35 ++++++----- .../SearchPolicy/createSearchPolicy.yml | 23 ++++--- .../createSearchPolicyGroup.yml | 16 ++--- .../createSearchPolicyGroupResult.hbs | 10 --- .../createSearchRegisteredDevice.yml | 30 +++------ .../createSearchSecureBiometric.yml | 3 + .../UpdatePolicyAgainstApiKey.yml | 14 ++--- .../updatePolicyAgainstApiKeyResult.hbs | 3 - .../UpdatePolicyGroupForPartner.yml | 12 ++-- .../APIKeyAutoApproval/APIKeyAutoApproval.yml | 4 +- .../apiKeyAutoApprovalResult.hbs | 3 - .../authPartner/AddContacts/AddContact.yml | 8 +-- .../AddContacts/addContactResult.hbs | 1 - .../ApproveAPIKey/ApproveAPIKey.yml | 5 +- .../ApproveAPIKey/approveAPIKeyResult.hbs | 1 - .../CreatePartner/CreatePartner.yml | 12 ++-- .../authPartner/GetCertificate/GetCert.yml | 6 +- .../authPartner/GetPartner/GetPartner.yml | 3 +- .../authPartner/RejectAPIKey/RejectAPIKey.yml | 5 +- .../RejectAPIKey/rejectAPIKeyResult.hbs | 1 - .../RequestAPIKey/RequestAPIKey.yml | 7 +-- .../RequestAPIKey/requestAPIKeyResult.hbs | 3 - .../UpdatePartner/UpdatePartner.yml | 9 +-- .../UploadCertificate/UploadCertificate.yml | 2 +- .../uploadCertificateResult.hbs | 3 - .../APIKeyAutoApproval/APIKeyAutoApproval.yml | 1 - .../apiKeyAutoApprovalResult.hbs | 3 - .../AddBioExtractors/AddBioExtractors.yml | 10 ++- .../addBioExtractorsResult.hbs | 1 - .../ApproveAPIKey/ApproveAPIKey.yml | 4 +- .../ApproveAPIKey/approveAPIKeyResult.hbs | 1 - .../GetPartner/GetPartner.yml | 3 +- .../RejectAPIKey/RejectAPIKey.yml | 5 +- .../RejectAPIKey/rejectAPIKeyResult.hbs | 1 - .../RequestAPIKey/RequestAPIKey.yml | 4 +- .../RequestAPIKey/requestAPIKeyResult.hbs | 2 - .../UploadCert/uploadCertResult.hbs | 2 - .../UploadCertificate/UploadCertificate.yml | 4 +- .../uploadCertificateResult.hbs | 3 - .../MapDeviceWithSBI/MapDeviceWithSBI.yml | 4 +- .../mapDeviceWithSBIResult.hbs | 1 - .../ApproveSecureBiometricInterface.yml | 6 +- .../approveSecureBiometricInterfaceResult.hbs | 1 - .../create/CreateSecureBiometricInterface.yml | 5 +- .../reject/RejectSecureBiometricInterface.yml | 7 +-- .../rejectSecureBiometricInterfaceResult.hbs | 1 - .../update/UpdateSecureBiometricInterface.yml | 5 +- .../deregistration/DeRegisterDevice.yml | 2 +- .../approve/ApproveFtpChipDetail.yml | 5 +- .../approve/approveFtpChipDetailResult.hbs | 3 - .../create/CreateFTPChipDetail.yml | 7 +-- .../ftmChipDetails/get/GetFtpChipDetail.yml | 1 + .../reject/RejectFtpChipDetail.yml | 3 +- .../reject/rejectFtpChipDetailResult.hbs | 1 - .../update/UpdateFtpChipDetail.yml | 3 +- .../update/updateFtpChipDetailResult.hbs | 3 - .../uploadcert/Uploadcertificate.yml | 7 +-- .../approve/ApproveDeviceDetail.yml | 8 +-- .../approve/approveDeviceDetailResult.hbs | 1 - .../create/CreateDeviceDetail.yml | 11 ++-- .../reject/RejectDeviceDetail.yml | 10 ++- .../reject/rejectDeviceDetailResult.hbs | 1 - .../update/UpdateDeviceDetail.yml | 12 ++-- .../device/registration/RegistereDevice.yml | 5 +- .../devicePartner/GetCertificate/GetCert.yml | 3 +- .../devicePartner/GetPartner/GetPartner.yml | 3 +- .../UploadCert/uploadCertResult.hbs | 2 - .../UploadCertificate/UploadCertificate.yml | 4 +- .../uploadCertificateResult.hbs | 3 - .../UploadCertificate/UploadCertificate.yml | 4 +- .../uploadCertificateResult.hbs | 3 - .../DefineDataSharePolicy.yml | 24 +++---- .../policy/DefinePolicy/DefinePolicy.yml | 33 ++++------ .../definePolicyGroupResult.hbs | 2 +- .../policy/GetPolicy/getPolicyResult.hbs | 2 +- .../policy/GetPolicyGroup/GetPolicyGroup.yml | 3 +- .../PublishDataSharePolicy.yml | 9 +-- .../policy/PublishPolicy/PublishPolicy.yml | 9 +-- .../partner/policy/Search/SearchPolicy.yml | 9 ++- .../UpdatePolicy/updatePolicyResult.hbs | 2 +- 115 files changed, 300 insertions(+), 494 deletions(-) diff --git a/automationtests/src/main/resources/partner/ActivateDeactivatePartner/ActivateDeactivatePartner.yml b/automationtests/src/main/resources/partner/ActivateDeactivatePartner/ActivateDeactivatePartner.yml index e0749026fe6..2ec6761bd27 100644 --- a/automationtests/src/main/resources/partner/ActivateDeactivatePartner/ActivateDeactivatePartner.yml +++ b/automationtests/src/main/resources/partner/ActivateDeactivatePartner/ActivateDeactivatePartner.yml @@ -2,6 +2,7 @@ ActivateDeactivatePartner: Partner_ActivateDeactivatePartner_deactivate_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId} role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/ActivateDeactivatePartner/activateDeactivatePartner outputTemplate: partner/ActivateDeactivatePartner/activateDeactivatePartnerResult @@ -11,11 +12,11 @@ ActivateDeactivatePartner: "status": "De-Active" }' output: '{ - "message": "Partner de-activated successfully" }' Partner_ActivateDeactivatePartner_activate_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId} role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/ActivateDeactivatePartner/activateDeactivatePartner outputTemplate: partner/ActivateDeactivatePartner/activateDeactivatePartnerResult @@ -25,7 +26,6 @@ ActivateDeactivatePartner: "status": "Active" }' output: '{ - "message": "Partner activated successfully" }' Partner_ActivateDeactivatePartner_invalid_partnerId: endPoint: /v1/partnermanager/partners/{partnerId} @@ -41,8 +41,7 @@ ActivateDeactivatePartner: output: '{ "errors": [ { - "errorCode": "PMS_PMP_005", - "message": "Partner ID does not exist" + "errorCode": "PMS_PMP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/ActivateDeactivatePartner/activateDeactivatePartnerResult.hbs b/automationtests/src/main/resources/partner/ActivateDeactivatePartner/activateDeactivatePartnerResult.hbs index ba212b70ab8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/ActivateDeactivatePartner/activateDeactivatePartnerResult.hbs +++ b/automationtests/src/main/resources/partner/ActivateDeactivatePartner/activateDeactivatePartnerResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/ActivateDeactivatePartnerApiKey.yml b/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/ActivateDeactivatePartnerApiKey.yml index 593421a578d..7f13b239361 100644 --- a/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/ActivateDeactivatePartnerApiKey.yml +++ b/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/ActivateDeactivatePartnerApiKey.yml @@ -2,6 +2,7 @@ ActivateDeactivatePartnerApiKey: Partner_ActivateDeactivatePartnerApiKey_deactivate_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/policy/{policyId}/apiKey/status role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKey outputTemplate: partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult @@ -13,11 +14,11 @@ ActivateDeactivatePartnerApiKey: "status": "De-Active" }' output: '{ - "response": "Partner apikey de-activated successfully." }' Partner_ActivateDeactivatePartnerApiKey_activate_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/policy/{policyId}/apiKey/status role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKey outputTemplate: partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult @@ -47,8 +48,7 @@ ActivateDeactivatePartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PRT_111", - "message": "API key not exists for the given combination" + "errorCode": "PMS_PRT_111" } ] }' @@ -68,8 +68,7 @@ ActivateDeactivatePartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PRT_111", - "message": "API key not exists for the given combination" + "errorCode": "PMS_PRT_111" } ] }' @@ -89,8 +88,7 @@ ActivateDeactivatePartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PRT_111", - "message": "API key not exists for the given combination" + "errorCode": "PMS_PRT_111" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult.hbs b/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult.hbs +++ b/automationtests/src/main/resources/partner/ActivateDeactivatePartnerApiKey/activateDeactivatePartnerApiKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/CreateBioExtractors/CreateBioExtractors.yml b/automationtests/src/main/resources/partner/CreateBioExtractors/CreateBioExtractors.yml index 9dbdbdd6dcd..ac90c3f5796 100644 --- a/automationtests/src/main/resources/partner/CreateBioExtractors/CreateBioExtractors.yml +++ b/automationtests/src/main/resources/partner/CreateBioExtractors/CreateBioExtractors.yml @@ -2,6 +2,7 @@ CreateBioExtractors: Partner_CreateBioExtractors_InValid_partnerId: endPoint: /v1/partnermanager/partners/{partnerId}/bioextractors/{policyId} role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/CreateBioExtractors/createBioExtractors outputTemplate: partner/error @@ -17,8 +18,7 @@ CreateBioExtractors: output: '{ "errors": [ { - "errorCode": "PMS_PRT_061", - "message": "Partner policy mapping not exists." + "errorCode": "PMS_PRT_061" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/FilterAPIs/DeviceDetailsFilter/DeviceDetailsFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/DeviceDetailsFilter/DeviceDetailsFilter.yml index 69ad8a5dc55..24cad442d73 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/DeviceDetailsFilter/DeviceDetailsFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/DeviceDetailsFilter/DeviceDetailsFilter.yml @@ -55,8 +55,7 @@ DeviceDetailsFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -78,8 +77,7 @@ DeviceDetailsFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' @@ -123,8 +121,7 @@ DeviceDetailsFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/FilterAPIs/DeviceSubTypeFilter/DeviceSubTypeFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/DeviceSubTypeFilter/DeviceSubTypeFilter.yml index c9f0628d337..b37ef876fb5 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/DeviceSubTypeFilter/DeviceSubTypeFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/DeviceSubTypeFilter/DeviceSubTypeFilter.yml @@ -53,8 +53,7 @@ DeviceSubTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -76,8 +75,7 @@ DeviceSubTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' @@ -99,8 +97,7 @@ DeviceSubTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' diff --git a/automationtests/src/main/resources/partner/FilterAPIs/DeviceTypeFilter/DeviceTypeFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/DeviceTypeFilter/DeviceTypeFilter.yml index 93263e0a4c6..284c77a4d26 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/DeviceTypeFilter/DeviceTypeFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/DeviceTypeFilter/DeviceTypeFilter.yml @@ -15,9 +15,13 @@ DeviceTypeFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "code", "fieldValue": "Finger", "fieldCode": "Finger" + } + ] }' partner_DeviceTypeFilter_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail/deviceType/filtervalues @@ -35,9 +39,13 @@ DeviceTypeFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "code", "fieldValue": "Finger", "fieldCode": "Finger" + } + ] }' partner_DeviceTypeFilter_Invalid_EmptyFilterType: endPoint: /v1/partnermanager/devicedetail/deviceType/filtervalues @@ -57,8 +65,7 @@ DeviceTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -80,8 +87,7 @@ DeviceTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' @@ -125,8 +131,7 @@ DeviceTypeFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/FilterAPIs/PartnerApiKeyRequestFilter/PartnerApiKeyRequestFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/PartnerApiKeyRequestFilter/PartnerApiKeyRequestFilter.yml index bf3a4122045..dffe107af2e 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/PartnerApiKeyRequestFilter/PartnerApiKeyRequestFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/PartnerApiKeyRequestFilter/PartnerApiKeyRequestFilter.yml @@ -62,8 +62,7 @@ PartnerApiKeyRequestFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -84,8 +83,7 @@ PartnerApiKeyRequestFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' @@ -127,8 +125,7 @@ PartnerApiKeyRequestFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/FilterAPIs/PartnerFilter/PartnerFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/PartnerFilter/PartnerFilter.yml index 2f04c6a3a95..e6d0ddc0d3c 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/PartnerFilter/PartnerFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/PartnerFilter/PartnerFilter.yml @@ -14,9 +14,13 @@ PartnerFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "id", "fieldValue": "mpartner-default-abis", "fieldCode": "mpartner-default-abis" + } + ] }' partner_PartnerFilter_all_Valid_Smoke: endPoint: /v1/partnermanager/partners/filtervalues @@ -33,9 +37,13 @@ PartnerFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "id", "fieldValue": "mpartner-default-abis", "fieldCode": "mpartner-default-abis" + } + ] }' partner_PartnerFilter_Invalid_EmptyFilterType: endPoint: /v1/partnermanager/partners/filtervalues @@ -54,8 +62,7 @@ PartnerFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -97,8 +104,7 @@ PartnerFilter: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' @@ -119,8 +125,7 @@ PartnerFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/FilterAPIs/PolicyGroupFilter/PolicyGroupFilter.yml b/automationtests/src/main/resources/partner/FilterAPIs/PolicyGroupFilter/PolicyGroupFilter.yml index 8f2c2b35b10..5b843c83b77 100644 --- a/automationtests/src/main/resources/partner/FilterAPIs/PolicyGroupFilter/PolicyGroupFilter.yml +++ b/automationtests/src/main/resources/partner/FilterAPIs/PolicyGroupFilter/PolicyGroupFilter.yml @@ -14,9 +14,13 @@ PolicyGroupFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "name", "fieldValue": "update_policy_group", "fieldCode": "update_policy_group" + } + ] }' partner_PolicyGroupFilter_all_Valid_Smoke: endPoint: /v1/policymanager/policies/group/filtervalues @@ -33,9 +37,13 @@ PolicyGroupFilter: "requesttime": "$TIMESTAMP$" }' output: '{ + "filters": [ + { "fieldID": "name", "fieldValue": "mpolicygroup-default-auth", "fieldCode": "mpolicygroup-default-auth" + } + ] }' partner_PolicyGroupFilter_using_desc_Valid_Smoke: endPoint: /v1/policymanager/policies/group/filtervalues @@ -99,8 +107,7 @@ PolicyGroupFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' @@ -121,8 +128,7 @@ PolicyGroupFilter: output: '{ "errors": [ { - "errorCode": "PMS_COR_003", - "message": "Could not process the request" + "errorCode": "PMS_COR_003" } ] }' diff --git a/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/ApproveAPIKey.yml b/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/ApproveAPIKey.yml index 1413d538184..e404336222e 100644 --- a/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/ApproveAPIKey.yml +++ b/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/ApproveAPIKey.yml @@ -2,6 +2,7 @@ ApproveAPIKey: Partner_ApproveRejectPartnerAPIKeyReq_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/policy/{mappingkey} role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKey outputTemplate: partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKeyResult @@ -11,5 +12,4 @@ ApproveAPIKey: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Policy mapping approved successfully" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKeyResult.hbs b/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKeyResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/GenerateApiKeyForApprovedPolicies/ApproveAPIKey/approveAPIKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GetPartnerApiKeyRequest/GetPartnerApiKeyRequest.yml b/automationtests/src/main/resources/partner/GetPartnerApiKeyRequest/GetPartnerApiKeyRequest.yml index ccc96d71c19..bd8947b8d1f 100644 --- a/automationtests/src/main/resources/partner/GetPartnerApiKeyRequest/GetPartnerApiKeyRequest.yml +++ b/automationtests/src/main/resources/partner/GetPartnerApiKeyRequest/GetPartnerApiKeyRequest.yml @@ -2,6 +2,7 @@ GetPartnerApiKeyRequest: Partner_GetPartnerApiKeyRequest_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/apikey/request role: partner + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: partner/GetPartnerApiKeyRequest/getPartnerApiKeyRequest outputTemplate: partner/GetPartnerApiKeyRequest/getPartnerApiKeyRequestResult @@ -22,8 +23,7 @@ GetPartnerApiKeyRequest: output: '{ "errors": [ { - "errorCode": "PMS_PRT_006", - "message": "No api key req exist" + "errorCode": "PMS_PRT_006" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GetPartners/GetPartners.yml b/automationtests/src/main/resources/partner/GetPartners/GetPartners.yml index 974259c3248..19d9ff88aab 100644 --- a/automationtests/src/main/resources/partner/GetPartners/GetPartners.yml +++ b/automationtests/src/main/resources/partner/GetPartners/GetPartners.yml @@ -32,8 +32,7 @@ GetPartners: output: '{ "errors": [ { - "errorCode": "PMS_PMP_013", - "message": "Partner does not exist" + "errorCode": "PMS_PMP_013" } ] }' diff --git a/automationtests/src/main/resources/partner/GetPartnersPolicy/GetPartnersPolicy.yml b/automationtests/src/main/resources/partner/GetPartnersPolicy/GetPartnersPolicy.yml index 92da4c83dd5..dbbd8ebfc3d 100644 --- a/automationtests/src/main/resources/partner/GetPartnersPolicy/GetPartnersPolicy.yml +++ b/automationtests/src/main/resources/partner/GetPartnersPolicy/GetPartnersPolicy.yml @@ -33,8 +33,7 @@ GetPartnersPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_017", - "message": "No policy available for given partner" + "errorCode": "PMS_POL_017" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GetPolicyForApiKey/GetPolicyForApiKey.yml b/automationtests/src/main/resources/partner/GetPolicyForApiKey/GetPolicyForApiKey.yml index aa85735c436..742b4465d7c 100644 --- a/automationtests/src/main/resources/partner/GetPolicyForApiKey/GetPolicyForApiKey.yml +++ b/automationtests/src/main/resources/partner/GetPolicyForApiKey/GetPolicyForApiKey.yml @@ -25,8 +25,7 @@ GetPolicyForApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_009", - "message": "For given partner and apikey mapping not exists." + "errorCode": "PMS_PMP_009" } ] }' @@ -43,8 +42,7 @@ GetPolicyForApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_009", - "message": "For given partner and apikey mapping not exists." + "errorCode": "PMS_PMP_009" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GetPolicyforMappedPartnerAndCredentialtype/GetPolicyforMappedPartnerAndCredentialtype.yml b/automationtests/src/main/resources/partner/GetPolicyforMappedPartnerAndCredentialtype/GetPolicyforMappedPartnerAndCredentialtype.yml index 427a46a92a6..9060a88ff88 100644 --- a/automationtests/src/main/resources/partner/GetPolicyforMappedPartnerAndCredentialtype/GetPolicyforMappedPartnerAndCredentialtype.yml +++ b/automationtests/src/main/resources/partner/GetPolicyforMappedPartnerAndCredentialtype/GetPolicyforMappedPartnerAndCredentialtype.yml @@ -27,8 +27,7 @@ GetPolicyforMappedPartnerAndCredentialtype: output: '{ "errors": [ { - "errorCode": "PMS_PRT_064", - "message": "No details found" + "errorCode": "PMS_PRT_064" } ] }' @@ -45,8 +44,7 @@ GetPolicyforMappedPartnerAndCredentialtype: output: '{ "errors": [ { - "errorCode": "PMS_PRT_064", - "message": "No details found" + "errorCode": "PMS_PRT_064" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/GetValueForConfigKey/GetValueForConfigKey.yml b/automationtests/src/main/resources/partner/GetValueForConfigKey/GetValueForConfigKey.yml index 7a18d4c7aaa..8c3001857c1 100644 --- a/automationtests/src/main/resources/partner/GetValueForConfigKey/GetValueForConfigKey.yml +++ b/automationtests/src/main/resources/partner/GetValueForConfigKey/GetValueForConfigKey.yml @@ -2,6 +2,7 @@ GetValueForConfigKey: partner_GetValueForConfigKey_allValid_smoke: endPoint: /v1/policymanager/policies/config/{key} role: partner + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: partner/GetValueForConfigKey/getValueForConfigKey outputTemplate: partner/GetValueForConfigKey/getValueForConfigKeyResult @@ -16,6 +17,7 @@ GetValueForConfigKey: partner_GetValueForConfigKey_allValid_smoke: endPoint: /v1/policymanager/policies/config/{key} role: partner + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: partner/GetValueForConfigKey/getValueForConfigKey outputTemplate: partner/GetValueForConfigKey/getValueForConfigKeyResult diff --git a/automationtests/src/main/resources/partner/GetValueForConfigKey/getValueForConfigKeyResult.hbs b/automationtests/src/main/resources/partner/GetValueForConfigKey/getValueForConfigKeyResult.hbs index bf0fa3d7dc0..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/GetValueForConfigKey/getValueForConfigKeyResult.hbs +++ b/automationtests/src/main/resources/partner/GetValueForConfigKey/getValueForConfigKeyResult.hbs @@ -1,6 +1,2 @@ { - "response": { - "key": "{{key}}", - "value": "{{value}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/MapPartnerAndPolicytoCredentialType.yml b/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/MapPartnerAndPolicytoCredentialType.yml index 11aacbb2fbe..0277e5289a6 100644 --- a/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/MapPartnerAndPolicytoCredentialType.yml +++ b/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/MapPartnerAndPolicytoCredentialType.yml @@ -2,6 +2,7 @@ MapPartnerAndPolicytoCredentialType: Partner_MapPartnerAndPolicytoCredentialType_AllValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/credentialtype/{credentialType}/policies/{policyId} role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialType outputTemplate: partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialTypeResult @@ -11,7 +12,6 @@ MapPartnerAndPolicytoCredentialType: "policyId": "mosip policy" }' output: '{ - "response": "Partner, policy and credentialType mapping done successfully." }' Partner_MapPartnerAndPolicytoCredentialType_InValid_partnerId: endPoint: /v1/partnermanager/partners/{partnerId}/credentialtype/{credentialType}/policies/{policyId} @@ -27,8 +27,7 @@ MapPartnerAndPolicytoCredentialType: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' @@ -46,7 +45,7 @@ MapPartnerAndPolicytoCredentialType: output: '{ "errors": [ { - "errorCode": "PMS_PRT_098", + "errorCode": "PMS_PRT_098" } ] }' @@ -64,7 +63,7 @@ MapPartnerAndPolicytoCredentialType: output: '{ "errors": [ { - "errorCode": "PMS_PRT_072", + "errorCode": "PMS_PRT_072" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialTypeResult.hbs b/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialTypeResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialTypeResult.hbs +++ b/automationtests/src/main/resources/partner/MapPartnerAndPolicytoCredentialType/mapPartnerAndPolicytoCredentialTypeResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MispLicense/CreateMispLicense/CreateMispLicense.yml b/automationtests/src/main/resources/partner/MispLicense/CreateMispLicense/CreateMispLicense.yml index d708e9b4dbc..c4f30dc7c13 100644 --- a/automationtests/src/main/resources/partner/MispLicense/CreateMispLicense/CreateMispLicense.yml +++ b/automationtests/src/main/resources/partner/MispLicense/CreateMispLicense/CreateMispLicense.yml @@ -40,8 +40,7 @@ CreateMispLicense: output: '{ "errors": [ { - "errorCode": "PMS_MSP_005", - "message": "MISP Partner does not exist" + "errorCode": "PMS_MSP_005" } ] }' diff --git a/automationtests/src/main/resources/partner/MispLicense/FilterMispLicense/FilterMispLicense.yml b/automationtests/src/main/resources/partner/MispLicense/FilterMispLicense/FilterMispLicense.yml index a7921dd24f3..5314834e538 100644 --- a/automationtests/src/main/resources/partner/MispLicense/FilterMispLicense/FilterMispLicense.yml +++ b/automationtests/src/main/resources/partner/MispLicense/FilterMispLicense/FilterMispLicense.yml @@ -70,8 +70,7 @@ FilterMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-324", - "message": "Received Filter Type not supported" + "errorCode": "PMS-MSD-324" } ] }' @@ -92,8 +91,7 @@ FilterMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-322", - "message": "Filter Type cannot be empty or null" + "errorCode": "PMS-MSD-322" } ] }' @@ -135,8 +133,7 @@ FilterMispLicense: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - must not be blank :request.filters[0].columnName" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MispLicense/GetMISPLicenseByMispID/GetMISPLicenseByMispID.yml b/automationtests/src/main/resources/partner/MispLicense/GetMISPLicenseByMispID/GetMISPLicenseByMispID.yml index d559808e936..1359d77b93c 100644 --- a/automationtests/src/main/resources/partner/MispLicense/GetMISPLicenseByMispID/GetMISPLicenseByMispID.yml +++ b/automationtests/src/main/resources/partner/MispLicense/GetMISPLicenseByMispID/GetMISPLicenseByMispID.yml @@ -11,8 +11,7 @@ GetMISPLicenseByMispID: output: '{ "errors": [ { - "errorCode": "PMS_MSP_413", - "message": "misp license all are inactive." + "errorCode": "PMS_MSP_413" } ] }' @@ -40,8 +39,7 @@ GetMISPLicenseByMispID: output: '{ "errors": [ { - "errorCode": "PMS_MSP_005", - "message": "MISP Partner does not exist" + "errorCode": "PMS_MSP_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MispLicense/SearchMispLicense/SearchMispLicense.yml b/automationtests/src/main/resources/partner/MispLicense/SearchMispLicense/SearchMispLicense.yml index 4d076d717c4..b81b7f8de49 100644 --- a/automationtests/src/main/resources/partner/MispLicense/SearchMispLicense/SearchMispLicense.yml +++ b/automationtests/src/main/resources/partner/MispLicense/SearchMispLicense/SearchMispLicense.yml @@ -65,8 +65,7 @@ SearchMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-313", - "message": "Invalid pagination value received pagestart:0 and pagefetch:-1" + "errorCode": "PMS-MSD-313" } ] }' @@ -93,8 +92,7 @@ SearchMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-313", - "message": "Invalid pagination value received pagestart:-1 and pagefetch:1" + "errorCode": "PMS-MSD-313" } ] }' @@ -121,8 +119,7 @@ SearchMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type asdf is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -149,8 +146,7 @@ SearchMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field createddDateTime" + "errorCode": "PMS-MSD-357" } ] }' @@ -178,8 +174,7 @@ SearchMispLicense: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/MispLicense/UpdateMispLicense/UpdateMispLicense.yml b/automationtests/src/main/resources/partner/MispLicense/UpdateMispLicense/UpdateMispLicense.yml index e46a6ad5861..f02e6c86324 100644 --- a/automationtests/src/main/resources/partner/MispLicense/UpdateMispLicense/UpdateMispLicense.yml +++ b/automationtests/src/main/resources/partner/MispLicense/UpdateMispLicense/UpdateMispLicense.yml @@ -43,8 +43,7 @@ UpdateMispLicense: output: '{ "errors": [ { - "errorCode": "PMS_MSP_407", - "message": "mispStatus either Active or De-active." + "errorCode": "PMS_MSP_407" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/PartnerSearch/partnerSearch.yml b/automationtests/src/main/resources/partner/PartnerSearch/partnerSearch.yml index 174f91e5687..1fbd9372135 100644 --- a/automationtests/src/main/resources/partner/PartnerSearch/partnerSearch.yml +++ b/automationtests/src/main/resources/partner/PartnerSearch/partnerSearch.yml @@ -2,6 +2,7 @@ createSearchPartner: Partner_SearchPartner_type_contains_Smoke_asc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -26,15 +27,11 @@ createSearchPartner: "version": "v1" }' output: '{ - "data": [ - { - "isActive": true - } - ] }' Partner_SearchPartner_type__Smoke_asc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -59,15 +56,11 @@ createSearchPartner: "version": "v1" }' output: '{ - "data": [ - { - "isActive": true - } - ] }' Partner_SearchPartner_type_contains_Smoke_desc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -92,11 +85,6 @@ createSearchPartner: "version": "v1" }' output: '{ - "data": [ - { - "isActive": true - } - ] }' Partner_SearchPartner_type_equals_Smoke_desc_sid: endPoint: /v1/partnermanager/partners/search @@ -233,6 +221,7 @@ createSearchPartner: Partner_SearchPartner_columnname_id_desc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -257,15 +246,12 @@ createSearchPartner: "version": "v1" }' output: '{ - "data": [ - { - "isActive": true - } - ] + }' Partner_SearchPartner_columnname_id_asc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -290,11 +276,6 @@ createSearchPartner: "version": "v1" }' output: '{ - "data": [ - { - "isActive": true - } - ] }' Partner_SearchPartner_columnname_address_asc_sid: endPoint: /v1/partnermanager/partners/search @@ -328,6 +309,7 @@ createSearchPartner: Partner_SearchPartner_columnname_address_desc_sid: endPoint: /v1/partnermanager/partners/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/search/searchPartner outputTemplate: partner/search/searchPartnerResult @@ -383,8 +365,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-355", - "message": "No model found for the @22333sssdddfghmnjkiouyttrsx76 Receivedd" + "errorCode": "PMS-MSD-355" } ] }' @@ -417,8 +398,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-355", - "message": "No model found for the @22333sssdddfghmnjkiouyttrsx76 Receivedd" + "errorCode": "PMS-MSD-355" } ] }' @@ -451,8 +431,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-355", - "message": "No model found for the @22333sssdddfghmnjkiouyttrsx76 Receivedd" + "errorCode": "PMS-MSD-355" } ] }' @@ -485,8 +464,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-310", - "message": "Invalid column received:a@@@334455667788s" + "errorCode": "PMS-MSD-310" } ] }' @@ -519,8 +497,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' @@ -553,8 +530,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -587,8 +563,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -621,8 +596,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' @@ -655,8 +629,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field mo@@@del" + "errorCode": "PMS-MSD-357" } ] }' @@ -689,8 +662,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/PrintPartner/GetPartnerDetails/GetPartnerDetails.yml b/automationtests/src/main/resources/partner/PrintPartner/GetPartnerDetails/GetPartnerDetails.yml index 96711c49dae..2d41411599f 100644 --- a/automationtests/src/main/resources/partner/PrintPartner/GetPartnerDetails/GetPartnerDetails.yml +++ b/automationtests/src/main/resources/partner/PrintPartner/GetPartnerDetails/GetPartnerDetails.yml @@ -2,6 +2,7 @@ GetPartnerDetails: Partner_GetPartnerDetails_allValid_smoke: endPoint: /v1/partnermanager/partners/v2 role: partner + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: partner/PrintPartner/GetPartnerDetails/GetPartnerDetails outputTemplate: partner/PrintPartner/GetPartnerDetails/GetPartnerDetailsResult diff --git a/automationtests/src/main/resources/partner/PrintPartner/UploadCert/UploadCert.yml b/automationtests/src/main/resources/partner/PrintPartner/UploadCert/UploadCert.yml index abade460cc3..8da1920121e 100644 --- a/automationtests/src/main/resources/partner/PrintPartner/UploadCert/UploadCert.yml +++ b/automationtests/src/main/resources/partner/PrintPartner/UploadCert/UploadCert.yml @@ -2,6 +2,7 @@ UploadPartnerCert: Partner_UploadCert_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/PrintPartner/UploadCert/uploadCert outputTemplate: partner/PrintPartner/UploadCert/uploadCertResult diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchDeviceType/createSearchDeviceType.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchDeviceType/createSearchDeviceType.yml index af4e9205306..89fbcb999df 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchDeviceType/createSearchDeviceType.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchDeviceType/createSearchDeviceType.yml @@ -154,8 +154,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' @@ -188,8 +187,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -222,8 +220,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -256,8 +253,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' @@ -290,8 +286,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field mo@@@del" + "errorCode": "PMS-MSD-357" } ] }' @@ -324,8 +319,7 @@ createSearchDeviceType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartner/createSearchPartner.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartner/createSearchPartner.yml index 1c2ce6237d1..c1ec1b36229 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartner/createSearchPartner.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartner/createSearchPartner.yml @@ -415,8 +415,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-310", - "message": "Invalid column received : a@@@334455667788s" + "errorCode": "PMS-MSD-310" } ] }' @@ -449,8 +448,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' @@ -483,8 +481,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -517,8 +514,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -551,8 +547,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' @@ -585,8 +580,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field mo@@@del" + "errorCode": "PMS-MSD-357" } ] }' @@ -619,8 +613,7 @@ createSearchPartner: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiKey/SearchPartnerApiKey.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiKey/SearchPartnerApiKey.yml index 8d5d630587b..201aaade954 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiKey/SearchPartnerApiKey.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiKey/SearchPartnerApiKey.yml @@ -123,8 +123,7 @@ SearchPartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS-MSD-313", - "message": "Invalid pagination value received pagestart:0 and pagefetch:0" + "errorCode": "PMS-MSD-313" } ] }' @@ -156,8 +155,7 @@ SearchPartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field abcd" + "errorCode": "PMS-MSD-357" } ] }' @@ -189,8 +187,7 @@ SearchPartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type abcd is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -222,8 +219,7 @@ SearchPartnerApiKey: output: '{ "errors": [ { - "errorCode": "PMS-MSD-310", - "message": "Invalid column received : abcd" + "errorCode": "PMS-MSD-310" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/SearchPartnerApiRequestKey.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/SearchPartnerApiRequestKey.yml index 754df577004..8733412cea9 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/SearchPartnerApiRequestKey.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/SearchPartnerApiRequestKey.yml @@ -2,6 +2,7 @@ SearchPartnerApiRequestKey: Partner_SearchPartnerApiRequestKey_AllValid_Smoke: endPoint: /v1/partnermanager/partners/apikey/request/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKey outputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult @@ -38,6 +39,7 @@ SearchPartnerApiRequestKey: Partner_SearchPartnerApiRequestKey_Only_SortCriteria_Smoke: endPoint: /v1/partnermanager/partners/apikey/request/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKey outputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult @@ -58,6 +60,7 @@ SearchPartnerApiRequestKey: Partner_SearchPartnerApiRequestKey_Only_PaginationCriteria_Smoke: endPoint: /v1/partnermanager/partners/apikey/request/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKey outputTemplate: partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult @@ -116,8 +119,7 @@ SearchPartnerApiRequestKey: output: '{ "errors": [ { - "errorCode": "PMS-MSD-313", - "message": "Invalid pagination value received pagestart:0 and pagefetch:0" + "errorCode": "PMS-MSD-313" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult.hbs b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult.hbs index c3e73352876..748df938dc3 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult.hbs +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerApiRequestKey/searchPartnerApiRequestKeyResult.hbs @@ -8,5 +8,6 @@ {{#unless @last}},{{/unless}} {{/each}} ] - } + }, + "errors": "$IGNORE$" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerType/createSearchPartnerType.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerType/createSearchPartnerType.yml index ffa718641bb..bfde52b2140 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerType/createSearchPartnerType.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPartnerType/createSearchPartnerType.yml @@ -285,7 +285,7 @@ createSearchPartnerType: role: partner restMethod: post inputTemplate: partner/SearchAPIs/SearchPartnerType/createSearchPartnerType - outputTemplate: partner/SearchAPIs/SearchPartnerType/createSearchPartnerTypeResult + outputTemplate: partner/error input: '{ "filters": [ { @@ -306,13 +306,18 @@ createSearchPartnerType: "version": "v1" }' output: '{ + "errors": [ + { + "errorCode": "PMS-MSD-314" + } + ] }' Partner_SearchPartnerType_with_invalid_value_startswith: endPoint: /v1/partnermanager/partners/partnertype/search role: partner restMethod: post inputTemplate: partner/SearchAPIs/SearchPartnerType/createSearchPartnerType - outputTemplate: partner/SearchAPIs/SearchPartnerType/createSearchPartnerTypeResult + outputTemplate: partner/error input: '{ "filters": [ { @@ -333,6 +338,11 @@ createSearchPartnerType: "version": "v1" }' output: '{ + "errors": [ + { + "errorCode": "PMS-MSD-314" + } + ] }' Partner_SearchPartnerType_with_invalid_columnName: endPoint: /v1/partnermanager/partners/partnertype/search @@ -362,8 +372,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-310", - "message": "Invalid column received : co@@@@@343455666###4$$%%de" + "errorCode": "PMS-MSD-310" } ] }' @@ -395,8 +404,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' @@ -428,8 +436,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -461,8 +468,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -494,8 +500,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' @@ -527,8 +532,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type mo@@@del is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -560,8 +564,7 @@ createSearchPartnerType: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicy/createSearchPolicy.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicy/createSearchPolicy.yml index 075b647992a..f92c3582045 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicy/createSearchPolicy.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicy/createSearchPolicy.yml @@ -2,6 +2,7 @@ createSearchPolicy: Partner_SearchPolicy_AllValid_Smoke: endPoint: /partnermanagement/v1/policies/policy/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/Search/SearchPolicy/createSearchPolicy outputTemplate: partner/Search/SearchPolicy/createSearchPolicyResult @@ -17,6 +18,7 @@ createSearchPolicy: Partner_SearchPolicy_Only_FilterCriteria_Smoke: endPoint: /partnermanagement/v1/policies/policy/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/Search/SearchPolicy/createSearchPolicy outputTemplate: partner/Search/SearchPolicy/createSearchPolicyResult @@ -46,6 +48,7 @@ createSearchPolicy: Partner_SearchPolicy_Only_SortaCriteria_Smoke: endPoint: /partnermanagement/v1/policies/policy/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/Search/SearchPolicy/createSearchPolicy outputTemplate: partner/Search/SearchPolicy/createSearchPolicyResult @@ -67,6 +70,7 @@ createSearchPolicy: Partner_SearchPolicy_Only_PaginationCriteria_Smoke: endPoint: /partnermanagement/v1/policies/policy/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/Search/SearchPolicy/createSearchPolicy outputTemplate: partner/Search/SearchPolicy/createSearchPolicyResult @@ -348,6 +352,7 @@ createSearchPolicy: Partner_SearchPolicy_with_invalid_value_startswith: endPoint: /partnermanagement/v1/policies/policy/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/Search/SearchPolicy/createSearchPolicy outputTemplate: partner/Search/SearchPolicy/createSearchPolicyResult @@ -402,8 +407,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "KER-MSD-310", - "message": "Invalid column received:n@@@@@343e" + "errorCode": "KER-MSD-310" } ] }' @@ -464,8 +468,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -498,8 +501,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -532,8 +534,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' @@ -566,8 +567,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field n@@@@3334$$$e" + "errorCode": "PMS-MSD-357" } ] }' @@ -600,8 +600,7 @@ createSearchPolicy: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup.yml index 9b5c591008b..43761fc344f 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup.yml @@ -75,6 +75,7 @@ createSearchPolicyGroup: Partner_SearchPolicyGroup_type_contains_Smoke_asc_sid: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -126,11 +127,11 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_type_equals_Smoke_desc_sid: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -154,11 +155,11 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_type_equals_Smoke_asc_sid: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -187,6 +188,7 @@ createSearchPolicyGroup: Partner_SearchPolicyGroup_type_startswith_Smoke_asc_sid: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -210,11 +212,11 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_type_startswith_Smoke_desc_sid: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -238,11 +240,11 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_columnname_id_desc_smoke: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -266,11 +268,11 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_columnname_id_asc_smoke: endPoint: /v1/policymanager/policies/group/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroup outputTemplate: partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult @@ -294,7 +296,6 @@ createSearchPolicyGroup: "version": "v1" }' output: '{ - "isActive": true }' Partner_SearchPolicyGroup_with_missing_columnName: @@ -325,8 +326,7 @@ createSearchPolicyGroup: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult.hbs b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult.hbs index 0d69ee0dc7a..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult.hbs +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchPolicyGroup/createSearchPolicyGroupResult.hbs @@ -1,12 +1,2 @@ { - "response": { - "data": [ - {{#each data}} - { - "isActive": {{isActive}} - } - {{#unless @last}},{{/unless}} - {{/each}} - ] - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchRegisteredDevice/createSearchRegisteredDevice.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchRegisteredDevice/createSearchRegisteredDevice.yml index d5ee877b409..ad1e917eb02 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchRegisteredDevice/createSearchRegisteredDevice.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchRegisteredDevice/createSearchRegisteredDevice.yml @@ -319,8 +319,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "KER-MSD-355", - "message": "No model found for the b692b@@@3344##$$$f Receivedd" + "errorCode": "KER-MSD-355" } ] }' @@ -353,8 +352,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "KER-MSD-355", - "message": "No model found for the b692b@@@3344##$$$f Receivedd" + "errorCode": "KER-MSD-355" } ] }' @@ -387,8 +385,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "KER-MSD-355", - "message": "No model found for the b692b@@@3344##$$$f Receivedd" + "errorCode": "KER-MSD-355" } ] }' @@ -421,8 +418,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "KER-MSD-310", - "message": "Invalid column received:D@@@@##3334FFFGare" + "errorCode": "KER-MSD-310" } ] }' @@ -455,8 +451,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-311", - "message": "Column is missing in request" + "errorCode": "PMS-MSD-311" } ] }' @@ -489,8 +484,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-312", - "message": "Filter type is missing" + "errorCode": "PMS-MSD-312" } ] }' @@ -523,8 +517,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -557,8 +550,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-358", - "message": "Sort type dc is not supported" + "errorCode": "PMS-MSD-358" } ] }' @@ -591,8 +583,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-357", - "message": "Invalid sort field c@@@#333DDSSD" + "errorCode": "PMS-MSD-357" } ] }' @@ -625,8 +616,7 @@ createSearchRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS-MSD-314", - "message": "Missing sort field or sort type values" + "errorCode": "PMS-MSD-314" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric.yml b/automationtests/src/main/resources/partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric.yml index 98670f41b2f..99838b046cb 100644 --- a/automationtests/src/main/resources/partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric.yml +++ b/automationtests/src/main/resources/partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric.yml @@ -2,6 +2,7 @@ createSearchSecureBiometric: Partner_SearchSecureBiometric_AllValid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric outputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometricResult @@ -40,6 +41,7 @@ createSearchSecureBiometric: Partner_SearchSecureBiometric_Only_SortCriteria_Smoke: endPoint: /v1/partnermanager/securebiometricinterface/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric outputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometricResult @@ -59,6 +61,7 @@ createSearchSecureBiometric: Partner_SearchSecureBiometric_Only_PaginationCriteria_Smoke: endPoint: /v1/partnermanager/securebiometricinterface/search role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometric outputTemplate: partner/SearchAPIs/SearchSecureBiometric/createSearchSecureBiometricResult diff --git a/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/UpdatePolicyAgainstApiKey.yml b/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/UpdatePolicyAgainstApiKey.yml index c8cbd02097b..3b5344a65e3 100644 --- a/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/UpdatePolicyAgainstApiKey.yml +++ b/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/UpdatePolicyAgainstApiKey.yml @@ -2,6 +2,7 @@ UpdatePolicyAgainstApiKey: Partner_UpdatePolicyAgainstApiKey_allValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/apikey/{apiKey}/policies role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKey outputTemplate: partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKeyResult @@ -13,7 +14,6 @@ UpdatePolicyAgainstApiKey: "requesttime": "$TIMESTAMP$" }' output: '{ - "message": "Given apikey updated with policy successfully. " }' Partner_UpdatePolicyAgainstApiKey_invalid_partnerId: endPoint: /v1/partnermanager/partners/{partnerId}/apikey/{apiKey}/policies @@ -31,8 +31,7 @@ UpdatePolicyAgainstApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_50", - "message": "Given apikey,partner and policy mapping not exists." + "errorCode": "PMS_PMP_50" } ] }' @@ -52,8 +51,7 @@ UpdatePolicyAgainstApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_50", - "message": "Given apikey,partner and policy mapping not exists." + "errorCode": "PMS_PMP_50" } ] }' @@ -73,8 +71,7 @@ UpdatePolicyAgainstApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_50", - "message": "Given apikey,partner and policy mapping not exists." + "errorCode": "PMS_PMP_50" } ] }' @@ -94,8 +91,7 @@ UpdatePolicyAgainstApiKey: output: '{ "errors": [ { - "errorCode": "PMS_PMP_014", - "message": "Policy does not existINVALID" + "errorCode": "PMS_PMP_014" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKeyResult.hbs b/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKeyResult.hbs index ba212b70ab8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKeyResult.hbs +++ b/automationtests/src/main/resources/partner/UpdatePolicyAgainstApiKey/updatePolicyAgainstApiKeyResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/UpdatePolicyGroupForPartner/UpdatePolicyGroupForPartner.yml b/automationtests/src/main/resources/partner/UpdatePolicyGroupForPartner/UpdatePolicyGroupForPartner.yml index 521699e1a1f..1902baba51e 100644 --- a/automationtests/src/main/resources/partner/UpdatePolicyGroupForPartner/UpdatePolicyGroupForPartner.yml +++ b/automationtests/src/main/resources/partner/UpdatePolicyGroupForPartner/UpdatePolicyGroupForPartner.yml @@ -2,6 +2,7 @@ UpdatePolicyGroupForPartner: Partner_UpdatePolicyGroupForPartner_AllValid_smoke: endPoint: /v1/partnermanager/partners/{partnerId}/policygroup/{policygroupName} role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/UpdatePolicyGroupForPartner/updatePolicyGroupForPartner outputTemplate: partner/UpdatePolicyGroupForPartner/updatePolicyGroupForPartnerResult @@ -10,7 +11,7 @@ UpdatePolicyGroupForPartner: "policygroupName": "update_policy_group" }' output: '{ - "response": "Success" + "response": "$IGNORE$" }' Partner_UpdatePolicyGroupForPartner_InValid_ApprovedPartner: endPoint: /v1/partnermanager/partners/{partnerId}/policygroup/{policygroupName} @@ -25,8 +26,7 @@ UpdatePolicyGroupForPartner: output: '{ "errors": [ { - "errorCode": "PMS_PRT_050", - "message": "Policy group cannot be updated for approved partner" + "errorCode": "PMS_PRT_050" } ] }' @@ -43,8 +43,7 @@ UpdatePolicyGroupForPartner: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' @@ -61,8 +60,7 @@ UpdatePolicyGroupForPartner: output: '{ "errors": [ { - "errorCode": "PMS_PRT_002", - "message": "Policy group does not exist" + "errorCode": "PMS_PRT_002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml b/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml index 310ace3dcea..879f459c5e3 100644 --- a/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml +++ b/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml @@ -12,7 +12,6 @@ requetAPIKey: }' output: ' { "apiRequestId": "254785", - "message": "PartnerAPIKeyRequest successfully submitted and approved.", "apikeyId": "254785" }' @@ -30,8 +29,7 @@ requetAPIKey: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs b/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs index 08de5cbd505..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/AddContacts/AddContact.yml b/automationtests/src/main/resources/partner/authPartner/AddContacts/AddContact.yml index 499d831d5b1..7e266d37218 100644 --- a/automationtests/src/main/resources/partner/authPartner/AddContacts/AddContact.yml +++ b/automationtests/src/main/resources/partner/authPartner/AddContacts/AddContact.yml @@ -2,6 +2,7 @@ addContact: Partner_AddContact_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/Tech-123/contact/add role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/authPartner/AddContacts/addContact outputTemplate: partner/authPartner/AddContacts/addContactResult @@ -13,7 +14,6 @@ addContact: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Contacts details added successfully." }' Partner_AddContact_Missing_InputParameter_address: endPoint: /v1/partnermanager/partners/Tech-123/contact/add @@ -53,8 +53,7 @@ addContact: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.contactNumber" + "errorCode": "PMS_COR_001" } ] }' @@ -74,8 +73,7 @@ addContact: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.emailId" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/AddContacts/addContactResult.hbs b/automationtests/src/main/resources/partner/authPartner/AddContacts/addContactResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/AddContacts/addContactResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/AddContacts/addContactResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/ApproveAPIKey.yml b/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/ApproveAPIKey.yml index 6d493e0119a..b39d0906dc1 100644 --- a/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/ApproveAPIKey.yml +++ b/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/ApproveAPIKey.yml @@ -2,6 +2,7 @@ ApproveAPIKey: Partner_ApproveRejectPartnerAPIKeyReq_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/policy/{mappingkey} role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/authPartner/ApproveAPIKey/approveAPIKey outputTemplate: partner/authPartner/ApproveAPIKey/approveAPIKeyResult @@ -11,7 +12,6 @@ ApproveAPIKey: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Policy mapping approved successfully" }' Partner_ApproveRejectPartnerAPIKeyReq_Missing_InputParameter_status: @@ -28,8 +28,7 @@ ApproveAPIKey: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.status" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/approveAPIKeyResult.hbs b/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/approveAPIKeyResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/approveAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/ApproveAPIKey/approveAPIKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/CreatePartner/CreatePartner.yml b/automationtests/src/main/resources/partner/authPartner/CreatePartner/CreatePartner.yml index f57769b004d..c463a361bbd 100644 --- a/automationtests/src/main/resources/partner/authPartner/CreatePartner/CreatePartner.yml +++ b/automationtests/src/main/resources/partner/authPartner/CreatePartner/CreatePartner.yml @@ -38,8 +38,7 @@ createPartnerSelfRegistration: output: ' { "errors": [ { - "errorCode": "PMS_PRT_051", - "message": "A Partner is already registered with the same Id" + "errorCode": "PMS_PRT_051" } ] }' @@ -82,8 +81,7 @@ createPartnerSelfRegistration: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.partnerId" + "errorCode": "PMS_COR_001" } ] }' @@ -133,8 +131,7 @@ createPartnerSelfRegistration: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.contactNumber" + "errorCode": "PMS_COR_001" } ] }' @@ -182,8 +179,7 @@ createPartnerSelfRegistration: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.partnerType" + "errorCode": "PMS_COR_001" } ] }' diff --git a/automationtests/src/main/resources/partner/authPartner/GetCertificate/GetCert.yml b/automationtests/src/main/resources/partner/authPartner/GetCertificate/GetCert.yml index f2b414f3ef5..a29a08941da 100644 --- a/automationtests/src/main/resources/partner/authPartner/GetCertificate/GetCert.yml +++ b/automationtests/src/main/resources/partner/authPartner/GetCertificate/GetCert.yml @@ -23,8 +23,7 @@ GetPartnerCert: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' @@ -40,8 +39,7 @@ GetPartnerCert: output: '{ "errors": [ { - "errorCode": "PMS_PRT_108", - "message": "Certficate is not uploaded for the selected partner." + "errorCode": "PMS_PRT_108" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/GetPartner/GetPartner.yml b/automationtests/src/main/resources/partner/authPartner/GetPartner/GetPartner.yml index 8f6b9bf851e..4afb9825a95 100644 --- a/automationtests/src/main/resources/partner/authPartner/GetPartner/GetPartner.yml +++ b/automationtests/src/main/resources/partner/authPartner/GetPartner/GetPartner.yml @@ -11,8 +11,7 @@ GetPartnerDetails: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' diff --git a/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/RejectAPIKey.yml b/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/RejectAPIKey.yml index ef703dac60d..5067e83b86c 100644 --- a/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/RejectAPIKey.yml +++ b/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/RejectAPIKey.yml @@ -2,6 +2,7 @@ RejectAPIKey: Partner_ApproveRejectPartnerAPIKeyReq_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/policy/{mappingkey} role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/authPartner/RejectAPIKey/rejectAPIKey outputTemplate: partner/authPartner/RejectAPIKey/rejectAPIKeyResult @@ -11,7 +12,6 @@ RejectAPIKey: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Policy mapping rejected successfully" }' Partner_ApproveRejectPartnerAPIKeyReq_Missing_InputParameter_status: @@ -28,8 +28,7 @@ RejectAPIKey: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.status" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/rejectAPIKeyResult.hbs b/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/rejectAPIKeyResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/rejectAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/RejectAPIKey/rejectAPIKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/RequestAPIKey.yml b/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/RequestAPIKey.yml index 30968b1f1bf..b1ed3f2c842 100644 --- a/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/RequestAPIKey.yml +++ b/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/RequestAPIKey.yml @@ -2,6 +2,7 @@ RequestAPIKeyForAuthPartner: Partner_SubmitPartnerApiKeyRequest_Rejection_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/partners/Tech-123/policy/map role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/authPartner/RequestAPIKey/requestApiKey outputTemplate: partner/authPartner/RequestAPIKey/requestAPIKeyResult @@ -11,11 +12,11 @@ RequestAPIKeyForAuthPartner: "requesttime": "$TIMESTAMP$" }' output: '{ - "message": "Policy mapping request submitted successfully." }' Partner_SubmitPartnerApiKeyRequest_Approval_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/partners/Tech-123/policy/map role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/authPartner/RequestAPIKey/requestApiKey outputTemplate: partner/authPartner/RequestAPIKey/requestAPIKeyResult @@ -25,7 +26,6 @@ RequestAPIKeyForAuthPartner: "requesttime": "$TIMESTAMP$" }' output: '{ - "message": "Policy mapping request submitted successfully." }' Partner_SubmitPartnerApiKeyRequest_invalid_policyName: endPoint: /v1/partnermanager/partners/Tech-123/policy/map @@ -59,8 +59,7 @@ RequestAPIKeyForAuthPartner: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/requestAPIKeyResult.hbs b/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/requestAPIKeyResult.hbs index abcbd48dff4..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/requestAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/RequestAPIKey/requestAPIKeyResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/authPartner/UpdatePartner/UpdatePartner.yml b/automationtests/src/main/resources/partner/authPartner/UpdatePartner/UpdatePartner.yml index 33993ae2b85..6328462b467 100644 --- a/automationtests/src/main/resources/partner/authPartner/UpdatePartner/UpdatePartner.yml +++ b/automationtests/src/main/resources/partner/authPartner/UpdatePartner/UpdatePartner.yml @@ -29,8 +29,7 @@ updatePartnerDetails: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' @@ -49,8 +48,7 @@ updatePartnerDetails: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.address" + "errorCode": "PMS_COR_001" } ] }' @@ -69,8 +67,7 @@ updatePartnerDetails: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.contactNumber" + "errorCode": "PMS_COR_001" } ] }' diff --git a/automationtests/src/main/resources/partner/authPartner/UploadCertificate/UploadCertificate.yml b/automationtests/src/main/resources/partner/authPartner/UploadCertificate/UploadCertificate.yml index 63e0d635254..c3715fd9d7f 100644 --- a/automationtests/src/main/resources/partner/authPartner/UploadCertificate/UploadCertificate.yml +++ b/automationtests/src/main/resources/partner/authPartner/UploadCertificate/UploadCertificate.yml @@ -2,6 +2,7 @@ uploadCACert: Partner_UploadCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/authPartner/UploadCertificate/uploadCertificate outputTemplate: partner/authPartner/UploadCertificate/uploadCertificateResult @@ -9,7 +10,6 @@ uploadCACert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' Partner_UploadCACertificate_UploadAgain_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload diff --git a/automationtests/src/main/resources/partner/authPartner/UploadCertificate/uploadCertificateResult.hbs b/automationtests/src/main/resources/partner/authPartner/UploadCertificate/uploadCertificateResult.hbs index 8b1342210ff..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/authPartner/UploadCertificate/uploadCertificateResult.hbs +++ b/automationtests/src/main/resources/partner/authPartner/UploadCertificate/uploadCertificateResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "status": "{{status}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml b/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml index 325b582dc2e..5a0857c3487 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/APIKeyAutoApproval.yml @@ -12,6 +12,5 @@ requetAPIKey: }' output: ' { "apiRequestId": "254785", - "message": "PartnerAPIKeyRequest successfully submitted and approved.", "apikeyId": "254785" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs index 08de5cbd505..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/APIKeyAutoApproval/apiKeyAutoApprovalResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/AddBioExtractors.yml b/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/AddBioExtractors.yml index 43105c67710..54577c76461 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/AddBioExtractors.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/AddBioExtractors.yml @@ -2,6 +2,7 @@ addBioExtractors: Partner_AddBioExtractors_MosipDataSharePolicy_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/{partnerId}/bioextractors/{policyId} role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/AddBioExtractors/addBioExtractors outputTemplate: partner/credentialPartner/AddBioExtractors/addBioExtractorsResult @@ -10,11 +11,11 @@ addBioExtractors: "policyId":"MDSP", "requesttime": "$TIMESTAMP$" }' - output: '{"message":"Extractors added successfully."}' Partner_AddBioExtractors_MosipPolicy_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/{partnerId}/bioextractors/{policyId} role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/AddBioExtractors/addBioExtractors outputTemplate: partner/credentialPartner/AddBioExtractors/addBioExtractorsResult @@ -23,7 +24,6 @@ addBioExtractors: "policyId":"$ID:DefinePolicy_All_Valid_Smoke_sid_id$", "requesttime": "$TIMESTAMP$" }' - output: '{"message":"Extractors added successfully."}' Partner_AddBioExtractors_invalid_policyId: endPoint: /v1/partnermanager/partners/{partnerId}/bioextractors/{policyId} @@ -39,8 +39,7 @@ addBioExtractors: output: '{ "errors": [ { - "errorCode": "PMS_PRT_061", - "message": "Partner policy mapping not exists." + "errorCode": "PMS_PRT_061" } ] }' @@ -59,8 +58,7 @@ addBioExtractors: output: '{ "errors": [ { - "errorCode": "PMS_PRT_061", - "message": "Partner policy mapping not exists." + "errorCode": "PMS_PRT_061" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/addBioExtractorsResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/addBioExtractorsResult.hbs index 9f8a4a538a5..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/addBioExtractorsResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/AddBioExtractors/addBioExtractorsResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{message}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/ApproveAPIKey.yml b/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/ApproveAPIKey.yml index 72bf5b55aa4..3c7f8e6e356 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/ApproveAPIKey.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/ApproveAPIKey.yml @@ -2,6 +2,7 @@ ApproveAPIKey: Partner_ApproveRejectPartnerAPIKeyReq_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/policy/{mappingkey} role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/credentialPartner/ApproveAPIKey/approveAPIKey outputTemplate: partner/credentialPartner/ApproveAPIKey/approveAPIKeyResult @@ -28,8 +29,7 @@ ApproveAPIKey: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.status" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/approveAPIKeyResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/approveAPIKeyResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/approveAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/ApproveAPIKey/approveAPIKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/GetPartner/GetPartner.yml b/automationtests/src/main/resources/partner/credentialPartner/GetPartner/GetPartner.yml index 85194f908ca..f16f4aad251 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/GetPartner/GetPartner.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/GetPartner/GetPartner.yml @@ -25,8 +25,7 @@ getPartnerCert: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' diff --git a/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/RejectAPIKey.yml b/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/RejectAPIKey.yml index 2405ce4e176..6dc155c88fb 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/RejectAPIKey.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/RejectAPIKey.yml @@ -2,6 +2,7 @@ RejectAPIKey: Partner_ApproveRejectPartnerAPIKeyReq_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/policy/{mappingkey} role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/credentialPartner/RejectAPIKey/rejectAPIKey outputTemplate: partner/credentialPartner/RejectAPIKey/rejectAPIKeyResult @@ -11,7 +12,6 @@ RejectAPIKey: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Policy mapping rejected successfully" }' Partner_ApproveRejectPartnerAPIKeyReq_Missing_InputParameter_status: @@ -28,8 +28,7 @@ RejectAPIKey: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.status" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/rejectAPIKeyResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/rejectAPIKeyResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/rejectAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/RejectAPIKey/rejectAPIKeyResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/RequestAPIKey.yml b/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/RequestAPIKey.yml index 42d6c2cc59a..d79329be38c 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/RequestAPIKey.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/RequestAPIKey.yml @@ -2,6 +2,7 @@ RequestAPIKeyCredentialPartner: Partner_CredPartnerApiKeyRequest_Approval_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/partners/MOVP/policy/map role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/RequestAPIKey/requestApiKey outputTemplate: partner/credentialPartner/RequestAPIKey/requestAPIKeyResult @@ -11,11 +12,11 @@ RequestAPIKeyCredentialPartner: "requesttime": "$TIMESTAMP$" }' output: ' { - "message": "Policy mapping request submitted successfully." }' Partner_CredPartnerApiKeyRequest_Rejection_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/partners/MOVP/policy/map role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/RequestAPIKey/requestApiKey outputTemplate: partner/credentialPartner/RequestAPIKey/requestAPIKeyResult @@ -25,5 +26,4 @@ RequestAPIKeyCredentialPartner: "requesttime": "$TIMESTAMP$" }' output: ' { - "message": "Policy mapping request submitted successfully." }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/requestAPIKeyResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/requestAPIKeyResult.hbs index 1969a7e3c0e..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/requestAPIKeyResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/RequestAPIKey/requestAPIKeyResult.hbs @@ -1,4 +1,2 @@ { - "message": "{{message}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/UploadCert/uploadCertResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/UploadCert/uploadCertResult.hbs index 51a54105dc5..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/UploadCert/uploadCertResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/UploadCert/uploadCertResult.hbs @@ -1,4 +1,2 @@ { - "response": { - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/UploadCertificate.yml b/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/UploadCertificate.yml index d2055db16c3..b2f9c8e762d 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/UploadCertificate.yml +++ b/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/UploadCertificate.yml @@ -2,6 +2,7 @@ uploadCert: Partner_UploadCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/UploadCertificate/uploadCertificate outputTemplate: partner/credentialPartner/UploadCertificate/uploadCertificateResult @@ -9,11 +10,11 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' Partner_UploadSUBCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/credentialPartner/UploadCertificate/uploadSUBCACertificate outputTemplate: partner/credentialPartner/UploadCertificate/uploadCertificateResult @@ -21,5 +22,4 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' diff --git a/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/uploadCertificateResult.hbs b/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/uploadCertificateResult.hbs index 8b1342210ff..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/uploadCertificateResult.hbs +++ b/automationtests/src/main/resources/partner/credentialPartner/UploadCertificate/uploadCertificateResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "status": "{{status}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/MapDeviceWithSBI.yml b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/MapDeviceWithSBI.yml index dd4e8b3acb6..f01d8fb7dba 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/MapDeviceWithSBI.yml +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/MapDeviceWithSBI.yml @@ -2,6 +2,7 @@ MapDeviceWithSBI: Partner_MapDeviceWithSBI_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/securebiometricinterface/devicedetails/map role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBI outputTemplate: partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult @@ -10,11 +11,11 @@ MapDeviceWithSBI: "sbiId": "$ID:SaveSecureBiometricInterface_All_Valid_Smoke_sid_id$" }' output: '{ - "response": "Success" }' Partner_MapDeviceWithSBI_Multiple_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/securebiometricinterface/devicedetails/map role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBI outputTemplate: partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult @@ -23,5 +24,4 @@ MapDeviceWithSBI: "sbiId": "$ID:SaveSecureBiometricInterface_Valid_Smoke_sid_id$" }' output: '{ - "response": "Success" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult.hbs b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult.hbs +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/MapDeviceWithSBI/mapDeviceWithSBIResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/ApproveSecureBiometricInterface.yml b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/ApproveSecureBiometricInterface.yml index dffe23a57b5..badcf1bceeb 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/ApproveSecureBiometricInterface.yml +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/ApproveSecureBiometricInterface.yml @@ -2,6 +2,7 @@ ApproveSecureBiometricInterface: Partner_ApproveSecureBiometricInterface_All_Valid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterfaceResult @@ -12,7 +13,7 @@ ApproveSecureBiometricInterface: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Secure biometric details approved successfully." + "response": "$IGNORE" }' Partner_ApproveSecureBiometricInterface_Missing_InputParameter_approvalStatus: @@ -30,8 +31,7 @@ ApproveSecureBiometricInterface: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.approvalStatus" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterfaceResult.hbs b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterfaceResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterfaceResult.hbs +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/approve/approveSecureBiometricInterfaceResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/create/CreateSecureBiometricInterface.yml b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/create/CreateSecureBiometricInterface.yml index e66d67be424..4fabe21ee29 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/create/CreateSecureBiometricInterface.yml +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/create/CreateSecureBiometricInterface.yml @@ -2,6 +2,7 @@ createSaveSecureBiometricInterface: Partner_SaveSecureBiometricInterface_All_Valid_Smoke_sid: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/SecureBiometricInterface/create/createSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/create/createSecureBiometricInterfaceResult @@ -18,6 +19,7 @@ createSaveSecureBiometricInterface: Partner_SaveSecureBiometricInterface_Valid_Smoke_sid: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/SecureBiometricInterface/create/createSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/create/createSecureBiometricInterfaceResult @@ -48,8 +50,7 @@ createSaveSecureBiometricInterface: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.swVersion" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/RejectSecureBiometricInterface.yml b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/RejectSecureBiometricInterface.yml index 62cb3c03396..39636c2c2f5 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/RejectSecureBiometricInterface.yml +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/RejectSecureBiometricInterface.yml @@ -2,6 +2,7 @@ RejectSecureBiometricInterface: Partner_RejectSecureBiometricInterface_All_Valid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult @@ -12,11 +13,11 @@ RejectSecureBiometricInterface: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Secure biometric details rejected successfully." }' Partner_RejectSecureBiometricInterface_Valid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult @@ -27,7 +28,6 @@ RejectSecureBiometricInterface: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Secure biometric details rejected successfully." }' Partner_RejectSecureBiometricInterface_Missing_InputParameter_approvalStatus: endPoint: /v1/partnermanager/securebiometricinterface @@ -44,8 +44,7 @@ RejectSecureBiometricInterface: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.approvalStatus" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult.hbs b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult.hbs +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/reject/rejectSecureBiometricInterfaceResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/update/UpdateSecureBiometricInterface.yml b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/update/UpdateSecureBiometricInterface.yml index ce6e197a289..58145f023a9 100644 --- a/automationtests/src/main/resources/partner/device/SecureBiometricInterface/update/UpdateSecureBiometricInterface.yml +++ b/automationtests/src/main/resources/partner/device/SecureBiometricInterface/update/UpdateSecureBiometricInterface.yml @@ -2,6 +2,7 @@ createUpdateSecureBiometricInterface: Partner_UpdateSecureBiometricInterface_All_Valid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface role: partner + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: partner/device/SecureBiometricInterface/update/updateSecureBiometricInterface outputTemplate: partner/device/SecureBiometricInterface/update/updateSecureBiometricInterfaceResult @@ -17,7 +18,6 @@ createUpdateSecureBiometricInterface: "requesttime": "$TIMESTAMP$" }' output: '{ - "id": "$ID:SaveSecureBiometricInterface_All_Valid_Smoke_sid_id$" }' Partner_UpdateSecureBiometricInterface_AfterReject_All_Valid_Smoke: endPoint: /v1/partnermanager/securebiometricinterface @@ -59,8 +59,7 @@ createUpdateSecureBiometricInterface: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.id" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/deregistration/DeRegisterDevice.yml b/automationtests/src/main/resources/partner/device/deregistration/DeRegisterDevice.yml index acaef3d2e9a..233d9adb2d9 100644 --- a/automationtests/src/main/resources/partner/device/deregistration/DeRegisterDevice.yml +++ b/automationtests/src/main/resources/partner/device/deregistration/DeRegisterDevice.yml @@ -2,6 +2,7 @@ createDeRegisterDevice: Partner_DeRegisterDevice_All_Valid_Smoke: endPoint: /v1/partnermanager/registereddevices/deregister role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/deregistration/deRegisterDevice outputTemplate: partner/device/deregistration/deRegisterDeviceResult @@ -11,6 +12,5 @@ createDeRegisterDevice: "requesttime": "$TIMESTAMP$" }' output: '{ - "id": "Device details approved successfully." }' diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/ApproveFtpChipDetail.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/ApproveFtpChipDetail.yml index f69727c9518..13479c6eec2 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/ApproveFtpChipDetail.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/ApproveFtpChipDetail.yml @@ -2,6 +2,7 @@ ApproveFtpChipDetail: Partner_ApproveFtpChipDetail_All_Valid_Smoke: endPoint: /v1/partnermanager/ftpchipdetail role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/ftmChipDetails/approve/approveFtpChipDetail outputTemplate: partner/device/ftmChipDetails/approve/approveFtpChipDetailResult @@ -11,7 +12,6 @@ ApproveFtpChipDetail: "requesttime": "$TIMESTAMP$" }' output: '{ - "id": "Status updated successfully." }' Partner_ApproveFtpChipDetail_Missing_InputParameter_ftpChipDetailId: @@ -29,8 +29,7 @@ ApproveFtpChipDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.ftpChipDetailId" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/approveFtpChipDetailResult.hbs b/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/approveFtpChipDetailResult.hbs index b8eed36f548..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/approveFtpChipDetailResult.hbs +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/approve/approveFtpChipDetailResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "id": "{{id}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/create/CreateFTPChipDetail.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/create/CreateFTPChipDetail.yml index 56600b6ec66..c028d58bf0f 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/create/CreateFTPChipDetail.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/create/CreateFTPChipDetail.yml @@ -13,6 +13,7 @@ CreateFTPChipDetail: "requesttime": "$TIMESTAMP$" }' output: '{ + "id": "$IGNORE$" }' Partner_CreateFTPChipDetail_Missing_InputParameter_ftpProviderId: @@ -30,8 +31,7 @@ CreateFTPChipDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.make" + "errorCode": "PMS_COR_001" } ] }' @@ -51,8 +51,7 @@ CreateFTPChipDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.ftpProviderId" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/get/GetFtpChipDetail.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/get/GetFtpChipDetail.yml index 0802e14ae24..391261a6663 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/get/GetFtpChipDetail.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/get/GetFtpChipDetail.yml @@ -2,6 +2,7 @@ GetFTPChipDetail: Partner_GetFtpChipDetail_All_Valid_Smoke: endPoint: /v1/partnermanager/ftpchipdetail/getPartnerCertificate/{ftpChipDetailId} role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/ftmChipDetails/get/getFtpChipDetail outputTemplate: partner/device/ftmChipDetails/get/getFtpChipDetailResult diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/RejectFtpChipDetail.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/RejectFtpChipDetail.yml index e258eb61cc4..e729512815c 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/RejectFtpChipDetail.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/RejectFtpChipDetail.yml @@ -28,8 +28,7 @@ rejectFtpChipDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.ftpChipDetailId" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/rejectFtpChipDetailResult.hbs b/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/rejectFtpChipDetailResult.hbs index e84accca3de..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/rejectFtpChipDetailResult.hbs +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/reject/rejectFtpChipDetailResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/update/UpdateFtpChipDetail.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/update/UpdateFtpChipDetail.yml index a14c271a5af..482f8e1a7f2 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/update/UpdateFtpChipDetail.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/update/UpdateFtpChipDetail.yml @@ -30,8 +30,7 @@ UpdateFtpChipDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.ftpChipDetailId" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/update/updateFtpChipDetailResult.hbs b/automationtests/src/main/resources/partner/device/ftmChipDetails/update/updateFtpChipDetailResult.hbs index b8eed36f548..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/update/updateFtpChipDetailResult.hbs +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/update/updateFtpChipDetailResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "id": "{{id}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/ftmChipDetails/uploadcert/Uploadcertificate.yml b/automationtests/src/main/resources/partner/device/ftmChipDetails/uploadcert/Uploadcertificate.yml index f8518deaf5c..91b9fa2740e 100644 --- a/automationtests/src/main/resources/partner/device/ftmChipDetails/uploadcert/Uploadcertificate.yml +++ b/automationtests/src/main/resources/partner/device/ftmChipDetails/uploadcert/Uploadcertificate.yml @@ -2,6 +2,7 @@ UploadCertificateOfFtpChip: Partner_UploadCertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/ftpchipdetail/uploadcertificate role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/ftmChipDetails/uploadcert/uploadcertificate outputTemplate: partner/device/ftmChipDetails/uploadcert/uploadcertificateResult @@ -30,8 +31,7 @@ UploadCertificateOfFtpChip: output: ' { "errors": [ { - "errorCode": "PMP_AUT_030", - "message": "ftp provider not exists." + "errorCode": "PMP_AUT_030" } ] }' @@ -51,8 +51,7 @@ UploadCertificateOfFtpChip: output: ' { "errors": [ { - "errorCode": "PMP_AUT_031", - "message": "ftp chip id not exists." + "errorCode": "PMP_AUT_031" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/approve/ApproveDeviceDetail.yml b/automationtests/src/main/resources/partner/device/makeAndModel/approve/ApproveDeviceDetail.yml index be9802c59c8..f03ebc3e033 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/approve/ApproveDeviceDetail.yml +++ b/automationtests/src/main/resources/partner/device/makeAndModel/approve/ApproveDeviceDetail.yml @@ -2,6 +2,7 @@ createApproveRejectDeviceDetail: Partner_ApproveRejectDeviceDetail_All_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/makeAndModel/approve/approveDeviceDetail outputTemplate: partner/device/makeAndModel/approve/approveDeviceDetailResult @@ -12,7 +13,6 @@ createApproveRejectDeviceDetail: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Device details approved successfully." }' Partner_ApproveRejectDeviceDetail_Missing_InputParameter_approvalStatus: @@ -30,8 +30,7 @@ createApproveRejectDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.approvalStatus" + "errorCode": "PMS_COR_001" } ] }' @@ -52,8 +51,7 @@ createApproveRejectDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.id" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/approve/approveDeviceDetailResult.hbs b/automationtests/src/main/resources/partner/device/makeAndModel/approve/approveDeviceDetailResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/approve/approveDeviceDetailResult.hbs +++ b/automationtests/src/main/resources/partner/device/makeAndModel/approve/approveDeviceDetailResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/create/CreateDeviceDetail.yml b/automationtests/src/main/resources/partner/device/makeAndModel/create/CreateDeviceDetail.yml index acffac6a4c7..d95c5c1c8cd 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/create/CreateDeviceDetail.yml +++ b/automationtests/src/main/resources/partner/device/makeAndModel/create/CreateDeviceDetail.yml @@ -42,6 +42,7 @@ createServiceToSaveDeviceDetail: Partner_ServiceToSaveDeviceDetail_sameMakeModel_All_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/makeAndModel/create/createDeviceDetail outputTemplate: partner/device/makeAndModel/create/createDeviceDetailResult @@ -61,6 +62,7 @@ createServiceToSaveDeviceDetail: Partner_ServiceToSaveDeviceDetail_sameTypeSubType_All_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/makeAndModel/create/createDeviceDetail outputTemplate: partner/device/makeAndModel/create/createDeviceDetailResult @@ -97,8 +99,7 @@ createServiceToSaveDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_AUT_003", - "message": "Device Details already exists" + "errorCode": "PMS_AUT_003" } ] }' @@ -122,8 +123,7 @@ createServiceToSaveDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_AUT_001", - "message": "Reg Device Sub Type Code not found in the list of Reg Device Sub Types" + "errorCode": "PMS_AUT_001" } ] }' @@ -200,8 +200,7 @@ createServiceToSaveDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.deviceTypeCode" + "errorCode": "PMS_COR_001" } ] }' diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/reject/RejectDeviceDetail.yml b/automationtests/src/main/resources/partner/device/makeAndModel/reject/RejectDeviceDetail.yml index 7ed3766e5d0..77e968881ed 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/reject/RejectDeviceDetail.yml +++ b/automationtests/src/main/resources/partner/device/makeAndModel/reject/RejectDeviceDetail.yml @@ -2,6 +2,7 @@ rejectDeviceDetail: Partner_rejectDeviceDetail_All_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/makeAndModel/approve/approveDeviceDetail outputTemplate: partner/device/makeAndModel/approve/approveDeviceDetailResult @@ -12,11 +13,11 @@ rejectDeviceDetail: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Device details rejected successfully." }' Partner_rejectDeviceDetail_Valid_Smoke: endPoint: /v1/partnermanager/devicedetail role: partner + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: partner/device/makeAndModel/approve/approveDeviceDetail outputTemplate: partner/device/makeAndModel/approve/approveDeviceDetailResult @@ -27,7 +28,6 @@ rejectDeviceDetail: "requesttime": "$TIMESTAMP$" }' output: '{ - "response": "Device details rejected successfully." }' Partner_rejectDeviceDetail_Missing_InputParameter_approvalStatus: endPoint: /v1/partnermanager/devicedetail @@ -44,8 +44,7 @@ rejectDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.approvalStatus" + "errorCode": "PMS_COR_001" } ] }' @@ -66,8 +65,7 @@ rejectDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.id" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/reject/rejectDeviceDetailResult.hbs b/automationtests/src/main/resources/partner/device/makeAndModel/reject/rejectDeviceDetailResult.hbs index eb8d6fea9a8..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/reject/rejectDeviceDetailResult.hbs +++ b/automationtests/src/main/resources/partner/device/makeAndModel/reject/rejectDeviceDetailResult.hbs @@ -1,3 +1,2 @@ { - "response": "{{response}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/device/makeAndModel/update/UpdateDeviceDetail.yml b/automationtests/src/main/resources/partner/device/makeAndModel/update/UpdateDeviceDetail.yml index 1545d3847bc..6b5640bf2d2 100644 --- a/automationtests/src/main/resources/partner/device/makeAndModel/update/UpdateDeviceDetail.yml +++ b/automationtests/src/main/resources/partner/device/makeAndModel/update/UpdateDeviceDetail.yml @@ -64,8 +64,7 @@ createServiceToUpdateDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.id" + "errorCode": "PMS_COR_001" } ] }' @@ -93,8 +92,7 @@ createServiceToUpdateDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_AUT_001", - "message": "Reg Device Sub Type Code not found in the list of Reg Device Sub Types" + "errorCode": "PMS_AUT_001" } ] }' @@ -121,8 +119,7 @@ createServiceToUpdateDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.deviceSubTypeCode" + "errorCode": "PMS_COR_001" } ] }' @@ -148,8 +145,7 @@ createServiceToUpdateDeviceDetail: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.deviceTypeCode" + "errorCode": "PMS_COR_001" } ] }' diff --git a/automationtests/src/main/resources/partner/device/registration/RegistereDevice.yml b/automationtests/src/main/resources/partner/device/registration/RegistereDevice.yml index a265a816bd1..fb52e49acff 100644 --- a/automationtests/src/main/resources/partner/device/registration/RegistereDevice.yml +++ b/automationtests/src/main/resources/partner/device/registration/RegistereDevice.yml @@ -2,6 +2,7 @@ createSignedRegisteredDevice: Partner_SignedRegisteredDevice_All_Valid_Smoke: endPoint: /v1/partnermanager/registereddevices role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/device/registration/registereDevice outputTemplate: partner/device/registration/registereDeviceResult @@ -11,7 +12,6 @@ createSignedRegisteredDevice: }' output: '{ - "id": "Device details approved successfully." }' Partner_SignedRegisteredDevice_Missing_InputParameter_deviceData: @@ -28,8 +28,7 @@ createSignedRegisteredDevice: output: '{ "errors": [ { - "errorCode": "PMS_AUT_015", - "message": "Serial no and Device detail already exist" + "errorCode": "PMS_AUT_015" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/devicePartner/GetCertificate/GetCert.yml b/automationtests/src/main/resources/partner/devicePartner/GetCertificate/GetCert.yml index 1054917cda4..152fd51be55 100644 --- a/automationtests/src/main/resources/partner/devicePartner/GetCertificate/GetCert.yml +++ b/automationtests/src/main/resources/partner/devicePartner/GetCertificate/GetCert.yml @@ -23,8 +23,7 @@ GetPartnerCert: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/devicePartner/GetPartner/GetPartner.yml b/automationtests/src/main/resources/partner/devicePartner/GetPartner/GetPartner.yml index 2d016aa1a83..8c2f589f224 100644 --- a/automationtests/src/main/resources/partner/devicePartner/GetPartner/GetPartner.yml +++ b/automationtests/src/main/resources/partner/devicePartner/GetPartner/GetPartner.yml @@ -23,8 +23,7 @@ GetPartnerDetails: output: '{ "errors": [ { - "errorCode": "PMS_PRT_005", - "message": "Partner does not exist" + "errorCode": "PMS_PRT_005" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/devicePartner/UploadCert/uploadCertResult.hbs b/automationtests/src/main/resources/partner/devicePartner/UploadCert/uploadCertResult.hbs index 51a54105dc5..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/devicePartner/UploadCert/uploadCertResult.hbs +++ b/automationtests/src/main/resources/partner/devicePartner/UploadCert/uploadCertResult.hbs @@ -1,4 +1,2 @@ { - "response": { - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/UploadCertificate.yml b/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/UploadCertificate.yml index 212b5bd1b5a..476c1455816 100644 --- a/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/UploadCertificate.yml +++ b/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/UploadCertificate.yml @@ -2,6 +2,7 @@ uploadCert: Partner_UploadCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/devicePartner/UploadCertificate/uploadCertificate outputTemplate: partner/devicePartner/UploadCertificate/uploadCertificateResult @@ -9,11 +10,11 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' Partner_UploadSUBCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/devicePartner/UploadCertificate/uploadSUBCACertificate outputTemplate: partner/devicePartner/UploadCertificate/uploadCertificateResult @@ -21,6 +22,5 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' diff --git a/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/uploadCertificateResult.hbs b/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/uploadCertificateResult.hbs index 8b1342210ff..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/uploadCertificateResult.hbs +++ b/automationtests/src/main/resources/partner/devicePartner/UploadCertificate/uploadCertificateResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "status": "{{status}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/UploadCertificate.yml b/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/UploadCertificate.yml index 0b8ca7acc30..0e4f91cb7e9 100644 --- a/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/UploadCertificate.yml +++ b/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/UploadCertificate.yml @@ -2,6 +2,7 @@ uploadCert: Partner_UploadCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/mispPartner/UploadCertificate/uploadCertificate outputTemplate: partner/mispPartner/UploadCertificate/uploadCertificateResult @@ -9,11 +10,11 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' Partner_UploadSUBCACertificate_All_Valid_Smoke: endPoint: /v1/partnermanager/partners/certificate/ca/upload role: partner + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: partner/mispPartner/UploadCertificate/uploadSUBCACertificate outputTemplate: partner/mispPartner/UploadCertificate/uploadCertificateResult @@ -21,6 +22,5 @@ uploadCert: "requesttime": "$TIMESTAMP$" }' output: ' { - "status": "Upload Success." }' diff --git a/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/uploadCertificateResult.hbs b/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/uploadCertificateResult.hbs index 8b1342210ff..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/uploadCertificateResult.hbs +++ b/automationtests/src/main/resources/partner/mispPartner/UploadCertificate/uploadCertificateResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "status": "{{status}}" - } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/DefineDataSharePolicy/DefineDataSharePolicy.yml b/automationtests/src/main/resources/partner/policy/DefineDataSharePolicy/DefineDataSharePolicy.yml index e7966f7827c..bca3bca89db 100644 --- a/automationtests/src/main/resources/partner/policy/DefineDataSharePolicy/DefineDataSharePolicy.yml +++ b/automationtests/src/main/resources/partner/policy/DefineDataSharePolicy/DefineDataSharePolicy.yml @@ -65,8 +65,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_009", - "message": "Auth policy exists with name : mosip data share policy" + "errorCode": "PMS_POL_009" } ] }' @@ -90,8 +89,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_053", - "message": "Policy group is not active." + "errorCode": "PMS_POL_053" } ] }' @@ -115,8 +113,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_019", - "message": "Policy group name does not exist" + "errorCode": "PMS_POL_019" } ] }' @@ -140,8 +137,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_023", - "message": "Given policy type is not allowed " + "errorCode": "PMS_POL_023" } ] }' @@ -165,8 +161,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.name" + "errorCode": "PMS_COR_001" } ] }' @@ -190,8 +185,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.desc" + "errorCode": "PMS_COR_001" } ] }' @@ -215,8 +209,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.policyGroupName" + "errorCode": "PMS_COR_001" } ] }' @@ -240,8 +233,7 @@ defineDataSharePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null. Allowed values Auth/DataShare/CredentialIssuance :request.policyType" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/DefinePolicy/DefinePolicy.yml b/automationtests/src/main/resources/partner/policy/DefinePolicy/DefinePolicy.yml index 5fb7244c506..d6cf3e13f5e 100644 --- a/automationtests/src/main/resources/partner/policy/DefinePolicy/DefinePolicy.yml +++ b/automationtests/src/main/resources/partner/policy/DefinePolicy/DefinePolicy.yml @@ -96,8 +96,7 @@ definePolicy: output: ' { "errors": [ { - "errorCode": "PMS_POL_009", - "message": "Auth policy exists with name : mosip policy" + "errorCode": "PMS_POL_009" } ] }' @@ -123,8 +122,7 @@ definePolicy: output: ' { "errors": [ { - "errorCode": "PMS_POL_019", - "message": "Policy group name does not exist" + "errorCode": "PMS_POL_019" } ] }' @@ -150,8 +148,7 @@ definePolicy: output: ' { "errors": [ { - "errorCode": "PMS_POL_053", - "message": "Policy group is not active." + "errorCode": "PMS_POL_053" } ] }' @@ -177,8 +174,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.name" + "errorCode": "PMS_COR_001" } ] }' @@ -204,8 +200,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.desc" + "errorCode": "PMS_COR_001" } ] }' @@ -231,8 +226,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_PV_006", - "message": "Missing input parameter - allowedAuthTypes/0/mandatory" + "errorCode": "PMS_PV_006" } ] }' @@ -258,8 +252,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_PV_006", - "message": "Missing input parameter - allowedAuthTypes/0/authType" + "errorCode": "PMS_PV_006" } ] }' @@ -285,8 +278,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_PV_006", - "message": "Missing input parameter - authTokenType" + "errorCode": "PMS_PV_006" } ] }' @@ -312,8 +304,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_PV_006", - "message": "Missing input parameter - allowedKycAttributes/0/attributeName" + "errorCode": "PMS_PV_006" } ] }' @@ -339,8 +330,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null :request.policyGroupName" + "errorCode": "PMS_COR_001" } ] }' @@ -366,8 +356,7 @@ definePolicy: output: '{ "errors": [ { - "errorCode": "PMS_COR_001", - "message": "Invalid request parameter - value is empty or null. Allowed values Auth/DataShare/CredentialIssuance :request.policyType" + "errorCode": "PMS_COR_001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/DefinePolicyGroup/definePolicyGroupResult.hbs b/automationtests/src/main/resources/partner/policy/DefinePolicyGroup/definePolicyGroupResult.hbs index d65415308da..101febb627e 100644 --- a/automationtests/src/main/resources/partner/policy/DefinePolicyGroup/definePolicyGroupResult.hbs +++ b/automationtests/src/main/resources/partner/policy/DefinePolicyGroup/definePolicyGroupResult.hbs @@ -2,6 +2,6 @@ "response": { "name": "{{name}}", "desc": "{{desc}}", - "is_Active": {{is_Active}}, + "is_Active": {{is_Active}} } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/GetPolicy/getPolicyResult.hbs b/automationtests/src/main/resources/partner/policy/GetPolicy/getPolicyResult.hbs index 79c7c73cf29..6fa2126bf0d 100644 --- a/automationtests/src/main/resources/partner/policy/GetPolicy/getPolicyResult.hbs +++ b/automationtests/src/main/resources/partner/policy/GetPolicy/getPolicyResult.hbs @@ -4,6 +4,6 @@ "policyGroupDesc": "{{policyGroupDesc}}", "policyGroupStatus": {{policyGroupStatus}}, "policyName": "{{policyName}}", - "policyDesc": "{{policyDesc}}", + "policyDesc": "{{policyDesc}}" } } \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/GetPolicyGroup/GetPolicyGroup.yml b/automationtests/src/main/resources/partner/policy/GetPolicyGroup/GetPolicyGroup.yml index 9e57b22198c..5174513cf30 100644 --- a/automationtests/src/main/resources/partner/policy/GetPolicyGroup/GetPolicyGroup.yml +++ b/automationtests/src/main/resources/partner/policy/GetPolicyGroup/GetPolicyGroup.yml @@ -25,8 +25,7 @@ getPolicyGroup: output: '{ "errors": [ { - "errorCode": "PMS_POL_016", - "message": "Policy Group ID does not exist" + "errorCode": "PMS_POL_016" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/PublishDataSharePolicy/PublishDataSharePolicy.yml b/automationtests/src/main/resources/partner/policy/PublishDataSharePolicy/PublishDataSharePolicy.yml index b8481b82227..408fff76913 100644 --- a/automationtests/src/main/resources/partner/policy/PublishDataSharePolicy/PublishDataSharePolicy.yml +++ b/automationtests/src/main/resources/partner/policy/PublishDataSharePolicy/PublishDataSharePolicy.yml @@ -36,8 +36,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_020", - "message": "Can not publish the published policy" + "errorCode": "PMS_POL_020" } ] }' @@ -55,8 +54,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_016", - "message": "Policy Group ID does not exist" + "errorCode": "PMS_POL_016" } ] }' @@ -74,8 +72,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_008", - "message": "Policy ID does not exist" + "errorCode": "PMS_POL_008" } ] }' diff --git a/automationtests/src/main/resources/partner/policy/PublishPolicy/PublishPolicy.yml b/automationtests/src/main/resources/partner/policy/PublishPolicy/PublishPolicy.yml index 4f453f9e01a..da15493aed6 100644 --- a/automationtests/src/main/resources/partner/policy/PublishPolicy/PublishPolicy.yml +++ b/automationtests/src/main/resources/partner/policy/PublishPolicy/PublishPolicy.yml @@ -39,8 +39,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_020", - "message": "Can not publish the published policy" + "errorCode": "PMS_POL_020" } ] }' @@ -58,8 +57,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_016", - "message": "Policy Group ID does not exist" + "errorCode": "PMS_POL_016" } ] }' @@ -77,8 +75,7 @@ createPublishPolicy: output: '{ "errors": [ { - "errorCode": "PMS_POL_008", - "message": "Policy ID does not exist" + "errorCode": "PMS_POL_008" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/partner/policy/Search/SearchPolicy.yml b/automationtests/src/main/resources/partner/policy/Search/SearchPolicy.yml index ffe603ba382..cbab1a3466e 100644 --- a/automationtests/src/main/resources/partner/policy/Search/SearchPolicy.yml +++ b/automationtests/src/main/resources/partner/policy/Search/SearchPolicy.yml @@ -122,7 +122,8 @@ createSearchPolicy: "data": [ { "version": "1.0", - "policyType": "DataShare" + "policyType": "DataShare", + "schema": "$IGNORE$" } ] }' @@ -156,7 +157,8 @@ createSearchPolicy: "data": [ { "version": "1.0", - "policyType": "DataShare" + "policyType": "DataShare", + "schema": "$IGNORE$" } ] }' @@ -295,7 +297,8 @@ createSearchPolicy: "data": [ { "version": "1.0", - "policyType": "DataShare" + "policyType": "DataShare", + "schema": "$IGNORE$" } ] }' diff --git a/automationtests/src/main/resources/partner/policy/UpdatePolicy/updatePolicyResult.hbs b/automationtests/src/main/resources/partner/policy/UpdatePolicy/updatePolicyResult.hbs index 92ba38bc16c..23bf0f37163 100644 --- a/automationtests/src/main/resources/partner/policy/UpdatePolicy/updatePolicyResult.hbs +++ b/automationtests/src/main/resources/partner/policy/UpdatePolicy/updatePolicyResult.hbs @@ -3,6 +3,6 @@ "policyGroupName": "{{policyGroupName}}", "name": "{{name}}", "desc": "{{desc}}", - "is_Active": {{is_Active}}, + "is_Active": {{is_Active}} } } \ No newline at end of file From c9bcca41aa65a3fd08c4eeecadf5188f9caa3759 Mon Sep 17 00:00:00 2001 From: Anup Nehe Date: Tue, 29 Aug 2023 10:24:31 +0530 Subject: [PATCH 3/4] MOSIP-29081 --- .../idRepository/AddIdentity/AddIdentity.yml | 55 +++----- .../AddIdentity/addIdentityResult.hbs | 8 +- .../AuthInternalLock/AuthInternalLock.yml | 74 +++++------ .../AuthInternalLockResult.hbs | 6 - .../AuthInternalUnlock/AuthInternalUnlock.yml | 72 +++++------ .../AuthInternalUnlockResult.hbs | 6 - .../idRepository/CreateDraft/CreateDraft.yml | 10 +- .../CreateDraft/createDraftResult.hbs | 11 -- .../CreateDraftVID/CreateDraftVID.yml | 12 +- .../CreateDraftVID/createDraftVIDResult.hbs | 9 +- .../idRepository/CreateVID/CreateVid.yml | 90 +++++-------- .../CreateVID/createVidResult.hbs | 12 +- .../DeactivateVid/DeactivateVid.yml | 57 +++------ .../DeactivateVid/deactivateVidResult.hbs | 12 +- .../DeleteDraft/deleteDraftResult.hbs | 4 +- .../extractBiometricsResult.hbs | 12 +- .../idRepository/GetDraft/getDraftResult.hbs | 14 +-- .../GetUpdateCount/GetUpdateCount.yml | 29 ++--- .../GetUpdateCount/GetUpdateCountResult.hbs | 5 - .../PublishDraft/PublishDraft.yml | 3 +- .../PublishDraft/publishDraftResult.hbs | 7 +- .../ReactivateVIDsForUIN.yml | 57 +++------ .../reactivateVIDsForUINResult.hbs | 12 +- .../RegenerateVid/RegenerateVid.yml | 15 +-- .../RegenerateVid/regenerateVidResult.hbs | 11 -- .../RetrieveAuthTypeStatus.yml | 18 +-- .../retrieveAuthTypeStatusResult.hbs | 7 +- .../RetrieveIdentityByRid.yml | 6 +- .../retrieveIdentityByRidResult.hbs | 11 +- .../RetrieveIdentityByUin.yml | 21 ++-- .../retrieveIdentityByUinResult_eng.hbs | 119 +----------------- .../retrieveIdentityByUinResult_hin.hbs | 27 +--- .../RetrieveUINByVID/RetrieveUINByVID.yml | 61 ++++----- .../retrieveUINByVIDResult.hbs | 11 +- .../RetrieveVIDByUIN/RetrieveVIDByUIN.yml | 13 +- .../retrieveVIDByUINResult.hbs | 17 +-- .../UpdateDraft/updateDraftResult.hbs | 12 +- .../UpdateIdentity/UpdateIdentity.yml | 3 +- .../UpdateIdentity/updateIdentityResult.hbs | 11 +- .../UpdateVIDStatus/UpdateVidStatus.yml | 111 ++++++---------- .../UpdateVIDStatus/UpdateVidStatusResult.hbs | 6 +- .../src/main/resources/idRepository/error.hbs | 6 +- .../idRepository/uinrids/createuinresult.hbs | 9 +- 43 files changed, 287 insertions(+), 785 deletions(-) diff --git a/automationtests/src/main/resources/idRepository/AddIdentity/AddIdentity.yml b/automationtests/src/main/resources/idRepository/AddIdentity/AddIdentity.yml index 8e0726cab8c..c2f0bf88e96 100644 --- a/automationtests/src/main/resources/idRepository/AddIdentity/AddIdentity.yml +++ b/automationtests/src/main/resources/idRepository/AddIdentity/AddIdentity.yml @@ -354,8 +354,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -391,8 +390,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -465,8 +463,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -502,8 +499,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -539,8 +535,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -648,8 +643,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -716,8 +710,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -753,8 +746,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -790,8 +782,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -858,8 +849,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -895,8 +885,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -932,8 +921,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -941,6 +929,7 @@ AddIdentity: IdRepository_AddIdentity_with_Invalid_Past_Timestamp_Neg: endPoint: /idrepository/v1/identity/ role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AddIdentity/addIdentity_$LANGNUMBER$ outputTemplate: idRepository/error @@ -969,8 +958,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -1006,8 +994,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -1043,8 +1030,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -1080,8 +1066,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -1117,8 +1102,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -1154,8 +1138,7 @@ AddIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' diff --git a/automationtests/src/main/resources/idRepository/AddIdentity/addIdentityResult.hbs b/automationtests/src/main/resources/idRepository/AddIdentity/addIdentityResult.hbs index 720254c65ba..ca45b742b9e 100644 --- a/automationtests/src/main/resources/idRepository/AddIdentity/addIdentityResult.hbs +++ b/automationtests/src/main/resources/idRepository/AddIdentity/addIdentityResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.id.create", - "version": "v1", - "responsetime": "$IGNORE$", "response": { "status": "{{status}}" - }, - "errors": [ - - ] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLock.yml b/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLock.yml index 447c112ac09..d6eb468f9a7 100644 --- a/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLock.yml +++ b/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLock.yml @@ -2,6 +2,7 @@ AuthInternalLock: IdRepository_AuthInternalLock_Uin_Demo_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -17,12 +18,13 @@ AuthInternalLock: "unlockForSeconds": 0 }' output: '{ - "responsetime": "$IGNORE$" + "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_Demo_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -38,12 +40,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_FACE_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -59,12 +61,13 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" + "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_FACE_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -80,12 +83,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_IRIS_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -101,12 +104,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_IRIS_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -122,12 +125,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_FINGER_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -143,12 +146,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_FINGER_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -164,12 +167,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_email_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -185,12 +188,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_email_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -206,12 +209,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_phone_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -227,12 +230,12 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Vid_phone_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalLock/authInternalLock outputTemplate: idRepository/AuthInternalLock/AuthInternalLockResult @@ -248,7 +251,6 @@ AuthInternalLock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalLock_Uin_Empty_Authtype: @@ -271,8 +273,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -297,8 +298,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -323,8 +323,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -349,8 +348,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -375,8 +373,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -401,8 +398,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -427,8 +423,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -453,8 +448,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -479,8 +473,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -505,8 +498,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -531,8 +523,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -557,8 +548,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -583,8 +573,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -609,8 +598,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -635,8 +623,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -661,8 +648,7 @@ AuthInternalLock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLockResult.hbs b/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLockResult.hbs index fa6c47257a7..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLockResult.hbs +++ b/automationtests/src/main/resources/idRepository/AuthInternalLock/AuthInternalLockResult.hbs @@ -1,8 +1,2 @@ { - "id": null, - "version": null, - "responsetime": "{{responsetime}}", - "metadata": null, - "response": null, - "errors": [] } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlock.yml b/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlock.yml index 554a0aa6369..dd6b9d0abd1 100644 --- a/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlock.yml +++ b/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlock.yml @@ -2,6 +2,7 @@ AuthInternalUnlock: IdRepository_AuthInternalUnlock_Uin_Demo_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -17,12 +18,12 @@ AuthInternalUnlock: "unlockForSeconds": 0 }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_Demo_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -38,12 +39,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_FACE_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -59,12 +60,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_FACE_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -80,12 +81,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_IRIS_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -101,12 +102,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_IRIS_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -122,12 +123,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_FINGER_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -143,12 +144,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_FINGER_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -164,12 +165,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_email_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -185,12 +186,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_email_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -206,12 +207,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_phone_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -227,12 +228,12 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Vid_phone_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlock outputTemplate: idRepository/AuthInternalUnlock/AuthInternalUnlockResult @@ -248,7 +249,6 @@ AuthInternalUnlock: "requestTime": "$TIMESTAMP$" }' output: '{ - "responsetime": "$IGNORE$" }' IdRepository_AuthInternalUnlock_Uin_Empty_Authtype: @@ -271,8 +271,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -297,8 +296,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -323,8 +321,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -349,8 +346,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -375,8 +371,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -401,8 +396,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -427,8 +421,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -453,8 +446,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -479,8 +471,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -505,8 +496,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -531,8 +521,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -557,8 +546,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -583,8 +571,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -609,8 +596,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -635,8 +621,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -661,8 +646,7 @@ AuthInternalUnlock: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlockResult.hbs b/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlockResult.hbs index fa6c47257a7..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlockResult.hbs +++ b/automationtests/src/main/resources/idRepository/AuthInternalUnlock/AuthInternalUnlockResult.hbs @@ -1,8 +1,2 @@ { - "id": null, - "version": null, - "responsetime": "{{responsetime}}", - "metadata": null, - "response": null, - "errors": [] } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/CreateDraft/CreateDraft.yml b/automationtests/src/main/resources/idRepository/CreateDraft/CreateDraft.yml index 0fa957da49a..2ce612c6d0e 100644 --- a/automationtests/src/main/resources/idRepository/CreateDraft/CreateDraft.yml +++ b/automationtests/src/main/resources/idRepository/CreateDraft/CreateDraft.yml @@ -2,6 +2,7 @@ CreateDraft: IdRepository_CreateDraft_Smoke_Pos: endPoint: /idrepository/v1/identity/draft/create/{registrationId} role: idrepo + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/CreateDraft/createDraft outputTemplate: idRepository/CreateDraft/createDraftResult @@ -23,8 +24,7 @@ CreateDraft: output: '{ "errors": [ { - "errorCode": "IDR-IDC-012", - "message": "Record already exists in DB" + "errorCode": "IDR-IDC-012" } ] }' @@ -52,8 +52,7 @@ CreateDraft: output: '{ "errors": [ { - "errorCode": "IDR-IDC-012", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-012" } ] }' @@ -69,8 +68,7 @@ CreateDraft: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "Invalid Request" + "errorCode": "IDR-IDC-003" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/CreateDraft/createDraftResult.hbs b/automationtests/src/main/resources/idRepository/CreateDraft/createDraftResult.hbs index 312476fc58c..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/idRepository/CreateDraft/createDraftResult.hbs +++ b/automationtests/src/main/resources/idRepository/CreateDraft/createDraftResult.hbs @@ -1,13 +1,2 @@ { - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "status": "{{status}}", - "identity": null, - "documents": null, - "verifiedAttributes": null - }, - "errors": [] } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/CreateDraftVID/CreateDraftVID.yml b/automationtests/src/main/resources/idRepository/CreateDraftVID/CreateDraftVID.yml index 768e56b152f..ee83d4f25e7 100644 --- a/automationtests/src/main/resources/idRepository/CreateDraftVID/CreateDraftVID.yml +++ b/automationtests/src/main/resources/idRepository/CreateDraftVID/CreateDraftVID.yml @@ -25,8 +25,7 @@ CreateDraftVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -43,8 +42,7 @@ CreateDraftVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -61,8 +59,7 @@ CreateDraftVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - vidType" + "errorCode": "IDR-IDC-001" } ] }' @@ -79,8 +76,7 @@ CreateDraftVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - UIN" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/CreateDraftVID/createDraftVIDResult.hbs b/automationtests/src/main/resources/idRepository/CreateDraftVID/createDraftVIDResult.hbs index 1680a064889..9bf8363a338 100644 --- a/automationtests/src/main/resources/idRepository/CreateDraftVID/createDraftVIDResult.hbs +++ b/automationtests/src/main/resources/idRepository/CreateDraftVID/createDraftVIDResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.vid.create", - "version": "v1", - "responsetime": "$IGNORE$", "response": { - "vidStatus": "{{vidStatus}}", - "VID": "$IGNORE$" - }, - "errors": [] + "vidStatus": "{{vidStatus}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/CreateVID/CreateVid.yml b/automationtests/src/main/resources/idRepository/CreateVID/CreateVid.yml index 151c15a4259..84a379cea17 100644 --- a/automationtests/src/main/resources/idRepository/CreateVID/CreateVid.yml +++ b/automationtests/src/main/resources/idRepository/CreateVID/CreateVid.yml @@ -161,8 +161,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -182,8 +181,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -203,8 +201,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - requesttime" + "errorCode": "IDR-IDC-002" } ] }' @@ -224,8 +221,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -245,8 +241,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -266,8 +261,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -287,8 +281,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -308,8 +301,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -329,8 +321,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-001" } ] }' @@ -350,8 +341,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -371,8 +361,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -392,8 +381,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - requesttime" + "errorCode": "IDR-IDC-002" } ] }' @@ -413,8 +401,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -434,8 +421,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -455,8 +441,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -476,8 +461,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - vidType" + "errorCode": "IDR-IDC-001" } ] }' @@ -497,8 +481,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vidType" + "errorCode": "IDR-IDC-002" } ] }' @@ -518,8 +501,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -539,8 +521,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-001" } ] }' @@ -560,8 +541,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -581,8 +561,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - version" + "errorCode": "IDR-IDC-001" } ] }' @@ -602,8 +581,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -623,8 +601,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -644,8 +621,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -665,8 +641,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - vidType" + "errorCode": "IDR-IDC-001" } ] }' @@ -686,8 +661,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-001" } ] }' @@ -707,8 +681,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - version" + "errorCode": "IDR-IDC-001" } ] }' @@ -728,8 +701,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -749,8 +721,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - vidType" + "errorCode": "IDR-IDC-001" } ] }' @@ -770,8 +741,7 @@ CreateVID: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-001" } ] }' diff --git a/automationtests/src/main/resources/idRepository/CreateVID/createVidResult.hbs b/automationtests/src/main/resources/idRepository/CreateVID/createVidResult.hbs index 57d4400e238..5e95428a4f1 100644 --- a/automationtests/src/main/resources/idRepository/CreateVID/createVidResult.hbs +++ b/automationtests/src/main/resources/idRepository/CreateVID/createVidResult.hbs @@ -1,13 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "vidStatus": "{{vidStatus}}", - "restoredVid": null, - "UIN": null, - "VID": "$IGNORE$" - }, - "errors": [] + "vidStatus": "{{vidStatus}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/DeactivateVid/DeactivateVid.yml b/automationtests/src/main/resources/idRepository/DeactivateVid/DeactivateVid.yml index e5178a523e5..c6733f0fdf9 100644 --- a/automationtests/src/main/resources/idRepository/DeactivateVid/DeactivateVid.yml +++ b/automationtests/src/main/resources/idRepository/DeactivateVid/DeactivateVid.yml @@ -30,8 +30,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' @@ -67,8 +66,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -87,8 +85,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-001" } ] }' @@ -108,8 +105,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -129,8 +125,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - id" + "errorCode": "IDR-IDC-002" } ] }' @@ -151,8 +146,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - UIN" + "errorCode": "IDR-IDC-001" } ] }' @@ -172,8 +166,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - UIN" + "errorCode": "IDR-IDC-002" } ] }' @@ -193,8 +186,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - UIN" + "errorCode": "IDR-IDC-002" } ] }' @@ -214,8 +206,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - UIN" + "errorCode": "IDR-IDC-002" } ] }' @@ -235,8 +226,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - requesttime" + "errorCode": "IDR-IDC-002" } ] }' @@ -255,8 +245,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -276,8 +265,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -297,8 +285,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-001" } ] }' @@ -318,8 +305,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-002" } ] }' @@ -339,8 +325,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - requesttime" + "errorCode": "IDR-IDC-002" } ] }' @@ -360,8 +345,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -380,8 +364,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "Missing Input Parameter - version" + "errorCode": "IDR-IDC-001" } ] }' @@ -401,8 +384,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' @@ -422,8 +404,7 @@ DeactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Missing Input Parameter - version" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/DeactivateVid/deactivateVidResult.hbs b/automationtests/src/main/resources/idRepository/DeactivateVid/deactivateVidResult.hbs index 6bc0ad4cff3..9bf8363a338 100644 --- a/automationtests/src/main/resources/idRepository/DeactivateVid/deactivateVidResult.hbs +++ b/automationtests/src/main/resources/idRepository/DeactivateVid/deactivateVidResult.hbs @@ -1,13 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "vidStatus": "{{vidStatus}}", - "restoredVid": null, - "UIN": null, - "VID": "$IGNORE$" - }, - "errors": [] + "vidStatus": "{{vidStatus}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/DeleteDraft/deleteDraftResult.hbs b/automationtests/src/main/resources/idRepository/DeleteDraft/deleteDraftResult.hbs index 102f5e30b2d..0137f52daaa 100644 --- a/automationtests/src/main/resources/idRepository/DeleteDraft/deleteDraftResult.hbs +++ b/automationtests/src/main/resources/idRepository/DeleteDraft/deleteDraftResult.hbs @@ -1,7 +1,5 @@ { - "responsetime": "$IGNORE$", "response": { "status": "{{status}}" - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/ExtractBiometrics/extractBiometricsResult.hbs b/automationtests/src/main/resources/idRepository/ExtractBiometrics/extractBiometricsResult.hbs index 312476fc58c..0137f52daaa 100644 --- a/automationtests/src/main/resources/idRepository/ExtractBiometrics/extractBiometricsResult.hbs +++ b/automationtests/src/main/resources/idRepository/ExtractBiometrics/extractBiometricsResult.hbs @@ -1,13 +1,5 @@ { - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "status": "{{status}}", - "identity": null, - "documents": null, - "verifiedAttributes": null - }, - "errors": [] + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/GetDraft/getDraftResult.hbs b/automationtests/src/main/resources/idRepository/GetDraft/getDraftResult.hbs index 0e802848957..dbce335d076 100644 --- a/automationtests/src/main/resources/idRepository/GetDraft/getDraftResult.hbs +++ b/automationtests/src/main/resources/idRepository/GetDraft/getDraftResult.hbs @@ -1,15 +1,5 @@ { - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "status": "{{status}}", - "identity": { - "UIN": "$IGNORE$" - }, - "documents": [], - "verifiedAttributes": null - }, - "errors": [] + "status": "{{status}}" + } } diff --git a/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCount.yml b/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCount.yml index 54c315e9762..70d3717e767 100644 --- a/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCount.yml +++ b/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCount.yml @@ -2,6 +2,7 @@ GetUpdateCount: IdRepository_GetUpdateCount_Uin_Valid_Smoke: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: idRepository/GetUpdateCount/GetUpdateCount outputTemplate: idRepository/GetUpdateCount/GetUpdateCountResult @@ -28,8 +29,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -61,8 +61,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -83,6 +82,7 @@ GetUpdateCount: IdRepository_GetUpdateCount_Vid_Valid_Smoke: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: idRepository/GetUpdateCount/GetUpdateCount outputTemplate: idRepository/GetUpdateCount/GetUpdateCountResult @@ -109,8 +109,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -142,8 +141,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -175,8 +173,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - idType" + "errorCode": "IDR-IDC-002" } ] }' @@ -195,8 +192,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - idType" + "errorCode": "IDR-IDC-002" } ] }' @@ -215,8 +211,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - idType" + "errorCode": "IDR-IDC-002" } ] }' @@ -235,8 +230,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - idType" + "errorCode": "IDR-IDC-002" } ] }' @@ -275,8 +269,7 @@ GetUpdateCount: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - idType" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCountResult.hbs b/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCountResult.hbs index e968fa180df..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCountResult.hbs +++ b/automationtests/src/main/resources/idRepository/GetUpdateCount/GetUpdateCountResult.hbs @@ -1,7 +1,2 @@ { - "id": "mosip.id.read", - "version": "v1", - "errors": "$IGNORE$", - "response": "$IGNORE$", - "responseTime": "$IGNORE$" } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/PublishDraft/PublishDraft.yml b/automationtests/src/main/resources/idRepository/PublishDraft/PublishDraft.yml index 9d83b9881ef..96e015b4511 100644 --- a/automationtests/src/main/resources/idRepository/PublishDraft/PublishDraft.yml +++ b/automationtests/src/main/resources/idRepository/PublishDraft/PublishDraft.yml @@ -23,8 +23,7 @@ PublishDraft: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/PublishDraft/publishDraftResult.hbs b/automationtests/src/main/resources/idRepository/PublishDraft/publishDraftResult.hbs index 1470e64377f..0137f52daaa 100644 --- a/automationtests/src/main/resources/idRepository/PublishDraft/publishDraftResult.hbs +++ b/automationtests/src/main/resources/idRepository/PublishDraft/publishDraftResult.hbs @@ -1,10 +1,5 @@ { - "responsetime": "$IGNORE$", - "metadata": { - "vid": "$IGNORE$" - }, "response": { "status": "{{status}}" - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/ReactivateVIDsForUIN.yml b/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/ReactivateVIDsForUIN.yml index e501fa2f6b8..919c6104cf9 100644 --- a/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/ReactivateVIDsForUIN.yml +++ b/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/ReactivateVIDsForUIN.yml @@ -18,6 +18,7 @@ ReactivateVIDs: IdRepository_ReactivateVIDs_Deactivated_Uin: endPoint: /idrepository/v1/vid/reactivate role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/ReactivateVIDsForUIN/reactivateVIDsForUIN outputTemplate: idRepository/ReactivateVIDsForUIN/reactivateVIDsForUINResult @@ -30,8 +31,6 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" } ] }' @@ -67,8 +66,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -87,8 +85,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -108,8 +105,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -129,8 +125,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -150,8 +145,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -171,8 +165,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -192,8 +185,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -213,8 +205,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -234,8 +225,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -254,8 +244,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -275,8 +264,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -296,8 +284,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -317,8 +304,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -338,8 +324,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -359,8 +344,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -379,8 +363,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -400,8 +383,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -421,8 +403,7 @@ ReactivateVIDs: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/reactivateVIDsForUINResult.hbs b/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/reactivateVIDsForUINResult.hbs index a3723e239cf..9bf8363a338 100644 --- a/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/reactivateVIDsForUINResult.hbs +++ b/automationtests/src/main/resources/idRepository/ReactivateVIDsForUIN/reactivateVIDsForUINResult.hbs @@ -1,13 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "vidStatus": "{{vidStatus}}", - "restoredVid": null, - "UIN": null, - "VID": null - }, - "errors": [] + "vidStatus": "{{vidStatus}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RegenerateVid/RegenerateVid.yml b/automationtests/src/main/resources/idRepository/RegenerateVid/RegenerateVid.yml index 17f4c289af4..08a8a088120 100644 --- a/automationtests/src/main/resources/idRepository/RegenerateVid/RegenerateVid.yml +++ b/automationtests/src/main/resources/idRepository/RegenerateVid/RegenerateVid.yml @@ -2,6 +2,7 @@ RegenerateVid: IdRepository_RegenerateVid_Smoke_Pos: endPoint: /idrepository/v1/vid/{VID}/regenerate role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: idRepository/RegenerateVid/regenerateVid outputTemplate: idRepository/RegenerateVid/regenerateVidResult @@ -9,8 +10,6 @@ RegenerateVid: "VID":"$ID:CreateVID_withValidParameters_For_VidType_Smoke_Temporary_sid_VID$" }' output: '{ - "vidStatus": "ACTIVE", - "VID": "$IGNORE$" }' IdRepository_RegenerateVid_Uin_Neg: @@ -25,8 +24,7 @@ RegenerateVid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "Invalid Input Parameter - vid" + "errorCode": "IDR-IDC-002" } ] }' @@ -43,8 +41,7 @@ RegenerateVid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -61,8 +58,7 @@ RegenerateVid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -79,8 +75,7 @@ RegenerateVid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RegenerateVid/regenerateVidResult.hbs b/automationtests/src/main/resources/idRepository/RegenerateVid/regenerateVidResult.hbs index fe77716f4bc..7a73a41bfdf 100644 --- a/automationtests/src/main/resources/idRepository/RegenerateVid/regenerateVidResult.hbs +++ b/automationtests/src/main/resources/idRepository/RegenerateVid/regenerateVidResult.hbs @@ -1,13 +1,2 @@ { - "id": "mosip.vid.regenerate", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "vidStatus": "{{vidStatus}}", - "restoredVid": null, - "UIN": null, - "VID": "{{VID}}" - }, - "errors": [] } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/RetrieveAuthTypeStatus.yml b/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/RetrieveAuthTypeStatus.yml index ecd675d554c..739473ee0bb 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/RetrieveAuthTypeStatus.yml +++ b/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/RetrieveAuthTypeStatus.yml @@ -41,8 +41,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "Unknown error occurred" + "errorCode": "IDR-IDC-004" } ] }' @@ -59,8 +58,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -77,8 +75,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "Unknown error occurred" + "errorCode": "IDR-IDC-004" } ] }' @@ -95,8 +92,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "Unknown error occurred" + "errorCode": "IDR-IDC-004" } ] }' @@ -113,8 +109,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -131,8 +126,7 @@ RetrieveAuthTypeStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "Unknown error occurred" + "errorCode": "IDR-IDC-004" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/retrieveAuthTypeStatusResult.hbs b/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/retrieveAuthTypeStatusResult.hbs index 6fc8af84a34..444deca6f1e 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/retrieveAuthTypeStatusResult.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveAuthTypeStatus/retrieveAuthTypeStatusResult.hbs @@ -1,13 +1,8 @@ { - "responsetime": "$IGNORE$", "response": { "authTypes": [ { - "authType": "$IGNORE$", - "authSubType": "$IGNORE$", - "locked": "$IGNORE$" } ] - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/RetrieveIdentityByRid.yml b/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/RetrieveIdentityByRid.yml index ca6e7bb3da8..bdf0f6b4f5f 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/RetrieveIdentityByRid.yml +++ b/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/RetrieveIdentityByRid.yml @@ -23,8 +23,7 @@ RetrieveIdentityByRid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-007" } ] }' @@ -52,8 +51,7 @@ RetrieveIdentityByRid: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-007" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/retrieveIdentityByRidResult.hbs b/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/retrieveIdentityByRidResult.hbs index 1e374a74f1c..9884f2404b8 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/retrieveIdentityByRidResult.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveIdentityByRid/retrieveIdentityByRidResult.hbs @@ -1,12 +1,5 @@ { - "id": "mosip.id.read", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "status": "ACTIVATED", - "identity": "$IGNORE$", - "documents": "$IGNORE$" - }, - "errors": [] + "status": "ACTIVATED" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/RetrieveIdentityByUin.yml b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/RetrieveIdentityByUin.yml index b070d11d1a5..94462fe58cd 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/RetrieveIdentityByUin.yml +++ b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/RetrieveIdentityByUin.yml @@ -53,8 +53,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' @@ -81,8 +80,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' @@ -109,8 +107,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' @@ -127,8 +124,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-007", - "message": "No Record(s) found" + "errorCode": "IDR-IDC-007" } ] }' @@ -145,8 +141,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' @@ -162,8 +157,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' @@ -179,8 +173,7 @@ RetrieveIdentity: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_eng.hbs b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_eng.hbs index fc0ea0c651a..31431eb914a 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_eng.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_eng.hbs @@ -1,124 +1,8 @@ { - "id": "mosip.id.read", - "version": "v1", - "responsetime": "$IGNORE$", "response": { "status": "{{status}}", "identity": { - "residenceStatus": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "IDSchemaVersion": $IGNORE$, "UIN": "{{UIN}}", - "fullName": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "dateOfBirth": "$IGNORE$", - "gender": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "addressLine1": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "addressLine2": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "addressLine3": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "region": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "province": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "city": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "postalCode": "$IGNORE$", - "email": "$IGNORE$", - "phone": "$IGNORE$", - "referenceIdentityNumber": "$IGNORE$", - "zone": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - } - ], - "introducerRID": "$IGNORE$", - "introducerUIN": "$IGNORE$", - "introducerName": [ - { - "language": "$IGNORE$", - "value": "$IGNORE$" - }, - { - "value": "$IGNORE$" - } - ], "proofOfAddress": { "format": "pdf", "type": "RNC", @@ -151,6 +35,5 @@ } }, "documents": [] - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_hin.hbs b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_hin.hbs index ffd57f94f41..cee9f9ee58c 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_hin.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveIdentityByUin/retrieveIdentityByUinResult_hin.hbs @@ -1,7 +1,4 @@ { - "id": "mosip.id.read", - "version": "v1", - "responsetime": "$IGNORE$", "response": { "status": "{{status}}", "identity": { @@ -16,90 +13,71 @@ "fullName": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" }, { "language": "tam", - "value": "$IGNORE$" } ], - "dateOfBirth": "$IGNORE$", "gender": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" }, { "language": "tam", - "value": "$IGNORE$" } ], "addressLine1": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" }, { "language": "tam", - "value": "$IGNORE$" } ], "addressLine2": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" }, { "language": "tam", - "value": "$IGNORE$" } ], "addressLine3": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" }, { "language": "tam", - "value": "$IGNORE$" } ], "region": [ { "language": "hin", - "value": "$IGNORE$" } ], "province": [ { "language": "hin", - "value": "$IGNORE$" } ], "city": [ { "language": "hin", - "value": "$IGNORE$" } ], "postalCode": "14022", @@ -117,11 +95,9 @@ "introducerName": [ { "language": "hin", - "value": "$IGNORE$" }, { "language": "kan", - "value": "$IGNORE$" } ], "proofOfAddress": { @@ -156,6 +132,5 @@ } }, "documents": [] - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveUINByVID/RetrieveUINByVID.yml b/automationtests/src/main/resources/idRepository/RetrieveUINByVID/RetrieveUINByVID.yml index acda71865c5..6db519b7338 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveUINByVID/RetrieveUINByVID.yml +++ b/automationtests/src/main/resources/idRepository/RetrieveUINByVID/RetrieveUINByVID.yml @@ -2,6 +2,7 @@ Retrieve_VID_pos: IdRepository_Retrieve_VID_pos_perpetual_Active_smoke: endPoint: /idrepository/v1/vid/{VID} role: idrepo + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVID outputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVIDResult @@ -9,13 +10,14 @@ Retrieve_VID_pos: "VID": "$ID:CreateVID_withValidParameters_For_VidType_Smoke_Perpetual_sid_VID$" }' output: '{ - "UIN": "$IGNORE$", - "vidStatus": "$IGNORE$" + "vidStatus": "$IGNORE$", + "UIN": "$IGNORE$" }' IdRepository_Retrieve_VID_pos_Temp_Active_smoke: endPoint: /idrepository/v1/vid/{VID} role: idrepo + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVID outputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVIDResult @@ -23,13 +25,15 @@ Retrieve_VID_pos: "VID": "$ID:CreateVID_withValidParameters_Smoke_Temp1_sid_VID$" }' output: '{ - "UIN": "$IGNORE$", - "vidStatus": "$IGNORE$" + "vidStatus": "$IGNORE$", + "UIN": "$IGNORE$" + }' IdRepository_Retrieve_VID_pos_Onetimeuse_Active_smoke: endPoint: /idrepository/v1/vid/{VID} role: idrepo + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVID outputTemplate: idRepository/RetrieveUINByVID/retrieveUINByVIDResult @@ -37,8 +41,8 @@ Retrieve_VID_pos: "VID": "$ID:CreateVID_withValidParameters_Smoke_Onetime_sid_VID$" }' output: '{ - "UIN": "$IGNORE$", - "vidStatus": "$IGNORE$" + "vidStatus": "$IGNORE$", + "UIN": "$IGNORE$" }' IdRepository_Retrieve_VID_pos_perpetual_DEACTIVATED: @@ -53,8 +57,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' @@ -71,8 +74,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' @@ -89,8 +91,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is EXPIRED" + "errorCode": "IDR-VID-001" } ] }' @@ -106,8 +107,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is REVOKED" + "errorCode": "IDR-VID-001" } ] }' @@ -123,8 +123,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is DEACTIVATED" + "errorCode": "IDR-VID-001" } ] }' @@ -140,8 +139,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-VID-001", - "message": "VID is REVOKED" + "errorCode": "IDR-VID-001" } ] }' @@ -158,8 +156,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -176,8 +173,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -194,8 +190,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -212,8 +207,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -230,8 +224,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -248,8 +241,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -266,8 +258,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -284,8 +275,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -302,8 +292,7 @@ Retrieve_VID_pos: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveUINByVID/retrieveUINByVIDResult.hbs b/automationtests/src/main/resources/idRepository/RetrieveUINByVID/retrieveUINByVIDResult.hbs index 754f25640eb..efbd5b20f98 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveUINByVID/retrieveUINByVIDResult.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveUINByVID/retrieveUINByVIDResult.hbs @@ -1,13 +1,6 @@ { - "id": "mosip.vid.read", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": null, "response": { "vidStatus": "{{vidStatus}}", - "restoredVid": null, - "UIN": "{{UIN}}", - "VID": null - }, - "errors": [] + "UIN": "{{UIN}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/RetrieveVIDByUIN.yml b/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/RetrieveVIDByUIN.yml index 338158a1855..ea502b01e92 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/RetrieveVIDByUIN.yml +++ b/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/RetrieveVIDByUIN.yml @@ -10,6 +10,7 @@ RetrieveVIDByUIN: "UIN":"$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$" }' output: '{ + "vidType": "$IGNORE$" }' IdRepository_RetrieveVIDByUIN_With_Valid_Smoke_Perp: endPoint: /idrepository/v1/vid/uin/{UIN} @@ -22,6 +23,8 @@ RetrieveVIDByUIN: "UIN":"$ID:AddIdentity_ValidParam_smoke_Pos_UIN$" }' output: '{ + "vidType": "$IGNORE$" + }' IdRepository_RetrieveVIDByUIN_With_All_Vid_Valid_Smoke: @@ -35,6 +38,7 @@ RetrieveVIDByUIN: "UIN":"$ID:AddIdentity_For_NewScen_smoke_Pos_UIN$" }' output: '{ + "vidType": "$IGNORE$" }' IdRepository_RetrieveVIDByUIN_With_Invalid Uin: @@ -49,8 +53,7 @@ RetrieveVIDByUIN: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' @@ -67,8 +70,7 @@ RetrieveVIDByUIN: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -85,8 +87,7 @@ RetrieveVIDByUIN: output: '{ "errors": [ { - "errorCode": "IDR-IDC-004", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-004" } ] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/retrieveVIDByUINResult.hbs b/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/retrieveVIDByUINResult.hbs index 8e04d0f6e3a..f59441a2c14 100644 --- a/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/retrieveVIDByUINResult.hbs +++ b/automationtests/src/main/resources/idRepository/RetrieveVIDByUIN/retrieveVIDByUINResult.hbs @@ -1,20 +1,7 @@ { - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, "response": [ { - "vid": "$IGNORE$", - "vidType": "{{vidType}}", - "expiryTimestamp": "$IGNORE$", - "transactionLimit": $IGNORE$, - "hashAttributes": { - "SALT": "$IGNORE$", - "MODULO": "$IGNORE$", - "id_hash": "$IGNORE$" - } + "vidType": "{{vidType}}" } - ], - "errors": [] + ] } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/UpdateDraft/updateDraftResult.hbs b/automationtests/src/main/resources/idRepository/UpdateDraft/updateDraftResult.hbs index 312476fc58c..0137f52daaa 100644 --- a/automationtests/src/main/resources/idRepository/UpdateDraft/updateDraftResult.hbs +++ b/automationtests/src/main/resources/idRepository/UpdateDraft/updateDraftResult.hbs @@ -1,13 +1,5 @@ { - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "status": "{{status}}", - "identity": null, - "documents": null, - "verifiedAttributes": null - }, - "errors": [] + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/UpdateIdentity/UpdateIdentity.yml b/automationtests/src/main/resources/idRepository/UpdateIdentity/UpdateIdentity.yml index 2ada083e1ef..6054e5cf760 100644 --- a/automationtests/src/main/resources/idRepository/UpdateIdentity/UpdateIdentity.yml +++ b/automationtests/src/main/resources/idRepository/UpdateIdentity/UpdateIdentity.yml @@ -281,8 +281,7 @@ UpdateIdentity: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' diff --git a/automationtests/src/main/resources/idRepository/UpdateIdentity/updateIdentityResult.hbs b/automationtests/src/main/resources/idRepository/UpdateIdentity/updateIdentityResult.hbs index 4ebe34ae861..ca45b742b9e 100644 --- a/automationtests/src/main/resources/idRepository/UpdateIdentity/updateIdentityResult.hbs +++ b/automationtests/src/main/resources/idRepository/UpdateIdentity/updateIdentityResult.hbs @@ -1,12 +1,5 @@ { - "id": "mosip.id.update", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "status": "{{status}}", - "identity": null, - "documents": null - }, - "errors": [] + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatus.yml b/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatus.yml index 43f8b40180f..9283a3406aa 100644 --- a/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatus.yml +++ b/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatus.yml @@ -15,8 +15,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -36,8 +35,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -57,8 +55,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -78,8 +75,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -99,8 +95,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -120,8 +115,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -141,8 +135,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -162,8 +155,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -199,8 +191,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -220,8 +211,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -241,8 +231,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -262,8 +251,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -283,8 +271,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -304,8 +291,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -325,8 +311,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -346,8 +331,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -367,8 +351,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -388,8 +371,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -409,8 +391,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -430,8 +411,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -451,8 +431,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -472,8 +451,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -493,8 +471,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -514,8 +491,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -535,8 +511,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -556,8 +531,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -577,8 +551,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -598,8 +571,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -619,8 +591,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -640,8 +611,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-001", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-001" } ] }' @@ -661,8 +631,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -682,8 +651,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -704,8 +672,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -726,8 +693,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-003", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-003" } ] }' @@ -748,8 +714,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -770,8 +735,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' @@ -792,8 +756,7 @@ UpdateVidStatus: output: '{ "errors": [ { - "errorCode": "IDR-IDC-002", - "message": "$IGNORE$" + "errorCode": "IDR-IDC-002" } ] }' diff --git a/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatusResult.hbs b/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatusResult.hbs index 6a2647327e5..9bf8363a338 100644 --- a/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatusResult.hbs +++ b/automationtests/src/main/resources/idRepository/UpdateVIDStatus/UpdateVidStatusResult.hbs @@ -1,9 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", "response": { "vidStatus": "{{vidStatus}}" - }, - "errors": [] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/idRepository/error.hbs b/automationtests/src/main/resources/idRepository/error.hbs index 04f0f8e99d2..f4bcb6bee67 100644 --- a/automationtests/src/main/resources/idRepository/error.hbs +++ b/automationtests/src/main/resources/idRepository/error.hbs @@ -1,12 +1,8 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", "errors": [ {{#each errors}} { - "errorCode": "{{errorCode}}", - "message": "$IGNORE$" + "errorCode": "{{errorCode}}" } {{#unless @last}},{{/unless}} {{/each}} diff --git a/automationtests/src/main/resources/idRepository/uinrids/createuinresult.hbs b/automationtests/src/main/resources/idRepository/uinrids/createuinresult.hbs index 720254c65ba..67a058e0dd3 100644 --- a/automationtests/src/main/resources/idRepository/uinrids/createuinresult.hbs +++ b/automationtests/src/main/resources/idRepository/uinrids/createuinresult.hbs @@ -1,11 +1,6 @@ { - "id": "mosip.id.create", - "version": "v1", - "responsetime": "$IGNORE$", "response": { "status": "{{status}}" - }, - "errors": [ - - ] + } + } \ No newline at end of file From dd23c174db26e265475430f7bdbc804734d81a9f Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Tue, 29 Aug 2023 12:34:29 +0530 Subject: [PATCH 4/4] MOSIP-29104 MOSIP-29082 --- .../AcknowledgementController.yml | 15 ++ .../AcknowledgementControllerResult.hbs | 10 +- .../AddIdentity/addIdentityResult.hbs | 8 +- .../resources/resident/AuditLog/AuditLog.yml | 2 + .../AuditLog/createAuditLogResult.hbs | 10 +- .../resident/AuthHistory/AuthHistory.yml | 21 ++- .../AuthHistory/authHistoryResult.hbs | 11 +- .../resident/AuthLock/createAuthLock.yml | 60 ++++--- .../AuthLock/createAuthLockResult.hbs | 12 +- .../AuthLockNew/CreateAuthLockNewResult.hbs | 10 +- .../resident/AuthUnLock/createAuthUnLock.yml | 73 +++++--- .../AuthUnLock/createAuthUnLockResult.hbs | 12 +- .../CreateAuthUnlockNewResult.hbs | 10 +- .../AuthenticateUserResult.hbs | 10 +- .../AuthorizationCode/AuthorizationCode.yml | 2 - .../AuthorizationCodeResult.hbs | 12 +- .../CheckAidStatus/CheckAidStatus.yml | 7 + .../CheckAidStatus/CheckAidStatusResult.hbs | 14 +- .../CancellCredential/CancellCredential.yml | 3 +- .../cancellcredentialResult.hbs | 12 +- .../CredentialCheckStatus.yml | 12 -- .../credentialcheckstatusResult.hbs | 9 +- .../GetCredentialTypes/GetCredentialTypes.yml | 3 - .../getCredentialTypesResult.hbs | 21 +-- .../getPolicyByCredentialTypeResult.hbs | 22 +-- .../GetRqstId/getRqstIdResult.hbs | 11 +- .../RequestCredentials/ReqCredential.yml | 104 +++++++---- .../ReqCredentialResult.hbs | 12 +- .../DeleteDoc/DeleteDoc.yml | 6 +- .../DeleteDoc/DeleteDocResult.hbs | 10 +- .../GetDocByDocId/GetDocByDocId.yml | 7 + .../GetDocByDocId/GetDocByDocIdResult.hbs | 11 +- .../GetDocByTransId/GetDocByTransIdResult.hbs | 14 +- .../UploadDocument/UploadDocumentResult.hbs | 7 +- .../DownloadNearestRegCen.yml | 6 + .../DownloadNearestRegCenResult.hbs | 11 +- .../DownloadRegCenterDetails.yml | 5 + .../DownloadRegCenterDetailsResult.hbs | 11 +- .../DownloadServiceHistory.yml | 17 ++ .../DownloadServiceHistoryResult.hbs | 19 +- .../DownloadSupportingDocs.yml | 6 + .../DownloadSupportingDocsResult.hbs | 11 +- .../DownloadUinCard/DownloadUinCard.yml | 7 + .../DownloadUinCard/DownloadUinCardResult.hbs | 9 +- .../DownloadUinCardByEventId.yml | 6 + .../DownloadUinCardByEventIdResult.hbs | 11 +- .../GenerateToken/GenerateTokenResult.hbs | 5 +- .../GenerateVID/createGenerateVID.yml | 169 ++++++++---------- .../GenerateVID/createGenerateVIDNew.yml | 16 -- .../createGenerateVIDNewResult.hbs | 10 +- .../GenerateVID/createGenerateVIDResult.hbs | 11 +- ...lTemplateBylangCodeAndTemplateTypeCode.yml | 11 ++ ...ateBylangCodeAndTemplateTypeCodeResult.hbs | 10 +- .../GetAuthLockStatus/GetAuthLockStatus.yml | 3 + .../getAuthLockStatusResult.hbs | 10 +- ...hannelVerificationStatusNegativeResult.hbs | 7 +- .../getChannelVerificationStatusResult.hbs | 7 +- .../GetCheckEventIdStatus.yml | 6 + .../GetCheckEventIdStatusResult.hbs | 10 +- ...inateSpecificRegistrationCentersResult.hbs | 37 +--- .../GetDocumentTypesResult.hbs | 9 +- .../resident/GetGenderCode/GetGenderCode.yml | 5 + .../GetGenderCode/GetGenderCodeResult.hbs | 9 +- .../GetIdentityMapping/GetIdentityMapping.yml | 1 + .../getIdentityMappingResult.hbs | 9 +- ...tImmediateChildrenByLocCodeAndLangCode.yml | 14 +- ...iateChildrenByLocCodeAndLangCodeResult.hbs | 84 +-------- .../GetInputAttributeValues.yml | 7 + .../getInputAttributeValuesResult.hbs | 10 +- .../GetLastClickNotification.yml | 3 + .../GetLastClickNotificationResult.hbs | 7 +- .../GetLatestIdSchema/GetLatestIdSchema.yml | 2 + .../getLatestIdSchemaResult.hbs | 36 +--- ...GetLocationDetailsByLocCodeAndLangCode.yml | 26 +-- ...ationDetailsByLocCodeAndLangCodeResult.hbs | 23 +-- .../GetLocationHierarchyByLangCode.yml | 7 +- .../getLocationHierarchyByLangCodeResult.hbs | 48 +---- .../GetNotifications/GetNotifications.yml | 34 ++-- .../GetNotificationsResult.hbs | 10 +- .../GetOrderStatus/GetOrderStatusResult.hbs | 4 +- .../GetPartnersByPartnerType.yml | 6 + .../getPartnersByPartnerTypeResult.hbs | 10 +- ...orMappedPartnerAndCredentialtypeResult.hbs | 34 +--- .../resident/GetProfile/GetProfile.yml | 3 + .../resident/GetProfile/GetProfileResult.hbs | 11 +- ...etRegCenterByLangCodeAndHierarchyLevel.yml | 37 ++-- ...enterByLangCodeAndHierarchyLevelResult.hbs | 37 +--- ...CenterByHierarchyLevelAndTextPaginated.yml | 20 +++ ...ByHierarchyLevelAndTextPaginatedResult.hbs | 50 +----- .../GetRegistrationCenterWorkingDays.yml | 7 +- ...getRegistrationCenterWorkingDaysResult.hbs | 42 +---- ...ainingupdatecountbyIndividualIdRequest.yml | 4 + ...updatecountbyIndividualIdRequestResult.hbs | 8 +- ...iningupdatecountbyIndividualIdRequest2.yml | 3 + ...pdatecountbyIndividualIdRequest2Result.hbs | 9 +- .../GetRequestCardVid/GetRequestCardVid.yml | 4 +- .../GetRequestCardVidResult.hbs | 7 +- .../GetResidentValidDocuments.yml | 10 +- .../getResidentValidDocumentsResult.hbs | 63 +------ .../GetRetrieveVidPolicy.yml | 2 + .../getRetrieveVidPolicyResult.hbs | 9 +- .../GetRidByIndividualId.yml | 4 + .../GetRidByIndividualIdResult.hbs | 10 +- .../GetServiceHistory/GetServiceHistory.yml | 85 +++++++++ .../GetServiceHistoryResult.hbs | 27 +-- .../GetSupportingDoc/GetSupportingDoc.yml | 2 + .../GetSupportingDocResult.hbs | 11 +- .../GetUiProperties/GetUiProperties.yml | 11 +- .../GetUiProperties/getUiPropertiesResult.hbs | 19 +- .../GetValidDocumentByLangCode.yml | 6 +- .../getValidDocumentByLangCodeResult.hbs | 34 +--- .../GetValidateToken/GetValidateToken.yml | 4 + .../getValidateTokenResult.hbs | 10 +- .../GrievanceTicket/GrievanceTicket.yml | 16 ++ .../GrievanceTicket/GrievanceTicketResult.hbs | 10 +- .../resources/resident/LoginUri/LoginUri.yml | 1 + .../resident/LoginUri/LoginUriResult.hbs | 11 +- .../OAuthDetailsRequestResult.hbs | 17 +- .../resident/PRINTUIN/createPrintUin.yml | 19 +- .../PRINTUIN/createPrintUinResult.hbs | 12 +- .../PersonalizedCard/PersonalizedCard.yml | 8 + .../PersonalizedCardResult.hbs | 14 +- .../resident/PinStatus/PinStatus.yml | 6 +- .../resident/PinStatus/PinStatusResult.hbs | 10 +- .../PutBellUpdatedTime/PutBellUpdatedTime.yml | 2 + .../PutBellUpdatedTimeResult.hbs | 7 +- .../resident/ReqAidOtp/ReqAidOtpResult.hbs | 8 +- .../ReqShareCredWithPartnerResult.hbs | 7 +- .../resident/RetrieveVID/RetrieveVID.yml | 3 + .../RetrieveVID/RetrieveVIDResult.hbs | 21 +-- .../resident/RevokeVID/createRevokeVID.yml | 36 +++- .../RevokeVID/createRevokeVIDResult.hbs | 10 +- .../RevokeVIDNew/CreateRevokeVIDNew.yml | 12 +- .../RevokeVIDNew/CreateRevokeVIDNewResult.hbs | 10 +- .../RidCheckStatus/createRidCheckStatus.yml | 8 +- .../createRidCheckStatusResult.hbs | 7 +- .../SendOTP/createSendOTPErrorResult.hbs | 9 +- .../SendOTP/createSendOTPErrorResult2.hbs | 9 +- .../resident/SendOTP/createSendOTPResult.hbs | 8 +- .../SendOTP/createSendOTPResultForEmail.hbs | 8 +- .../SendOTP/createSendOTPResultForPhone.hbs | 8 +- .../resident/SendOTPUIN/createSendOTP.yml | 1 + .../SendOTPUIN/createSendOTPResult.hbs | 8 +- .../SendOtpForContactDetResult.hbs | 10 +- .../SendOtpForExpirationResult.hbs | 11 +- .../SendOtpForVid/createSendOTPResult.hbs | 8 +- .../resident/SendOtpIdp/SendOtpIdp.yml | 3 +- .../resident/SendOtpIdp/SendOtpIdpResult.hbs | 7 +- .../SendOtpToUserId/SendOtpToUserId.yml | 18 +- .../SendOtpToUserId/SendOtpToUserIdResult.hbs | 9 +- .../resources/resident/SignJWT/SignJWT.yml | 1 - .../resident/SignJWT/SignJWTResult.hbs | 6 +- .../TranslitrateData/TranslitrateData.yml | 19 ++ .../TranslitrateDataResult.hbs | 12 +- .../resident/UnPinStatus/UnPinStatus.yml | 6 +- .../UnPinStatus/UnPinStatusResult.hbs | 10 +- .../UpdateContactDetailsResult.hbs | 9 +- .../resident/UpdateUIN/UpdateUIN.yml | 16 +- .../resident/UpdateUIN/UpdateUinResult.hbs | 12 +- .../resident/UpdateUINNew/UpdateUINNew.yml | 12 +- .../UpdateUINNew/UpdateUINNewResult.hbs | 10 +- .../ValidateExpiredOTP/ValidateExpiredOTP.yml | 4 +- .../ValidateExpiredOTPResult.hbs | 10 -- .../ValidateOTP/ValidateOTPResult.hbs | 6 +- .../ValidateWithUserIdOtp.yml | 6 +- .../ValidateWithUserIdOtpResult.hbs | 9 +- .../src/main/resources/resident/error.hbs | 10 +- .../testNgXmlFiles/residentApi.xml | 14 +- 168 files changed, 827 insertions(+), 1658 deletions(-) delete mode 100644 automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTPResult.hbs diff --git a/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementController.yml b/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementController.yml index b11b539f4cf..7c3367d926a 100644 --- a/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementController.yml +++ b/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementController.yml @@ -2,6 +2,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Valid_Smoke: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult @@ -16,6 +17,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_Valid_Smoke: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult @@ -30,6 +32,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Invalid_languageCode_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -44,6 +47,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Invalid_eventId_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -58,6 +62,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Empty_languageCode_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -72,6 +77,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_spaceVal_languagecode_Neg: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult @@ -86,6 +92,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_SpaceVal_enentId_Neg: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult @@ -100,6 +107,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Empty_eventId_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -114,6 +122,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_uin_Invalid_Role_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -128,6 +137,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_Invalid_languageCode_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -142,6 +152,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_Invalid_eventId_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -156,6 +167,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_Empty_languageCode_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -170,6 +182,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_Empty_eventId_Negative: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/error @@ -184,6 +197,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_SpaceVal_languageCode_Neg: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult @@ -198,6 +212,7 @@ GetAcknowledgementController: Resident_GetAuthorizationtoken_vid_SpaceVal_eventId_Neg: endPoint: /resident/v1/ack/download/pdf/event/{eventId}/language/{languageCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/AcknowledgementController/AcknowledgementController outputTemplate: resident/AcknowledgementController/AcknowledgementControllerResult diff --git a/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementControllerResult.hbs b/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementControllerResult.hbs index 38b95b914e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementControllerResult.hbs +++ b/automationtests/src/main/resources/resident/AcknowledgementController/AcknowledgementControllerResult.hbs @@ -1,9 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AddIdentity/addIdentityResult.hbs b/automationtests/src/main/resources/resident/AddIdentity/addIdentityResult.hbs index f972c850e57..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/AddIdentity/addIdentityResult.hbs +++ b/automationtests/src/main/resources/resident/AddIdentity/addIdentityResult.hbs @@ -1,11 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", "response": { "status": "{{status}}" - }, - "errors": [ - - ] + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuditLog/AuditLog.yml b/automationtests/src/main/resources/resident/AuditLog/AuditLog.yml index fdd278a8218..858f9129053 100644 --- a/automationtests/src/main/resources/resident/AuditLog/AuditLog.yml +++ b/automationtests/src/main/resources/resident/AuditLog/AuditLog.yml @@ -2,6 +2,7 @@ AuditLog: Resident_AuditLog_StatusCode_uin_all_Valid_Smoke: endPoint: /resident/v1/auth-proxy/audit/log role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuditLog/createAuditLog outputTemplate: resident/AuditLog/createAuditLogResult @@ -28,6 +29,7 @@ AuditLog: Resident_AuditLog_StatusCode_vid_all_Valid_Smoke: endPoint: /resident/v1/auth-proxy/audit/log role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuditLog/createAuditLog outputTemplate: resident/AuditLog/createAuditLogResult diff --git a/automationtests/src/main/resources/resident/AuditLog/createAuditLogResult.hbs b/automationtests/src/main/resources/resident/AuditLog/createAuditLogResult.hbs index 38b95b914e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuditLog/createAuditLogResult.hbs +++ b/automationtests/src/main/resources/resident/AuditLog/createAuditLogResult.hbs @@ -1,9 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthHistory/AuthHistory.yml b/automationtests/src/main/resources/resident/AuthHistory/AuthHistory.yml index 4fd51049b71..c765c0eb055 100644 --- a/automationtests/src/main/resources/resident/AuthHistory/AuthHistory.yml +++ b/automationtests/src/main/resources/resident/AuthHistory/AuthHistory.yml @@ -2,6 +2,7 @@ AuthHistory: Resident_AuthHistory_With_UIN_smoke_Pos: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/AuthHistory/authHistoryResult @@ -23,7 +24,6 @@ AuthHistory: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -33,6 +33,7 @@ AuthHistory: Resident_AuthHistory_With_VID_smoke_Pos: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/AuthHistory/authHistoryResult @@ -54,7 +55,6 @@ AuthHistory: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -64,6 +64,7 @@ AuthHistory: Resident_AuthHistory_InValid_UIN_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -87,7 +88,7 @@ AuthHistory: output: '{ "errors": [ { - "errorCode": "RES-SER-410", + "errorCode": "RES-SER-417", "message": "$IGNORE$" } ], @@ -100,6 +101,7 @@ AuthHistory: Resident_AuthHistory_missing_UIN_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -137,6 +139,7 @@ AuthHistory: Resident_AuthHistory_Missing_OTP_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -173,6 +176,7 @@ AuthHistory: Resident_AuthHistory_TransactionMismatch_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -209,6 +213,7 @@ AuthHistory: Resident_AuthHistory_Invalid_Id_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -245,6 +250,7 @@ AuthHistory: Resident_AuthHistory_Missing_Id_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -281,6 +287,7 @@ AuthHistory: Resident_AuthHistory_InValid_version_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -317,6 +324,7 @@ AuthHistory: Resident_AuthHistory_Missing_version_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -353,6 +361,7 @@ AuthHistory: Resident_AuthHistory_Invalid_Timestamp_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -389,6 +398,7 @@ AuthHistory: Resident_AuthHistory_Missing_Timestamp_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -426,6 +436,7 @@ AuthHistory: Resident_AuthHistory_InValid_OTP_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error @@ -463,6 +474,7 @@ AuthHistory: Resident_AuthHistory_With_UIN_Phone_smoke_Pos: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/AuthHistory/authHistoryResult @@ -484,7 +496,6 @@ AuthHistory: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForPhone" @@ -516,7 +527,6 @@ AuthHistory: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForEmail", "maskedEmail": "$IGNORE$" @@ -525,6 +535,7 @@ AuthHistory: Resident_AuthHistory_With_UIN_EmptyChannel_Neg: endPoint: /resident/v1/req/auth-history role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/AuthHistory/authHistory outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/AuthHistory/authHistoryResult.hbs b/automationtests/src/main/resources/resident/AuthHistory/authHistoryResult.hbs index f69bf015966..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuthHistory/authHistoryResult.hbs +++ b/automationtests/src/main/resources/resident/AuthHistory/authHistoryResult.hbs @@ -1,10 +1 @@ -{ - "id": "mosip.resident.authhistory", - "version": "v1", - "responsetime": "$IGNORE$", - "response": { - "authHistory": "$IGNORE$", - "message": "{{message}}" - }, - "errors": [] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthLock/createAuthLock.yml b/automationtests/src/main/resources/resident/AuthLock/createAuthLock.yml index 24f1ab652f5..678b334dc09 100644 --- a/automationtests/src/main/resources/resident/AuthLock/createAuthLock.yml +++ b/automationtests/src/main/resources/resident/AuthLock/createAuthLock.yml @@ -3,6 +3,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -24,8 +25,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -37,6 +36,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -58,8 +58,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -71,6 +69,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -92,8 +91,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -104,6 +101,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -125,8 +123,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -137,6 +133,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -158,8 +155,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -170,6 +165,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -191,8 +187,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -203,6 +197,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -224,8 +219,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -236,6 +229,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -257,8 +251,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -269,6 +261,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -290,8 +283,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -302,6 +293,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -323,8 +315,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -335,6 +325,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -356,8 +347,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -368,6 +357,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -405,6 +395,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -442,6 +433,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -479,6 +471,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -517,6 +510,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -555,6 +549,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -592,6 +587,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -629,6 +625,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -666,6 +663,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -703,6 +701,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -740,6 +739,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -777,6 +777,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -815,6 +816,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -853,6 +855,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -890,6 +893,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -927,6 +931,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -964,6 +969,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -1002,6 +1008,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ @@ -1040,6 +1047,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -1074,6 +1082,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -1095,8 +1104,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForPhone" @@ -1106,8 +1113,8 @@ AuthLock: Resident_AuthLock_Valid_UIN_Email_All: endPoint: /resident/v1/req/auth-lock role: resident - checkErrorsOnlyInResponse: true restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/AuthLock/createAuthLockResult input: '{ @@ -1129,8 +1136,6 @@ AuthLock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForEmail", "maskedEmail": "$IGNORE$" @@ -1141,6 +1146,7 @@ AuthLock: endPoint: /resident/v1/req/auth-lock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthLock/createAuthLock outputTemplate: resident/error input: '{ diff --git a/automationtests/src/main/resources/resident/AuthLock/createAuthLockResult.hbs b/automationtests/src/main/resources/resident/AuthLock/createAuthLockResult.hbs index 2dfc65607e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuthLock/createAuthLockResult.hbs +++ b/automationtests/src/main/resources/resident/AuthLock/createAuthLockResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "status": "$IGNORE$", - "message": "{{message}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthLockNew/CreateAuthLockNewResult.hbs b/automationtests/src/main/resources/resident/AuthLockNew/CreateAuthLockNewResult.hbs index c20d0003c25..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/AuthLockNew/CreateAuthLockNewResult.hbs +++ b/automationtests/src/main/resources/resident/AuthLockNew/CreateAuthLockNewResult.hbs @@ -1,11 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "$IGNORE$" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLock.yml b/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLock.yml index 0647cdf5fa0..6733b438b65 100644 --- a/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLock.yml +++ b/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLock.yml @@ -3,6 +3,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -25,8 +26,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -38,6 +37,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -60,8 +60,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -73,6 +71,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -112,6 +111,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -151,6 +151,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -173,8 +174,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -186,6 +185,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -225,6 +225,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -247,8 +248,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -260,6 +259,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -299,6 +299,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -321,8 +322,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -334,6 +333,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -373,6 +373,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -395,8 +396,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -408,6 +407,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -447,6 +447,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -469,8 +470,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -482,6 +481,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -521,6 +521,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -543,8 +544,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -556,6 +555,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -595,6 +595,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -617,8 +618,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -630,6 +629,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -669,6 +669,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -691,8 +692,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -704,6 +703,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -743,6 +743,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -782,6 +783,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -821,6 +823,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -859,6 +862,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -897,6 +901,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -935,6 +940,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -973,6 +979,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1011,6 +1018,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1049,6 +1057,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1087,6 +1096,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1125,6 +1135,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1163,6 +1174,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1201,6 +1213,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1240,6 +1253,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1279,6 +1293,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -1301,8 +1316,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1314,6 +1327,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -1336,8 +1350,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1349,6 +1361,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1388,6 +1401,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1427,6 +1441,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1466,6 +1481,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1505,6 +1521,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1544,6 +1561,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/error input: '{ @@ -1586,8 +1604,8 @@ AuthUnlock: Resident_AuthUnLock_Valid_UIN_EmailChannel_Pos: endPoint: /resident/v1/req/auth-unlock role: resident - checkErrorsOnlyInResponse: true restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -1610,8 +1628,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForEmail", "maskedEmail": "$IGNORE$" @@ -1622,6 +1638,7 @@ AuthUnlock: endPoint: /resident/v1/req/auth-unlock role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/AuthUnLock/createAuthUnLock outputTemplate: resident/AuthUnLock/createAuthUnLockResult input: '{ @@ -1644,8 +1661,6 @@ AuthUnlock: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForPhone", "maskedMobile": "XXXXXX3210" diff --git a/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLockResult.hbs b/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLockResult.hbs index 2dfc65607e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLockResult.hbs +++ b/automationtests/src/main/resources/resident/AuthUnLock/createAuthUnLockResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "status": "$IGNORE$", - "message": "{{message}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthUnlockNew/CreateAuthUnlockNewResult.hbs b/automationtests/src/main/resources/resident/AuthUnlockNew/CreateAuthUnlockNewResult.hbs index e98fa6d1c04..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/AuthUnlockNew/CreateAuthUnlockNewResult.hbs +++ b/automationtests/src/main/resources/resident/AuthUnlockNew/CreateAuthUnlockNewResult.hbs @@ -1,11 +1,5 @@ { - "id": "$IGNORE$", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "$IGNORE$" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthenticateUser/AuthenticateUserResult.hbs b/automationtests/src/main/resources/resident/AuthenticateUser/AuthenticateUserResult.hbs index a779613198a..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuthenticateUser/AuthenticateUserResult.hbs +++ b/automationtests/src/main/resources/resident/AuthenticateUser/AuthenticateUserResult.hbs @@ -1,9 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "response": { - "transactionId": "$IGNORE$" - }, - "errors": [] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCode.yml b/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCode.yml index ef8995da502..db902bfb774 100644 --- a/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCode.yml +++ b/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCode.yml @@ -15,7 +15,6 @@ AuthorizationCode: "permittedAuthorizeScopes": [{scope: "Manage-Identity-Data"},{scope: "Manage-VID"},{scope: "Manage-Authentication"},{scope: "Manage-Service-Requests"},{scope: "Manage-Credentials"}] }' output: '{ - "redirectUri": "$IGNORE$" }' Resident_ESignet_AuthorizationCode_Vid_All_Valid_Smoke_sid: @@ -35,5 +34,4 @@ AuthorizationCode: }' output: '{ - "redirectUri": "$IGNORE$" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCodeResult.hbs b/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCodeResult.hbs index 7025d544f5b..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCodeResult.hbs +++ b/automationtests/src/main/resources/resident/AuthorizationCode/AuthorizationCodeResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "response": { - "nonce": "$IGNORE$", - "code": "$IGNORE$", - "redirectUri": "{{redirectUri}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatus.yml b/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatus.yml index f7cc237e646..e227f409551 100644 --- a/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatus.yml +++ b/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatus.yml @@ -3,6 +3,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/CheckAidStatus/CheckAidStatusResult input: '{ @@ -32,6 +33,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ @@ -67,6 +69,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ @@ -102,6 +105,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ @@ -137,6 +141,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ @@ -172,6 +177,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ @@ -207,6 +213,7 @@ CheckAidStatus: endPoint: /resident/v1/aid/status role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CheckAidStatus/CheckAidStatus outputTemplate: resident/error input: '{ diff --git a/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatusResult.hbs b/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatusResult.hbs index 5da9a1ea5d4..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatusResult.hbs +++ b/automationtests/src/main/resources/resident/CheckAidStatus/CheckAidStatusResult.hbs @@ -1,13 +1 @@ -{ - "id": "mosip.resident.checkstatus", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "individualId": "$IGNORE$", - "transactionId": "$IGNORE$", - "transactionStage": "$IGNORE$", - "aidStatus": "$IGNORE$" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/CancellCredential.yml b/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/CancellCredential.yml index 514403dff69..68d82fed442 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/CancellCredential.yml +++ b/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/CancellCredential.yml @@ -2,6 +2,7 @@ CancellCredential: Resident_CredentialsStatus_euin_All_Valid_Smoke: endPoint: /resident/v1/req/credential/cancel/{requestId} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/CredentialIssuance/CancellCredential/cancellcredential outputTemplate: resident/CredentialIssuance/CancellCredential/cancellcredentialResult @@ -9,6 +10,4 @@ CancellCredential: "requestId": "$ID:RequestCredentials_Qrcode_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/cancellcredentialResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/cancellcredentialResult.hbs index 6e063e893a8..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/cancellcredentialResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/CancellCredential/cancellcredentialResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "requestId": "{{requestId}}", - "id": "{{id}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/CredentialCheckStatus.yml b/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/CredentialCheckStatus.yml index 1888cc096f3..7ff8c49888b 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/CredentialCheckStatus.yml +++ b/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/CredentialCheckStatus.yml @@ -9,8 +9,6 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_euin_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' Resident_CredentialsStatus_uin_All_Valid_Smoke: @@ -23,8 +21,6 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_printUIN_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' Resident_CredentialsStatus_QRcode_All_Valid_Smoke: @@ -37,8 +33,6 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_Qrcode_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' Resident_CredentialsStatus_Of_VID_euin_All_Valid_Smoke: @@ -51,8 +45,6 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_euin_VID_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' Resident_CredentialsStatus_Of_VID_Reprint_All_Valid_Smoke: @@ -65,8 +57,6 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_reprint_VID_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' Resident_CredentialsStatus_Of_VID_QRcode_All_Valid_Smoke: @@ -79,7 +69,5 @@ CredentialsStatus: "requestId": "$ID:RequestCredentials_Qrcode_VID_All_Valid_Smoke_sid_requestId$" }' output: '{ - "id": "$IGNORE$", - "requestId": "$IGNORE$", "statusCode": "printing" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/credentialcheckstatusResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/credentialcheckstatusResult.hbs index c454c7cd21a..5bd4b5fb05f 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/credentialcheckstatusResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/CredentialCheckStatus/credentialcheckstatusResult.hbs @@ -1,12 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, "response": { - "id": "{{id}}", - "requestId": "{{requestId}}", "statusCode": "{{statusCode}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/GetCredentialTypes.yml b/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/GetCredentialTypes.yml index 598d4973683..d6bad9eab15 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/GetCredentialTypes.yml +++ b/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/GetCredentialTypes.yml @@ -9,9 +9,6 @@ GetCredentialTypes: input: '{ }' output: '{ -"response": [{ - "version": $IGNORE$ - }] }' Resident_GetCredentialTypes_all_valid_smoke: endPoint: /resident/v1/credential/types diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/getCredentialTypesResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/getCredentialTypesResult.hbs index d27e9f5e16b..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/getCredentialTypesResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/GetCredentialTypes/getCredentialTypesResult.hbs @@ -1,20 +1 @@ -{ - "id": "$IGNORE$", - "version": "{{version}}", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "credentialTypes": [ - {{#each credentialTypes}} - { - "id": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "issuers": "$IGNORE$" - } - {{#unless @last}},{{/unless}} - {{/each}} - ] - }, - "errors": $IGNORE$ -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/GetPolicyByCredentialType/getPolicyByCredentialTypeResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/GetPolicyByCredentialType/getPolicyByCredentialTypeResult.hbs index 06f0c7266bc..a741428fa90 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/GetPolicyByCredentialType/getPolicyByCredentialTypeResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/GetPolicyByCredentialType/getPolicyByCredentialTypeResult.hbs @@ -1,26 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "partnerId": "{{partnerId}}", "credentialType": "{{credentialType}}", - "policyId": "$IGNORE$", - "policyName": "$IGNORE$", - "policyDesc": "$IGNORE$", - "policyType": "$IGNORE$", - "publishDate": "$IGNORE$", - "validTill": "$IGNORE$", - "status": "$IGNORE$", - "version": "$IGNORE$", - "schema": "$IGNORE$", - "is_Active": $IGNORE$, - "cr_by": "$IGNORE$", - "cr_dtimes": "$IGNORE$", - "up_by": "$IGNORE$", - "upd_dtimes": "$IGNORE$", - "policies": "$IGNORE$" - }, - "errors": $IGNORE$ + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/GetRqstId/getRqstIdResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/GetRqstId/getRqstIdResult.hbs index 85e5747d2b1..db78989df35 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/GetRqstId/getRqstIdResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/GetRqstId/getRqstIdResult.hbs @@ -1,15 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, "response": { "pageNo": "{{pageNo}}", "pageSize": "{{pageSize}}", - "sort": "$IGNORE$", - "totalItems": "$IGNORE$", - "totalPages": "$IGNORE$", - "data": "$IGNORE$" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredential.yml b/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredential.yml index 10861aecc8d..4bd264295fa 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredential.yml +++ b/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredential.yml @@ -3,6 +3,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -24,7 +25,6 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -35,6 +35,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -56,7 +57,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -67,6 +68,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -88,7 +90,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -99,6 +101,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -136,6 +139,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -173,6 +177,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -194,7 +199,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -205,6 +210,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -225,7 +231,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -236,6 +242,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -256,7 +263,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -267,6 +274,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -287,7 +295,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -298,6 +306,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -319,7 +328,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -330,6 +339,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -350,7 +360,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -361,6 +371,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -381,7 +392,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -392,6 +403,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -428,6 +440,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -464,6 +477,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -500,6 +514,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -536,6 +551,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -572,6 +588,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -592,7 +609,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -603,6 +620,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -623,7 +641,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -634,6 +652,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -654,7 +673,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -664,8 +683,8 @@ RequestCredentials: Resident_RequestCredentials_encrypt_false_smoke: endPoint: /resident/v1/req/credential role: resident - checkErrorsOnlyInResponse: true restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -686,7 +705,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -698,6 +717,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -719,7 +739,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -730,6 +750,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -751,7 +772,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -763,6 +784,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -784,7 +806,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -796,6 +818,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -817,7 +840,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -829,6 +852,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -850,7 +874,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -862,6 +886,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithAdditionalData outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -883,7 +908,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -895,6 +920,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -916,7 +942,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -927,6 +953,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -948,7 +975,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -960,6 +987,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -981,7 +1009,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -993,6 +1021,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1014,7 +1043,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1026,6 +1055,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1047,7 +1077,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1059,6 +1089,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredentialWithSharableAttributes outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1080,7 +1111,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1092,6 +1123,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -1129,6 +1161,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -1167,6 +1200,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -1203,6 +1237,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -1240,6 +1275,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1260,7 +1296,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1272,6 +1308,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ @@ -1309,6 +1346,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1329,7 +1367,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1340,8 +1378,8 @@ RequestCredentials: Resident_RequestCredentials_Email_Channel_Pos: endPoint: /resident/v1/req/credential role: resident - checkErrorsOnlyInResponse: true restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1362,7 +1400,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForEmail", "maskedEmail": "$IGNORE$" @@ -1373,6 +1411,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/CredentialIssuance/RequestCredentials/ReqCredentialResult input: '{ @@ -1393,7 +1432,7 @@ RequestCredentials: } }' output: '{ - "id": "$IGNORE$", + "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForPhone", "maskedMobile": "XXXXXX3210" @@ -1404,6 +1443,7 @@ RequestCredentials: endPoint: /resident/v1/req/credential role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/CredentialIssuance/RequestCredentials/reqCredential outputTemplate: resident/error input: '{ diff --git a/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredentialResult.hbs b/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredentialResult.hbs index 436bbc57722..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredentialResult.hbs +++ b/automationtests/src/main/resources/resident/CredentialIssuance/RequestCredentials/ReqCredentialResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$TIMESTAMP$", - "metadata": "$IGNORE$", - "response": { - "id": "{{id}}", - "requestId": "$IGNORE$" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDoc.yml b/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDoc.yml index 478ab79fddb..73caf7b5abe 100644 --- a/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDoc.yml +++ b/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDoc.yml @@ -10,8 +10,7 @@ DeleteDoc: "docId": "$ID:UploadDocument_uin_all_Valid_Smoke_sid_docId$" }' output: '{ - "status": "SUCCESS", - "message": "Document deleted successfully" + "status": "SUCCESS" }' Resident_DeleteDoc_vid_all_Valid_Smoke: @@ -25,8 +24,7 @@ DeleteDoc: "docId": "$ID:UploadDocument_vid_all_Valid_Smoke_sid_docId$" }' output: '{ - "status": "SUCCESS", - "message": "Document deleted successfully" + "status": "SUCCESS" }' Resident_DeleteDoc_uin_Invalid_TransactionId_Neg: diff --git a/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDocResult.hbs b/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDocResult.hbs index 7553b230664..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDocResult.hbs +++ b/automationtests/src/main/resources/resident/DocumentController/DeleteDoc/DeleteDocResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.resident.document.delete", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocId.yml b/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocId.yml index 2f166ec3967..3a333484d52 100644 --- a/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocId.yml +++ b/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocId.yml @@ -2,6 +2,7 @@ GetDocByDocId: Resident_GetDocByDocId_uin_all_Valid_Smoke: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocIdResult @@ -16,6 +17,7 @@ GetDocByDocId: Resident_GetDocByDocId_vid_all_Valid_Smoke: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocIdResult @@ -30,6 +32,7 @@ GetDocByDocId: Resident_GetDocByDocId_uin_Invalid_TransactionId: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/error @@ -49,6 +52,7 @@ GetDocByDocId: Resident_GetDocByDocId_uin_Invalid_docId: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/error @@ -68,6 +72,7 @@ GetDocByDocId: Resident_GetDocByDocId_uin_Invalid_Token: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: partner + checkErrorsOnlyInResponse: true validityCheckRequired: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId @@ -88,6 +93,7 @@ GetDocByDocId: Resident_GetDocByDocId_vid_Invalid_TransactionId: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/error @@ -107,6 +113,7 @@ GetDocByDocId: Resident_GetDocByDocId_vid_Invalid_docId: endPoint: /resident/v1/document/{docId}?transactionId={transactionId} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DocumentController/GetDocByDocId/GetDocByDocId outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocIdResult.hbs b/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocIdResult.hbs index 81d563e79ce..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocIdResult.hbs +++ b/automationtests/src/main/resources/resident/DocumentController/GetDocByDocId/GetDocByDocIdResult.hbs @@ -1,10 +1 @@ -{ - "id": "mosip.resident.document.get", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "document": "$IGNORE$" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DocumentController/GetDocByTransId/GetDocByTransIdResult.hbs b/automationtests/src/main/resources/resident/DocumentController/GetDocByTransId/GetDocByTransIdResult.hbs index 8e9273f38e4..94786522a0e 100644 --- a/automationtests/src/main/resources/resident/DocumentController/GetDocByTransId/GetDocByTransIdResult.hbs +++ b/automationtests/src/main/resources/resident/DocumentController/GetDocByTransId/GetDocByTransIdResult.hbs @@ -1,17 +1,7 @@ { - "id": "mosip.resident.document.list", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": [ { - "transactionId": "{{transactionId}}", - "docId": "$IGNORE$", - "docName": "$IGNORE$", - "docCatCode": "$IGNORE$", - "docTypCode": "$IGNORE$", - "docFileFormat": "$IGNORE$" + "transactionId": "{{transactionId}}" } - ], - "errors": "$IGNORE$" + ] } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DocumentController/UploadDocument/UploadDocumentResult.hbs b/automationtests/src/main/resources/resident/DocumentController/UploadDocument/UploadDocumentResult.hbs index 0012795d49a..b927a084e48 100644 --- a/automationtests/src/main/resources/resident/DocumentController/UploadDocument/UploadDocumentResult.hbs +++ b/automationtests/src/main/resources/resident/DocumentController/UploadDocument/UploadDocumentResult.hbs @@ -1,8 +1,4 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "transactionId": "{{transactionId}}", "docId": "{{docId}}", @@ -10,6 +6,5 @@ "docCatCode": "{{docCatCode}}", "docTypCode": "{{docTypCode}}", "docFileFormat": "{{docFileFormat}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCen.yml b/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCen.yml index 2db4103e214..dc10f437404 100644 --- a/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCen.yml +++ b/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCen.yml @@ -2,6 +2,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_allValid_smoke: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCenResult @@ -18,6 +19,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_Invalid_Langcode_Neg: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/error @@ -34,6 +36,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_Invalid_Latitude_Neg: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/error @@ -50,6 +53,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_Invalid_Proximitydistance_Neg: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/error @@ -66,6 +70,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_Invalid_Longitude_Neg: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/error @@ -82,6 +87,7 @@ DownloadNearestRegCen: Resident_DownloadNearestRegCen_Invalid_All_Inputs_Neg: endPoint: /resident/v1/download/nearestRegistrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadNearestRegCen/DownloadNearestRegCen outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCenResult.hbs b/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCenResult.hbs index 5c170b483c1..91ad89c2350 100644 --- a/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCenResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadNearestRegCen/DownloadNearestRegCenResult.hbs @@ -1,13 +1,4 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - - }, - "errors": $IGNORE$ -} +{} diff --git a/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetails.yml b/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetails.yml index 6f91757183e..5ebf1f0c3a8 100644 --- a/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetails.yml +++ b/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetails.yml @@ -2,6 +2,7 @@ DownloadRegCenterDetails: Resident_DownloadRegCenterDetails_all_Valid_Smoke: endPoint: /resident/v1/download/registrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetails outputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetailsResult @@ -17,6 +18,7 @@ DownloadRegCenterDetails: Resident_DownloadRegCenterDetails_Invalid_Langcode_Neg: endPoint: /resident/v1/download/registrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetails outputTemplate: resident/error @@ -32,6 +34,7 @@ DownloadRegCenterDetails: Resident_DownloadRegCenterDetails_Invalid_Hierarchylevel_Neg: endPoint: /resident/v1/download/registrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetails outputTemplate: resident/error @@ -47,6 +50,7 @@ DownloadRegCenterDetails: Resident_DownloadRegCenterDetails_Invalid_Name_Neg: endPoint: /resident/v1/download/registrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetails outputTemplate: resident/error @@ -62,6 +66,7 @@ DownloadRegCenterDetails: Resident_DownloadRegCenterDetails_Invalid_All_Input_Neg: endPoint: /resident/v1/download/registrationcenters role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadRegCenterDetails/DownloadRegCenterDetails outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetailsResult.hbs b/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetailsResult.hbs index bdb0d0253f3..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetailsResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadRegCenterDetails/DownloadRegCenterDetailsResult.hbs @@ -1,10 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistory.yml b/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistory.yml index 396427fa004..98f15c532d9 100644 --- a/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistory.yml +++ b/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistory.yml @@ -2,6 +2,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_all_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -24,6 +25,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_Invalid_User_Neg: endPoint: /resident/v1/download/service-history role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -46,6 +48,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_Missing_LangCode_Neg: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -68,6 +71,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_FromDate_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -90,6 +94,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_ToDate_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -112,6 +117,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_PageStart_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -134,6 +140,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_ServiceType_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -156,6 +163,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_SortType_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -178,6 +186,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_uin_StatusFilter_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -200,6 +209,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_all_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -222,6 +232,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_Missing_LangCode_Neg: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -244,6 +255,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_FromDate_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -266,6 +278,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_ToDate_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -288,6 +301,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_PageStart_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -310,6 +324,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_ServiceType_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -332,6 +347,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_SortType_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult @@ -354,6 +370,7 @@ DownloadServiceHistory: Resident_DownloadServiceHistory_vid_StatusFilter_Valid_Smoke: endPoint: /resident/v1/download/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadServiceHistory/DownloadServiceHistory outputTemplate: resident/DownloadServiceHistory/DownloadServiceHistoryResult diff --git a/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistoryResult.hbs b/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistoryResult.hbs index 9c06433d4f4..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistoryResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadServiceHistory/DownloadServiceHistoryResult.hbs @@ -1,18 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "mosip.resident.api.id.auth": "mosip.identity.auth.internal", - "mosip.resident.api.version.otp.request": "1.0", - "resident.datetime.pattern": "$IGNORE$", - "mosip.mandatory-languages": "$IGNORE$", - "mosip.resident.api.version.auth": "1.0", - "mosip.optional-languages": "$IGNORE$", - "mosip.resident.api.id.otp.request": "mosip.identity.otp.internal", - "mosip.utc-datetime-pattern": "$IGNORE$", - "mosip.iam.adapter.clientid": "mosip-resident-client" - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocs.yml b/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocs.yml index 7e39cf9a616..00f57149958 100644 --- a/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocs.yml +++ b/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocs.yml @@ -2,6 +2,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_all_Valid_smoke: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocsResult @@ -14,6 +15,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_Valid_smoke: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocsResult @@ -27,6 +29,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_Empty_Lang_Neg: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/error @@ -40,6 +43,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_Invalid_token_Neg: endPoint: /resident/v1/download/supporting-documents role: invalid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/error @@ -52,6 +56,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_Invalid_lang_Neg: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/error @@ -64,6 +69,7 @@ DownloadSupportingDocs: Resident_DownloadSupportingDocs_Absent_langCode_Neg: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadSupportingDocs/DownloadSupportingDocs outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocsResult.hbs b/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocsResult.hbs index 0d6cdecce61..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocsResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadSupportingDocs/DownloadSupportingDocsResult.hbs @@ -1,10 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - - }, - "errors": $IGNORE$ -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCard.yml b/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCard.yml index ef4faa7ab9e..520cfbf40c4 100644 --- a/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCard.yml +++ b/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCard.yml @@ -2,6 +2,7 @@ DownloadUinCard: Resident_DownloadUinCard_all_Valid_Smoke: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post auditLogCheck: true inputTemplate: resident/DownloadUinCard/DownloadUinCard @@ -33,6 +34,7 @@ DownloadUinCard: Resident_DownloadUinCard_Invalid_TransactionID_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult @@ -67,6 +69,7 @@ DownloadUinCard: Resident_DownloadUinCard_Empty_TransactionID_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult @@ -101,6 +104,7 @@ DownloadUinCard: Resident_DownloadUinCard_Invalid_Otp_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult @@ -135,6 +139,7 @@ DownloadUinCard: Resident_DownloadUinCard_Empty_Otp_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult @@ -169,6 +174,7 @@ DownloadUinCard: Resident_DownloadUinCard_Invalid_IndividualID_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult @@ -203,6 +209,7 @@ DownloadUinCard: Resident_DownloadUinCard_Empty_IndividualID_Neg: endPoint: /resident/v1/download-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/DownloadUinCard/DownloadUinCard outputTemplate: resident/DownloadUinCard/DownloadUinCardResult diff --git a/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCardResult.hbs b/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCardResult.hbs index d3bd65653fd..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCardResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadUinCard/DownloadUinCardResult.hbs @@ -1,8 +1 @@ -{ - "id": null, - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventId.yml b/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventId.yml index 9a3a230cf5a..ab343d5bd7a 100644 --- a/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventId.yml +++ b/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventId.yml @@ -2,6 +2,7 @@ DownloadUinCardByEventId: Resident_DownloadUinCardByEventId_uin_all_Valid_Smoke: endPoint: /resident/v1/download-card/event/{eventId} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId @@ -16,6 +17,7 @@ DownloadUinCardByEventId: Resident_DownloadUinCardByEventId_vid_all_Valid_Smoke: endPoint: /resident/v1/download-card/event/{eventId} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId outputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventIdResult @@ -29,6 +31,7 @@ DownloadUinCardByEventId: Resident_DownloadUinCardByEventId_uin_Invalid_EventId_Neg: endPoint: /resident/v1/download-card/event/{eventId} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId outputTemplate: resident/error @@ -42,6 +45,7 @@ DownloadUinCardByEventId: Resident_DownloadUinCardByEventId_vid_Invalid_EventId_Neg: endPoint: /resident/v1/download-card/event/{eventId} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId outputTemplate: resident/error @@ -59,6 +63,7 @@ DownloadUinCardByEventId: endPoint: /resident/v1/download-card/event/{eventId} role: validityCheckRequired: true + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId outputTemplate: resident/error @@ -78,6 +83,7 @@ DownloadUinCardByEventId: Resident_DownloadUinCardByEventId_uin_Diff_User_Neg: endPoint: /resident/v1/download-card/event/{eventId} role: resident + checkErrorsOnlyInResponse: true validityCheckRequired: true restMethod: get inputTemplate: resident/DownloadUinCardByEventId/DownloadUinCardByEventId diff --git a/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventIdResult.hbs b/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventIdResult.hbs index 761460ba1d3..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventIdResult.hbs +++ b/automationtests/src/main/resources/resident/DownloadUinCardByEventId/DownloadUinCardByEventIdResult.hbs @@ -1,10 +1 @@ -{ - "id": "mosip.resident.download.card.eventid", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GenerateToken/GenerateTokenResult.hbs b/automationtests/src/main/resources/resident/GenerateToken/GenerateTokenResult.hbs index c61b3a64f21..c323e20a77e 100644 --- a/automationtests/src/main/resources/resident/GenerateToken/GenerateTokenResult.hbs +++ b/automationtests/src/main/resources/resident/GenerateToken/GenerateTokenResult.hbs @@ -1,6 +1,3 @@ { - "id_token": "$IGNORE$", - "access_token": "$IGNORE$", - "token_type": "{{token_type}}", - "expires_in": "$IGNORE$" + "token_type": "{{token_type}}" } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVID.yml b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVID.yml index 909fa428c95..0a230f7ce91 100644 --- a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVID.yml +++ b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVID.yml @@ -3,6 +3,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -24,8 +25,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -37,6 +36,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -58,8 +58,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -71,6 +69,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -92,8 +91,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -105,6 +102,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -126,8 +124,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -139,6 +135,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -160,8 +157,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -173,6 +168,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -194,8 +190,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -206,6 +200,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -227,8 +222,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -240,6 +233,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -261,8 +255,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -274,6 +266,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -295,8 +288,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -308,6 +299,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -329,8 +321,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -342,6 +332,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -363,8 +354,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -376,6 +365,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -413,6 +403,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -451,6 +442,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -488,6 +480,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -525,6 +518,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -564,6 +558,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -601,6 +596,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -638,6 +634,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -676,6 +673,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -714,6 +712,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -751,6 +750,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -788,6 +788,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -825,6 +826,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -862,6 +864,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -900,6 +903,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -938,6 +942,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -976,6 +981,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1014,6 +1020,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1052,6 +1059,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1090,6 +1098,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1128,6 +1137,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1166,6 +1176,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1204,6 +1215,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1242,6 +1254,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1263,8 +1276,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1276,6 +1287,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1297,8 +1309,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1310,6 +1320,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1331,8 +1342,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1340,12 +1349,13 @@ GenerateVID: } }' - Resident_Generate_Perpetual_VID_Using_Perpetual_VID_Neg: + Resident_Generate_Perpetual_VID_Using_Perpetual_VID_Pos: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID - outputTemplate: resident/error + outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ "transactionID": "$TRANSACTIONID$", "individualId": "$ID:Generate_Perpetual_VID_Using_Temp_VID_Smoke_sid_vid$", @@ -1365,12 +1375,6 @@ GenerateVID: } }' output: '{ - "errors": [ - { - "errorCode": "RES-SER-29", - "message": "$IGNORE$" - } - ], "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1382,6 +1386,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1403,8 +1408,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1416,6 +1419,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1437,8 +1441,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1450,6 +1452,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1488,6 +1491,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1526,6 +1530,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1564,6 +1569,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1602,6 +1608,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1640,6 +1647,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1678,6 +1686,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1716,6 +1725,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1737,8 +1747,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1750,6 +1758,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1771,8 +1780,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1784,6 +1791,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1805,8 +1813,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForPhone" @@ -1816,8 +1822,8 @@ GenerateVID: Resident_Generate_Perpetual_VID_Email_Valid_Smoke_sid: endPoint: /resident/v1/vid role: resident - checkErrorsOnlyInResponse: true restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1839,8 +1845,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "sendOtpResTemplate":"resident/SendOTP/createSendOTPResultForEmail", "maskedEmail": "$IGNORE$" @@ -1851,6 +1855,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/error input: '{ @@ -1892,6 +1897,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1913,8 +1919,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1926,6 +1930,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1947,8 +1952,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1960,6 +1963,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -1981,8 +1985,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -1994,6 +1996,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2015,8 +2018,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2028,6 +2029,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2049,8 +2051,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2062,6 +2062,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2083,8 +2084,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2096,6 +2095,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2117,8 +2117,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2129,6 +2127,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2150,8 +2149,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2162,6 +2159,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2183,8 +2181,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2195,6 +2191,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2216,8 +2213,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2228,6 +2223,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2249,8 +2245,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2261,6 +2255,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2282,8 +2277,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2295,6 +2288,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2316,8 +2310,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2329,6 +2321,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2350,8 +2343,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2363,6 +2354,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2384,8 +2376,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2397,6 +2387,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2418,8 +2409,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2430,6 +2419,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2451,8 +2441,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2463,6 +2451,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2484,8 +2473,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2496,6 +2483,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2517,8 +2505,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2529,6 +2515,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2550,8 +2537,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2562,6 +2547,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2583,8 +2569,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -2596,6 +2580,7 @@ GenerateVID: endPoint: /resident/v1/vid role: resident restMethod: post + checkErrorsOnlyInResponse: true inputTemplate: resident/GenerateVID/createGenerateVID outputTemplate: resident/GenerateVID/createGenerateVIDResult input: '{ @@ -2617,8 +2602,6 @@ GenerateVID: } }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", diff --git a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNew.yml b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNew.yml index 47a32b95ecb..df29823f767 100644 --- a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNew.yml +++ b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNew.yml @@ -13,8 +13,6 @@ GenerateVIDNew: "vidType": "Temporary" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' @@ -33,8 +31,6 @@ GenerateVIDNew: "vidType": "Temporary" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' @@ -53,8 +49,6 @@ GenerateVIDNew: "vidType": "Onetimeuse" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' @@ -73,8 +67,6 @@ GenerateVIDNew: "vidType": "Perpetual" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact phone number", "maskedPhone": "******3210", "maskedEmail": "$IGNORE$" }' @@ -93,8 +85,6 @@ GenerateVIDNew: "vidType": "Perpetual" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided email ", "maskedPhone": "$IGNORE$", "maskedEmail": "res***************@gmail.com" }' @@ -113,8 +103,6 @@ GenerateVIDNew: "vidType": "Perpetual" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' @@ -333,8 +321,6 @@ GenerateVIDNew: "vidType": "Perpetual" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' @@ -375,8 +361,6 @@ GenerateVIDNew: "vidType": "Onetimeuse" }' output: '{ - "vid": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "maskedPhone": "******3210", "maskedEmail": "res***************@gmail.com" }' diff --git a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNewResult.hbs b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNewResult.hbs index f5b7072998d..1ec37c80830 100644 --- a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNewResult.hbs +++ b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDNewResult.hbs @@ -1,12 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", "response": { "vid": "{{vid}}", - "message": "{{message}}", - "maskedPhone": "{{maskedPhone}}", - "maskedEmail": "$IGNORE$" - }, - "errors": [] + "maskedPhone": "{{maskedPhone}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDResult.hbs b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDResult.hbs index 52cd68d71a0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDResult.hbs +++ b/automationtests/src/main/resources/resident/GenerateVID/createGenerateVIDResult.hbs @@ -1,10 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "response": { - "vid": "$IGNORE$", - "message": "{{message}}" - }, - "errors": [] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode.yml b/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode.yml index ac799fd354a..901c0f59c6f 100644 --- a/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode.yml +++ b/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode.yml @@ -2,6 +2,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_uin_1_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -16,6 +17,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_uin_2_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -30,6 +32,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_uin_3_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -44,6 +47,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_uin_Invalid_Langcode: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/error @@ -63,6 +67,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_uin_Invalid_Templatetypecode: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/error @@ -82,6 +87,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_Invalid_Token: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: invalid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/error @@ -101,6 +107,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_vid_1_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -115,6 +122,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_vid_2_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -129,6 +137,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_vid_3_Valid_Smoke: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult @@ -143,6 +152,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_vid_Invalid_Langcode: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/error @@ -162,6 +172,7 @@ GetAllTemplateBylangCodeAndTemplateTypeCode: Resident_GetAllTemplateBylangCodeAndTemplateTypeCode_vid_Invalid_Templatetypecode: endPoint: /resident/v1/auth-proxy/masterdata/templates/{langcode}/{templatetypecode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult.hbs b/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult.hbs index 38b95b914e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetAllTemplateBylangCodeAndTemplateTypeCode/GetAllTemplateBylangCodeAndTemplateTypeCodeResult.hbs @@ -1,9 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetAuthLockStatus/GetAuthLockStatus.yml b/automationtests/src/main/resources/resident/GetAuthLockStatus/GetAuthLockStatus.yml index ef87b719ab1..110a0cc1af7 100644 --- a/automationtests/src/main/resources/resident/GetAuthLockStatus/GetAuthLockStatus.yml +++ b/automationtests/src/main/resources/resident/GetAuthLockStatus/GetAuthLockStatus.yml @@ -2,6 +2,7 @@ residentNewVid: Resident_GetAuthLockStatus_uin_all_Valid_Smoke: endPoint: /resident/v1/auth-lock-status role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAuthLockStatus/getAuthLockStatus outputTemplate: resident/GetAuthLockStatus/getAuthLockStatusResult @@ -13,6 +14,7 @@ residentNewVid: Resident_GetAuthLockStatus_Invalid_Token_Neg: endPoint: /resident/v1/auth-lock-status role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAuthLockStatus/getAuthLockStatus outputTemplate: resident/error @@ -30,6 +32,7 @@ residentNewVid: Resident_GetAuthLockStatus_Vid_all_Valid_Smoke: endPoint: /resident/v1/auth-lock-status role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetAuthLockStatus/getAuthLockStatus outputTemplate: resident/GetAuthLockStatus/getAuthLockStatusResult diff --git a/automationtests/src/main/resources/resident/GetAuthLockStatus/getAuthLockStatusResult.hbs b/automationtests/src/main/resources/resident/GetAuthLockStatus/getAuthLockStatusResult.hbs index 46896f4afd3..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetAuthLockStatus/getAuthLockStatusResult.hbs +++ b/automationtests/src/main/resources/resident/GetAuthLockStatus/getAuthLockStatusResult.hbs @@ -1,9 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusNegativeResult.hbs b/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusNegativeResult.hbs index 8e235de97bf..100bd9efbae 100644 --- a/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusNegativeResult.hbs +++ b/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusNegativeResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.channel.verification.status", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "metadata": null, "response": { "verificationStatus": false - }, - "errors": null + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusResult.hbs b/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusResult.hbs index 996835cc4d6..77d27060e7d 100644 --- a/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusResult.hbs +++ b/automationtests/src/main/resources/resident/GetChannelVerificationStatus/getChannelVerificationStatusResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.channel.verification.status", - "version": "1.0", - "responseTime": "$IGNORE$", - "metadata": null, "response": { "verificationStatus": "{{verificationStatus}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatus.yml b/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatus.yml index f6bd3fbc2c7..8b78d724151 100644 --- a/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatus.yml +++ b/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatus.yml @@ -2,6 +2,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_uin_all_Valid_Smoke: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult @@ -16,6 +17,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_vid_all_Valid_Smoke: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult @@ -30,6 +32,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_uin_Invalid_eventId_Neg: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/error @@ -49,6 +52,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_vid_Invalid_eventId_Neg: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/error @@ -68,6 +72,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_uin_Invalid_LangCode_Neg: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/error @@ -87,6 +92,7 @@ GetCheckEventIdStatus: Resident_GetCheckEventIdStatus_vid_Invalid_LangCode_Neg: endPoint: /resident/v1/events/{eventId}?langCode={langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetCheckEventIdStatus/GetCheckEventIdStatus outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult.hbs b/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult.hbs index 8c281b3ea41..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult.hbs +++ b/automationtests/src/main/resources/resident/GetCheckEventIdStatus/GetCheckEventIdStatusResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.event.status", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetCoordinateSpecificRegistrationCenters/getCoordinateSpecificRegistrationCentersResult.hbs b/automationtests/src/main/resources/resident/GetCoordinateSpecificRegistrationCenters/getCoordinateSpecificRegistrationCentersResult.hbs index 5d77e036869..91ad89c2350 100644 --- a/automationtests/src/main/resources/resident/GetCoordinateSpecificRegistrationCenters/getCoordinateSpecificRegistrationCentersResult.hbs +++ b/automationtests/src/main/resources/resident/GetCoordinateSpecificRegistrationCenters/getCoordinateSpecificRegistrationCentersResult.hbs @@ -1,39 +1,4 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "registrationCenters": [ - { - "id": "$IGNORE$", - "name": "$IGNORE$", - "centerTypeCode": "$IGNORE$", - "addressLine1": "$IGNORE$", - "addressLine2": "$IGNORE$", - "addressLine3": "$IGNORE$", - "latitude": "34.52117", - "longitude": "-6.453275", - "locationCode": "$IGNORE$", - "holidayLocationCode": "$IGNORE$", - "contactPhone": "$IGNORE$", - "workingHours": "$IGNORE$", - "langCode": "$IGNORE$", - "numberOfKiosks": "$IGNORE$", - "perKioskProcessTime": "$IGNORE$", - "centerStartTime": "$IGNORE$", - "centerEndTime": "$IGNORE$", - "timeZone": "$IGNORE$", - "contactPerson": "$IGNORE$", - "lunchStartTime": "$IGNORE$", - "lunchEndTime": "$IGNORE$", - "isActive": "$IGNORE$", - "zoneCode": "$IGNORE$" - } - ] - }, - "errors": $IGNORE$ -} +{} diff --git a/automationtests/src/main/resources/resident/GetDocumentTypes/GetDocumentTypesResult.hbs b/automationtests/src/main/resources/resident/GetDocumentTypes/GetDocumentTypesResult.hbs index 394dc56d52d..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetDocumentTypes/GetDocumentTypesResult.hbs +++ b/automationtests/src/main/resources/resident/GetDocumentTypes/GetDocumentTypesResult.hbs @@ -1,8 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCode.yml b/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCode.yml index af8e39337f4..eec2246408a 100644 --- a/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCode.yml +++ b/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCode.yml @@ -2,6 +2,7 @@ GetGenderCode: Resident_GetGenderCode_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/gendercode/{gendertype}/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetGenderCode/GetGenderCode outputTemplate: resident/GetGenderCode/GetGenderCodeResult @@ -15,6 +16,7 @@ GetGenderCode: Resident_GetGenderCode1_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/gendercode/{gendertype}/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetGenderCode/GetGenderCode outputTemplate: resident/GetGenderCode/GetGenderCodeResult @@ -28,6 +30,7 @@ GetGenderCode: Resident_GetGenderCode2_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/gendercode/{gendertype}/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetGenderCode/GetGenderCode outputTemplate: resident/GetGenderCode/GetGenderCodeResult @@ -41,6 +44,7 @@ GetGenderCode: Resident_GetGenderCode_Invalid_GenderType_Neg: endPoint: /resident/v1/proxy/masterdata/gendercode/{gendertype}/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetGenderCode/GetGenderCode outputTemplate: resident/error @@ -55,6 +59,7 @@ GetGenderCode: Resident_GetGenderCode_Invalid_langCode_Neg: endPoint: /resident/v1/proxy/masterdata/gendercode/{gendertype}/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetGenderCode/GetGenderCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCodeResult.hbs b/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCodeResult.hbs index 394dc56d52d..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetGenderCode/GetGenderCodeResult.hbs @@ -1,8 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetIdentityMapping/GetIdentityMapping.yml b/automationtests/src/main/resources/resident/GetIdentityMapping/GetIdentityMapping.yml index bfed28d4da5..f6ae77decff 100644 --- a/automationtests/src/main/resources/resident/GetIdentityMapping/GetIdentityMapping.yml +++ b/automationtests/src/main/resources/resident/GetIdentityMapping/GetIdentityMapping.yml @@ -2,6 +2,7 @@ GetIdentityMapping: Resident_GetIdentityMapping_all_Valid_Smoke: endPoint: /resident/v1/proxy/config/identity-mapping role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetIdentityMapping/getIdentityMapping outputTemplate: resident/GetIdentityMapping/getIdentityMappingResult diff --git a/automationtests/src/main/resources/resident/GetIdentityMapping/getIdentityMappingResult.hbs b/automationtests/src/main/resources/resident/GetIdentityMapping/getIdentityMappingResult.hbs index 60cc578a209..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetIdentityMapping/getIdentityMappingResult.hbs +++ b/automationtests/src/main/resources/resident/GetIdentityMapping/getIdentityMappingResult.hbs @@ -1,8 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": {}, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/GetImmediateChildrenByLocCodeAndLangCode.yml b/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/GetImmediateChildrenByLocCodeAndLangCode.yml index 55c26b68b9d..3e053a6fb74 100644 --- a/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/GetImmediateChildrenByLocCodeAndLangCode.yml +++ b/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/GetImmediateChildrenByLocCodeAndLangCode.yml @@ -2,6 +2,7 @@ GetImmediateChildrenByLocCodeAndLangCode: Resident_GetImmediateChildrenByLocCodeAndLangCode_allValid_smoke: endPoint: /resident/v1/proxy/masterdata/locations/immediatechildren/{locationCode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCode outputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCodeResult @@ -10,20 +11,12 @@ GetImmediateChildrenByLocCodeAndLangCode: "langCode":"$1STLANG$" }' output: '{ - "locations": [{ - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "{{parentLocCode}}", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }] }' Resident_GetImmediateChildrenByLocCodeAndLangCode_Invalid_locationCode: endPoint: /resident/v1/proxy/masterdata/locations/immediatechildren/{locationCode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCode outputTemplate: resident/error @@ -43,6 +36,7 @@ GetImmediateChildrenByLocCodeAndLangCode: Resident_GetImmediateChildrenByLocCodeAndLangCode_Invalid_langCode: endPoint: /resident/v1/proxy/masterdata/locations/immediatechildren/{locationCode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCode outputTemplate: resident/error @@ -62,6 +56,7 @@ GetImmediateChildrenByLocCodeAndLangCode: Resident_GetImmediateChildrenByLocCodeAndLangCode_StatusCode_Empty_locationCode_Neg: endPoint: /resident/v1/proxy/masterdata/locations/immediatechildren/{locationCode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCode outputTemplate: resident/error @@ -74,6 +69,7 @@ GetImmediateChildrenByLocCodeAndLangCode: Resident_GetImmediateChildrenByLocCodeAndLangCode_StatusCode_Empty_langCode_Neg: endPoint: /resident/v1/proxy/masterdata/locations/immediatechildren/{locationCode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCodeResult.hbs b/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCodeResult.hbs index 88cc1d0e054..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetImmediateChildrenByLocCodeAndLangCode/getImmediateChildrenByLocCodeAndLangCodeResult.hbs @@ -1,83 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "locations": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - ] - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetInputAttributeValues/GetInputAttributeValues.yml b/automationtests/src/main/resources/resident/GetInputAttributeValues/GetInputAttributeValues.yml index 4827ba148b6..34d49a1630e 100644 --- a/automationtests/src/main/resources/resident/GetInputAttributeValues/GetInputAttributeValues.yml +++ b/automationtests/src/main/resources/resident/GetInputAttributeValues/GetInputAttributeValues.yml @@ -2,6 +2,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues1_UIN_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues @@ -15,6 +16,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues2_UIN_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/GetInputAttributeValues/getInputAttributeValuesResult @@ -27,6 +29,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues3_UIN_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/GetInputAttributeValues/getInputAttributeValuesResult @@ -39,6 +42,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues_UIN_Invalid_SchemaType_Neg: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/error @@ -57,6 +61,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues1_Vid_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/GetInputAttributeValues/getInputAttributeValuesResult @@ -69,6 +74,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues2_Vid_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/GetInputAttributeValues/getInputAttributeValuesResult @@ -81,6 +87,7 @@ GetInputAttributeValues: Resident_GetInputAttributeValues3_Vid_all_Valid_Smoke: endPoint: /resident/v1/identity/info/type/{schemaType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetInputAttributeValues/getInputAttributeValues outputTemplate: resident/GetInputAttributeValues/getInputAttributeValuesResult diff --git a/automationtests/src/main/resources/resident/GetInputAttributeValues/getInputAttributeValuesResult.hbs b/automationtests/src/main/resources/resident/GetInputAttributeValues/getInputAttributeValuesResult.hbs index b24c3009e87..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetInputAttributeValues/getInputAttributeValuesResult.hbs +++ b/automationtests/src/main/resources/resident/GetInputAttributeValues/getInputAttributeValuesResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.identity.info", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotification.yml b/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotification.yml index 92890263528..b9d797bd749 100644 --- a/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotification.yml +++ b/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotification.yml @@ -2,6 +2,7 @@ GetLastClickNotification: Resident_GetLastClickNotification_uin_all_Valid_Smoke: endPoint: /resident/v1/bell/notification-click role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLastClickNotification/GetLastClickNotification outputTemplate: resident/GetLastClickNotification/GetLastClickNotificationResult @@ -14,6 +15,7 @@ GetLastClickNotification: Resident_GetLastClickNotification_vid_all_Valid_Smoke: endPoint: /resident/v1/bell/notification-click role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLastClickNotification/GetLastClickNotification outputTemplate: resident/GetLastClickNotification/GetLastClickNotificationResult @@ -26,6 +28,7 @@ GetLastClickNotification: Resident_GetLastClickNotification_Invalid_Token: endPoint: /resident/v1/bell/notification-click role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLastClickNotification/GetLastClickNotification outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotificationResult.hbs b/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotificationResult.hbs index 07cdb010c61..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotificationResult.hbs +++ b/automationtests/src/main/resources/resident/GetLastClickNotification/GetLastClickNotificationResult.hbs @@ -1,6 +1 @@ -{ - "id": "mosip.resident.event.status", - "version": "1.0", - "responsetime": "$IGNORE$", - "response": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetLatestIdSchema/GetLatestIdSchema.yml b/automationtests/src/main/resources/resident/GetLatestIdSchema/GetLatestIdSchema.yml index e3ae749ea10..66f56cb2a14 100644 --- a/automationtests/src/main/resources/resident/GetLatestIdSchema/GetLatestIdSchema.yml +++ b/automationtests/src/main/resources/resident/GetLatestIdSchema/GetLatestIdSchema.yml @@ -2,6 +2,7 @@ GetLatestIdSchema: Resident_GetLatestIdSchema_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/idschema/latest?schemaVersion={schemaVersion}&domain={domain}&type={type} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLatestIdSchema/getLatestIdSchema outputTemplate: resident/GetLatestIdSchema/getLatestIdSchemaResult @@ -16,6 +17,7 @@ GetLatestIdSchema: Resident_GetLatestIdSchema_Invalid_Schema_Version: endPoint: /resident/v1/proxy/masterdata/idschema/latest?schemaVersion={schemaVersion}&domain={domain}&type={type} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLatestIdSchema/getLatestIdSchema outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetLatestIdSchema/getLatestIdSchemaResult.hbs b/automationtests/src/main/resources/resident/GetLatestIdSchema/getLatestIdSchemaResult.hbs index 7f16d0ef459..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetLatestIdSchema/getLatestIdSchemaResult.hbs +++ b/automationtests/src/main/resources/resident/GetLatestIdSchema/getLatestIdSchemaResult.hbs @@ -1,35 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "id": "$IGNORE$", - "inputRequired": "$IGNORE$", - "type": "$IGNORE$", - "minimum": "$IGNORE$", - "maximum": "$IGNORE$", - "description": "$IGNORE$", - "label": "$IGNORE$", - "controlType": "$IGNORE$", - "fieldType": "$IGNORE$", - "format": "$IGNORE$", - "validators": "$IGNORE$", - "fieldCategory": "$IGNORE$", - "alignmentGroup": "$IGNORE$", - "visible": "$IGNORE$", - "contactType": "$IGNORE$", - "group": "$IGNORE$", - "groupLabel": "$IGNORE$", - "changeAction": "$IGNORE$", - "transliterate": "$IGNORE$", - "templateName": "$IGNORE$", - "fieldLayout": "$IGNORE$", - "locationHierarchy": "$IGNORE$", - "required": "$IGNORE$", - "bioAttributes": "$IGNORE$", - "requiredOn": "$IGNORE$", - "subType": "$IGNORE$" - }, - "error": "$IGNORE$" - } \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/GetLocationDetailsByLocCodeAndLangCode.yml b/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/GetLocationDetailsByLocCodeAndLangCode.yml index 6641616ade6..02a3d3eb27a 100644 --- a/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/GetLocationDetailsByLocCodeAndLangCode.yml +++ b/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/GetLocationDetailsByLocCodeAndLangCode.yml @@ -2,6 +2,7 @@ GetLocationDetailsByLocCodeAndLangCode: Resident_GetLocationDetailsByLocCodeAndLangCode_allValid_smoke: endPoint: /resident/v1/proxy/masterdata/locations/info/{loccode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCode outputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCodeResult @@ -10,31 +11,13 @@ GetLocationDetailsByLocCodeAndLangCode: "loccode": "14022" }' output: '{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "isActive": "$IGNORE$", - "createdBy": "$IGNORE$", - "createdDateTime": "$IGNORE$", - "updatedBy": "$IGNORE$", - "updatedDateTime": "$IGNORE$", - "isDeleted": "$IGNORE$", - "deletedDateTime": "$IGNORE$", - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$" - }, - "errors": null + }' Resident_GetLocationDetailsByLocCodeAndLangCode_Invalid_LangCode: endPoint: /resident/v1/proxy/masterdata/locations/info/{loccode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCode outputTemplate: resident/error @@ -54,6 +37,7 @@ GetLocationDetailsByLocCodeAndLangCode: Resident_GetLocationDetailsByLocCodeAndLangCode_Invalid_LocationCode: endPoint: /resident/v1/proxy/masterdata/locations/info/{loccode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCode outputTemplate: resident/error @@ -73,6 +57,7 @@ GetLocationDetailsByLocCodeAndLangCode: Resident_GetLocationDetailsByLocCodeAndLangCode_StatusCode_Empty_LangCode_Neg: endPoint: /resident/v1/proxy/masterdata/locations/info/{loccode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCode outputTemplate: resident/error @@ -85,6 +70,7 @@ GetLocationDetailsByLocCodeAndLangCode: Resident_GetLocationDetailsByLocCodeAndLangCode_StatusCode_Empty_LocationCode_Neg: endPoint: /resident/v1/proxy/masterdata/locations/info/{loccode}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCodeResult.hbs b/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCodeResult.hbs index c3633217dea..91ad89c2350 100644 --- a/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetLocationDetailsByLocCodeAndLangCode/getLocationDetailsByLocCodeAndLangCodeResult.hbs @@ -1,25 +1,4 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "isActive": "$IGNORE$", - "createdBy": "$IGNORE$", - "createdDateTime": "$IGNORE$", - "updatedBy": "$IGNORE$", - "updatedDateTime": "$IGNORE$", - "isDeleted": "$IGNORE$", - "deletedDateTime": "$IGNORE$", - "code": "$IGNORE$", - "name": "$IGNORE$", - "hierarchyLevel": "$IGNORE$", - "hierarchyName": "$IGNORE$", - "parentLocCode": "$IGNORE$", - "langCode": "$IGNORE$" - }, - "errors": "$IGNORE$" -} +{} diff --git a/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/GetLocationHierarchyByLangCode.yml b/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/GetLocationHierarchyByLangCode.yml index c1646a1e358..9949fedbae6 100644 --- a/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/GetLocationHierarchyByLangCode.yml +++ b/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/GetLocationHierarchyByLangCode.yml @@ -2,6 +2,7 @@ GetLocationHierarchyByLanguageCode: Resident_GetLocationHierarchyByLanguageCode_All_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/locationHierarchyLevels/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCode outputTemplate: resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCodeResult @@ -9,16 +10,13 @@ GetLocationHierarchyByLanguageCode: "langCode":"$1STLANG$" }' output: '{ - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" }' Resident_GetLocationHierarchyByLanguageCode_InValid_LangCode: endPoint: /resident/v1/proxy/masterdata/locationHierarchyLevels/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCode outputTemplate: resident/error @@ -37,6 +35,7 @@ GetLocationHierarchyByLanguageCode: Resident_GetLocationHierarchyByLanguageCode_StatusCode_Empty_LangCode_Neg: endPoint: /resident/v1/proxy/masterdata/locationHierarchyLevels/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCodeResult.hbs b/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCodeResult.hbs index f36cb396288..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetLocationHierarchyByLanguageCode/getLocationHierarchyByLangCodeResult.hbs @@ -1,47 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "locationHierarchyLevels": [ - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - }, - { - "hierarchyLevel": "$IGNORE$", - "hierarchyLevelName": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - ] - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetNotifications/GetNotifications.yml b/automationtests/src/main/resources/resident/GetNotifications/GetNotifications.yml index 10cf32e9a9e..1134e8813d4 100644 --- a/automationtests/src/main/resources/resident/GetNotifications/GetNotifications.yml +++ b/automationtests/src/main/resources/resident/GetNotifications/GetNotifications.yml @@ -2,6 +2,7 @@ GetNotifications: Resident_GetNotifications_vid_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -17,6 +18,7 @@ GetNotifications: Resident_GetNotifications_vid_pageFetch_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -32,6 +34,7 @@ GetNotifications: Resident_GetNotifications_vid_pageStart_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -47,6 +50,7 @@ GetNotifications: Resident_GetNotifications_Invalid_pageStart_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -67,6 +71,7 @@ GetNotifications: Resident_GetNotifications_vid_Invalid_Token_Neg: endPoint: /resident/v1/notifications/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -87,6 +92,7 @@ GetNotifications: Resident_GetNotifications_vid_1_Invalid_PageNo_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -108,6 +114,7 @@ GetNotifications: Resident_GetNotifications_vid_all_InValid_langcode_Neg: endPoint: /resident/v1/notifications/{langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -128,6 +135,7 @@ GetNotifications: Resident_GetNotifications_vid_SpaceVal_langcode_Neg: endPoint: /resident/v1/notifications/{langCode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -148,6 +156,7 @@ GetNotifications: Resident_GetNotifications_vid_Neg_Value_PageStart_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -168,6 +177,7 @@ GetNotifications: Resident_GetNotifications_vid_Neg_Value_pageFetch_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -189,6 +199,7 @@ GetNotifications: Resident_GetNotifications_vid_StringVal_Invalid_pageFetch_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -209,6 +220,7 @@ GetNotifications: Resident_GetNotifications_vid_StringVal_Invalid_pageStart_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -229,6 +241,7 @@ GetNotifications: Resident_GetNotifications_uin_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -244,6 +257,7 @@ GetNotifications: Resident_GetNotifications_uin_pageFetch_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -259,6 +273,7 @@ GetNotifications: Resident_GetNotifications_uin_pageStart_all_Valid_Smoke: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/GetNotifications/GetNotificationsResult @@ -271,30 +286,25 @@ GetNotifications: }' - Resident_GetNotifications_uin_1_Invalid_PageNo_Neg: + Resident_GetNotifications_uin_1_Invalid_PageNo_Pos: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error input: '{ "langCode": "$1STLANG$", - "pageStart":"11", + "pageStart":"52", "pageFetch":"2" }' - output: '{ - "errors": [ - { - "errorCode": "RES-SER-410", - "message": "$IGNORE$" - } - ] - + output: '{ }' Resident_GetNotifications_uin_all_InValid_langcode_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -315,6 +325,7 @@ GetNotifications: Resident_GetNotifications_uin_StatusCode_empty_langcode_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -328,6 +339,7 @@ GetNotifications: Resident_GetNotifications_uin_SpaceVal_langcode_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -348,6 +360,7 @@ GetNotifications: Resident_GetNotifications_uin_Neg_Value_PageStart_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error @@ -368,6 +381,7 @@ GetNotifications: Resident_GetNotifications_uin_Neg_Value_pageFetch_Neg: endPoint: /resident/v1/notifications/{langCode}?pageStart={pageStart}&pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetNotifications/GetNotifications outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetNotifications/GetNotificationsResult.hbs b/automationtests/src/main/resources/resident/GetNotifications/GetNotificationsResult.hbs index 8ac1d1a8f73..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetNotifications/GetNotificationsResult.hbs +++ b/automationtests/src/main/resources/resident/GetNotifications/GetNotificationsResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.service.history.unread", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetOrderStatus/GetOrderStatusResult.hbs b/automationtests/src/main/resources/resident/GetOrderStatus/GetOrderStatusResult.hbs index c3b891a94d6..e0206aa400a 100644 --- a/automationtests/src/main/resources/resident/GetOrderStatus/GetOrderStatusResult.hbs +++ b/automationtests/src/main/resources/resident/GetOrderStatus/GetOrderStatusResult.hbs @@ -1,7 +1,5 @@ { - "responsetime": "$IGNORE$", "response": { - "transactionId": "{{transactionId}}", - "trackingId": "$IGNORE$" + "transactionId": "{{transactionId}}" } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetPartnersByPartnerType/GetPartnersByPartnerType.yml b/automationtests/src/main/resources/resident/GetPartnersByPartnerType/GetPartnersByPartnerType.yml index 0522189cb34..c8985b871a6 100644 --- a/automationtests/src/main/resources/resident/GetPartnersByPartnerType/GetPartnersByPartnerType.yml +++ b/automationtests/src/main/resources/resident/GetPartnersByPartnerType/GetPartnersByPartnerType.yml @@ -2,6 +2,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_uin_all_Valid_Smoke: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType @@ -15,6 +16,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_uin_Empty_PartnerType_Valid_Smoke: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType outputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult @@ -27,6 +29,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_Invalid_Token: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: residen + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType outputTemplate: resident/error @@ -45,6 +48,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_Empty_Token_Neg: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType outputTemplate: resident/error @@ -63,6 +67,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_vid_all_Valid_Smoke: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType outputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult @@ -75,6 +80,7 @@ GetPartnersByPartnerType: Resident_GetPartnersByPartnerType_vid_Empty_PartnerType_Valid_Smoke: endPoint: /resident/v1/auth-proxy/partners?partnerType={partnerType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerType outputTemplate: resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult diff --git a/automationtests/src/main/resources/resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult.hbs b/automationtests/src/main/resources/resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult.hbs index 2c35b0f44eb..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult.hbs +++ b/automationtests/src/main/resources/resident/GetPartnersByPartnerType/getPartnersByPartnerTypeResult.hbs @@ -1,9 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetPolicyforMappedPartnerAndCredentialtype/getPolicyforMappedPartnerAndCredentialtypeResult.hbs b/automationtests/src/main/resources/resident/GetPolicyforMappedPartnerAndCredentialtype/getPolicyforMappedPartnerAndCredentialtypeResult.hbs index ff0878a8087..4cccb1da4bf 100644 --- a/automationtests/src/main/resources/resident/GetPolicyforMappedPartnerAndCredentialtype/getPolicyforMappedPartnerAndCredentialtypeResult.hbs +++ b/automationtests/src/main/resources/resident/GetPolicyforMappedPartnerAndCredentialtype/getPolicyforMappedPartnerAndCredentialtypeResult.hbs @@ -1,36 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "partnerId": "{{partnerId}}", - "credentialType": "{{credentialType}}", - "policyId": "$IGNORE$", - "policyName": "$IGNORE$", - "policyDesc": "$IGNORE$", - "policyType": "$IGNORE$", - "publishDate": "$IGNORE$", - "validTill": "$IGNORE$", - "status": "$IGNORE$", - "version": "$IGNORE$", - "schema": "$IGNORE$", - "is_Active": "$IGNORE$", - "cr_by": "$IGNORE$", - "cr_dtimes": "$IGNORE$", - "up_by": "$IGNORE$", - "upd_dtimes": "$IGNORE$", - "policies": { - "shareableAttributes": "$IGNORE$", - "dataSharePolicies": { - "typeOfShare": "$IGNORE$", - "transactionsAllowed": "$IGNORE$", - "shareDomain": "$IGNORE$", - "encryptionType": "$IGNORE$", - "source": "$IGNORE$", - "validForInMinutes": "$IGNORE$" - } - } - }, - "errors": "$IGNORE$" + "credentialType": "{{credentialType}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetProfile/GetProfile.yml b/automationtests/src/main/resources/resident/GetProfile/GetProfile.yml index 9ba8b53e2b0..15621d81abb 100644 --- a/automationtests/src/main/resources/resident/GetProfile/GetProfile.yml +++ b/automationtests/src/main/resources/resident/GetProfile/GetProfile.yml @@ -2,6 +2,7 @@ GetProfile: Resident_GetProfile_uin_all_Valid_Smoke: endPoint: /resident/v1/profile role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetProfile/GetProfile outputTemplate: resident/GetProfile/GetProfileResult @@ -14,6 +15,7 @@ GetProfile: Resident_GetProfile_Vid_Valid_Smoke: endPoint: /resident/v1/profile role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetProfile/GetProfile outputTemplate: resident/GetProfile/GetProfileResult @@ -26,6 +28,7 @@ GetProfile: Resident_GetProfile_Invalid_User_Neg: endPoint: /resident/v1/profile role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetProfile/GetProfile outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetProfile/GetProfileResult.hbs b/automationtests/src/main/resources/resident/GetProfile/GetProfileResult.hbs index 81d819f67ea..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetProfile/GetProfileResult.hbs +++ b/automationtests/src/main/resources/resident/GetProfile/GetProfileResult.hbs @@ -1,10 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/GetRegCenterByLangCodeAndHierarchyLevel.yml b/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/GetRegCenterByLangCodeAndHierarchyLevel.yml index 2e794e655ae..714c4b2be3c 100644 --- a/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/GetRegCenterByLangCodeAndHierarchyLevel.yml +++ b/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/GetRegCenterByLangCodeAndHierarchyLevel.yml @@ -2,6 +2,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -11,15 +12,13 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "10112" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_Invalid_HierarchyLevel: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -40,6 +39,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_Invalid_Name: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -60,6 +60,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_Invalid_LangCode: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -80,6 +81,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_RandomVal_LangCode_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -100,6 +102,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_RandomVal_Level_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -120,6 +123,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_RandomVal_Name_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -140,6 +144,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_StatusCode_Empty_LangCode_MandatoryFields_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -153,6 +158,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_StatusCode_Empty_Level_MandatoryFields_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -166,6 +172,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_Empty_Name_MandatoryFields_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/error @@ -186,6 +193,7 @@ GetRegCenterByLangCodeAndHierarchyLevel: Resident_GetRegCenterByLangCodeAndHierarchyLevel_0_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -195,14 +203,12 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "MyCountry" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_1_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -212,14 +218,12 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "Rabat Sale Kenitra" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_2_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -229,14 +233,12 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "Rabat" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_3_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -246,14 +248,12 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "Rabat" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_4_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -263,14 +263,12 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "Assam" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' Resident_GetRegCenterByLangCodeAndHierarchyLevel_5_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/{langcode}/{hierarchylevel}/names?name={name} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevel outputTemplate: resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult @@ -280,7 +278,4 @@ GetRegCenterByLangCodeAndHierarchyLevel: "name": "14022" }' output: '{ - "registrationCenters": [{ - "langCode": "$IGNORE$" - }] }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult.hbs b/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult.hbs index 6fa77604677..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult.hbs +++ b/automationtests/src/main/resources/resident/GetRegCenterByLangCodeAndHierarchyLevel/getRegCenterByLangCodeAndHierarchyLevelResult.hbs @@ -1,36 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "registrationCenters": [ - { - "id": "$IGNORE$", - "name": "$IGNORE$", - "centerTypeCode": "$IGNORE$", - "addressLine1": "$IGNORE$", - "addressLine2": "$IGNORE$", - "addressLine3": "$IGNORE$", - "latitude": "$IGNORE$", - "longitude": "$IGNORE$", - "locationCode": "$IGNORE$", - "holidayLocationCode": "$IGNORE$", - "contactPhone": "$IGNORE$", - "workingHours": "$IGNORE$", - "langCode": "$IGNORE$", - "numberOfKiosks": "$IGNORE$", - "perKioskProcessTime": "$IGNORE$", - "centerStartTime": "$IGNORE$", - "centerEndTime": "$IGNORE$", - "timeZone": "$IGNORE$", - "contactPerson": "$IGNORE$", - "lunchStartTime": "$IGNORE$", - "lunchEndTime": "$IGNORE$", - "isActive": "$IGNORE$", - "zoneCode": "$IGNORE$" - } - ] - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/GetRegistrationCenterByHierarchyLevelAndTextPaginated.yml b/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/GetRegistrationCenterByHierarchyLevelAndTextPaginated.yml index 1cbd5eb65a3..9cd2475ac0b 100644 --- a/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/GetRegistrationCenterByHierarchyLevelAndTextPaginated.yml +++ b/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/GetRegistrationCenterByHierarchyLevelAndTextPaginated.yml @@ -2,6 +2,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -20,6 +21,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_LangCode: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -44,6 +46,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_HierarchyLevel: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -68,6 +71,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_Name: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -92,6 +96,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_PageNumber: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -116,6 +121,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_PageSize: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -140,6 +146,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_SortBy_Value: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -164,6 +171,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_OrderBy_Value: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -188,6 +196,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_Random_HierarchyLevel: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -212,6 +221,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_Random_PageNumber: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -236,6 +246,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_Invalid_Random_PageSize: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -260,6 +271,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_StatusCode_LangCode_Empty_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -277,6 +289,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_StatusCode_HierarchyLevel_Empty_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -294,6 +307,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_StatusCode_Name_Empty_Neg: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/error @@ -311,6 +325,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_0_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -329,6 +344,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_1_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -347,6 +363,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_2_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -365,6 +382,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_3_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -383,6 +401,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_4_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult @@ -401,6 +420,7 @@ GetRegistrationCenterByHierarchyLevelAndTextPaginated: Resident_GetRegistrationCenterByHierarchyLevelAndTextPaginated_5_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/registrationcenters/page/{langcode}/{hierarchylevel}/{name}?pageNumber={pageNumber}&pageSize={pageSize}&orderBy={orderBy}&sortBy={sortBy} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginated outputTemplate: resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult diff --git a/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult.hbs b/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult.hbs index 7e0b62a9517..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult.hbs +++ b/automationtests/src/main/resources/resident/GetRegistrationCenterByHierarchyLevelAndTextPaginated/getRegistrationCenterByHierarchyLevelAndTextPaginatedResult.hbs @@ -1,49 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "pageNo": "$IGNORE$", - "pageSize": "$IGNORE$", - "sort": "$IGNORE$", - "totalItems": "$IGNORE$", - "totalPages": "$IGNORE$", - "data": [ - { - "isActive": "$IGNORE$", - "createdBy": "$IGNORE$", - "createdDateTime": "$IGNORE$", - "updatedBy": "$IGNORE$", - "updatedDateTime": "$IGNORE$", - "isDeleted": "$IGNORE$", - "deletedDateTime": "$IGNORE$", - "id": "$IGNORE$", - "name": "$IGNORE$", - "centerTypeCode": "$IGNORE$", - "addressLine1": "$IGNORE$", - "addressLine2": "$IGNORE$", - "addressLine3": "$IGNORE$", - "latitude": "$IGNORE$", - "longitude": "$IGNORE$", - "locationCode": "$IGNORE$", - "holidayLocationCode": "$IGNORE$", - "contactPhone": "$IGNORE$", - "workingHours": "$IGNORE$", - "langCode": "$IGNORE$", - "numberOfKiosks": "$IGNORE$", - "perKioskProcessTime": "$IGNORE$", - "centerStartTime": "$IGNORE$", - "centerEndTime": "$IGNORE$", - "timeZone": "$IGNORE$", - "contactPerson": "$IGNORE$", - "lunchStartTime": "$IGNORE$", - "lunchEndTime": "$IGNORE$", - "zoneCode": "$IGNORE$", - "workingNonWorkingDays": "$IGNORE$", - "exceptionalHolidayPutPostDto": "$IGNORE$" - } - ] - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/GetRegistrationCenterWorkingDays.yml b/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/GetRegistrationCenterWorkingDays.yml index 0d3b1051c20..c0b97e6ca6b 100644 --- a/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/GetRegistrationCenterWorkingDays.yml +++ b/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/GetRegistrationCenterWorkingDays.yml @@ -2,6 +2,7 @@ GetRegistrationCenterWorkingDays: Resident_GetRegistrationCenterWorkingDays_allValid_smoke: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays outputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDaysResult @@ -10,12 +11,12 @@ GetRegistrationCenterWorkingDays: "registrationCenterID": "10011" }' output: '{ - "errors": null }' Resident_GetRegistrationCenterWorkingDays_Invalid_langCode: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays outputTemplate: resident/error @@ -35,6 +36,7 @@ GetRegistrationCenterWorkingDays: Resident_GetRegistrationCenterWorkingDays_Invalid_registrationCenterID: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays outputTemplate: resident/error @@ -54,6 +56,7 @@ GetRegistrationCenterWorkingDays: Resident_GetRegistrationCenterWorkingDays_Invalid_langCode_registrationCenterID: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays outputTemplate: resident/error @@ -73,6 +76,7 @@ GetRegistrationCenterWorkingDays: Resident_GetRegistrationCenterWorkingDays_StatusCode_Empty_registrationCenterID_Neg: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true templateFields: ["langCode"] restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays @@ -86,6 +90,7 @@ GetRegistrationCenterWorkingDays: Resident_GetRegistrationCenterWorkingDays_StatusCode_Empty_langCode_Neg: endPoint: /resident/v1/proxy/masterdata/workingdays/{registrationCenterID}/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDays outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDaysResult.hbs b/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDaysResult.hbs index 961be4c1f3f..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDaysResult.hbs +++ b/automationtests/src/main/resources/resident/GetRegistrationCenterWorkingDays/getRegistrationCenterWorkingDaysResult.hbs @@ -1,41 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "workingdays": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "order": "$IGNORE$", - "languageCode": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "order": "$IGNORE$", - "languageCode": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "order": "$IGNORE$", - "languageCode": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "order": "$IGNORE$", - "languageCode": "$IGNORE$" - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "order": "$IGNORE$", - "languageCode": "$IGNORE$" - } - ] - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest.yml b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest.yml index a2fa928d5d2..1a6750d77c8 100644 --- a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest.yml +++ b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest.yml @@ -2,6 +2,7 @@ GetRemainingupdatecountbyIndividualIdRequest: Resident_GetRemainingupdatecountbyIndividualIdRequest_Valid_Smoke: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest outputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequestResult @@ -17,6 +18,7 @@ GetRemainingupdatecountbyIndividualIdRequest: Resident_GetRemainingupdatecountby_Invalid_IndividualIdRequest_Negative: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest outputTemplate: resident/error @@ -37,6 +39,7 @@ GetRemainingupdatecountbyIndividualIdRequest: Resident_GetRemainingupdatecountby_StatusCode_empty_IndividualIdRequest_Negative: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest outputTemplate: resident/error @@ -50,6 +53,7 @@ GetRemainingupdatecountbyIndividualIdRequest: Resident_GetRemainingupdatecountbyIndividualIdRequest_Invalid_Token: endPoint: /idrepository/v1/identity/{individualId}/update-counts?idType={idType}&attribute_list={attribute_list} role: invalid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequest outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequestResult.hbs b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequestResult.hbs index c8c7de1ec9b..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequestResult.hbs +++ b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest/GetRemainingupdatecountbyIndividualIdRequestResult.hbs @@ -1,7 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "errors": "$IGNORE$", - "response": "$IGNORE$", - "responseTime": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2.yml b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2.yml index 426dff5f512..d2f4c1e8008 100644 --- a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2.yml +++ b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2.yml @@ -2,6 +2,7 @@ GetRemainingupdatecountbyIndividualIdRequest2: Resident_GetRemainingupdatecountbyIndividualIdRequest2_uin_Valid_Smoke: endPoint: /resident/v1/identity/update-count?filter_attribute_list={filter_attribute_list} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2 outputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result @@ -16,6 +17,7 @@ GetRemainingupdatecountbyIndividualIdRequest2: Resident_GetRemainingupdatecountbyIndividualIdRequest2_vid_Valid_Smoke: endPoint: /resident/v1/identity/update-count?filter_attribute_list={filter_attribute_list} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2 outputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result @@ -30,6 +32,7 @@ GetRemainingupdatecountbyIndividualIdRequest2: Resident_GetRemainingupdatecountbyIndividualIdRequest2_Invalid_Token: endPoint: /resident/v1/identity/update-count?filter_attribute_list={filter_attribute_list} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2 outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result.hbs b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result.hbs index 394dc56d52d..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result.hbs +++ b/automationtests/src/main/resources/resident/GetRemainingupdatecountbyIndividualIdRequest2/GetRemainingupdatecountbyIndividualIdRequest2Result.hbs @@ -1,8 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVid.yml b/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVid.yml index 49188121c09..09bbb50f4fe 100644 --- a/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVid.yml +++ b/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVid.yml @@ -62,7 +62,7 @@ GetRequestCardVid: output: '{ "errors": [ { - "errorCode": "RES-SER-406", + "errorCode": "RES-SER-454", "message": "$IGNORE$" } ] @@ -111,7 +111,7 @@ GetRequestCardVid: output: '{ "errors": [ { - "errorCode": "RES-SER-406", + "errorCode": "RES-SER-454", "message": "$IGNORE$" } ] diff --git a/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVidResult.hbs b/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVidResult.hbs index d4af1b45d86..0137f52daaa 100644 --- a/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVidResult.hbs +++ b/automationtests/src/main/resources/resident/GetRequestCardVid/GetRequestCardVidResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.request.vid.card", - "version": "1.0", - "responsetime": "$IGNORE$", "response": { - "eventId": "$IGNORE$", "status": "{{status}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetResidentValidDocuments/GetResidentValidDocuments.yml b/automationtests/src/main/resources/resident/GetResidentValidDocuments/GetResidentValidDocuments.yml index 791c234ed61..56a0dbe75bf 100644 --- a/automationtests/src/main/resources/resident/GetResidentValidDocuments/GetResidentValidDocuments.yml +++ b/automationtests/src/main/resources/resident/GetResidentValidDocuments/GetResidentValidDocuments.yml @@ -2,6 +2,7 @@ GetResidentValidDocuments: Resident_GetResidentValidDocuments_all_Valid_Smoke: endPoint: /resident/v1/proxy/masterdata/applicanttype/{applicantId}/languages?languages={langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetResidentValidDocuments/getResidentValidDocuments outputTemplate: resident/GetResidentValidDocuments/getResidentValidDocumentsResult @@ -10,16 +11,12 @@ GetResidentValidDocuments: "langCode":"$1STLANG$" }' output: '{ - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" }' Resident_GetResidentValidDocuments_Invalid_LangCode: endPoint: /resident/v1/proxy/masterdata/applicanttype/{applicantId}/languages?languages={langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetResidentValidDocuments/getResidentValidDocuments outputTemplate: resident/error @@ -39,6 +36,7 @@ GetResidentValidDocuments: Resident_GetResidentValidDocuments_Invalid_ApplicantId: endPoint: /resident/v1/proxy/masterdata/applicanttype/{applicantId}/languages?languages={langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetResidentValidDocuments/getResidentValidDocuments outputTemplate: resident/error @@ -58,6 +56,7 @@ GetResidentValidDocuments: Resident_GetResidentValidDocuments_Empty_LangCode_Neg: endPoint: /resident/v1/proxy/masterdata/applicanttype/{applicantId}/languages?languages={langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetResidentValidDocuments/getResidentValidDocuments outputTemplate: resident/error @@ -77,6 +76,7 @@ GetResidentValidDocuments: Resident_GetResidentValidDocuments_StatusCode_Empty_ApplicantId_Neg: endPoint: /resident/v1/proxy/masterdata/applicanttype/{applicantId}/languages?languages={langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetResidentValidDocuments/getResidentValidDocuments outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetResidentValidDocuments/getResidentValidDocumentsResult.hbs b/automationtests/src/main/resources/resident/GetResidentValidDocuments/getResidentValidDocumentsResult.hbs index fceff50472c..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetResidentValidDocuments/getResidentValidDocumentsResult.hbs +++ b/automationtests/src/main/resources/resident/GetResidentValidDocuments/getResidentValidDocumentsResult.hbs @@ -1,62 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "appTypeCode": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$", - "documentCategories": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$", - "documentTypes": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - ] - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$", - "documentTypes": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - ] - }, - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$", - "documentTypes": [ - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - ] - } - ] - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/GetRetrieveVidPolicy.yml b/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/GetRetrieveVidPolicy.yml index 3d3abfa760c..8601334af72 100644 --- a/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/GetRetrieveVidPolicy.yml +++ b/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/GetRetrieveVidPolicy.yml @@ -2,6 +2,7 @@ GetRetrieveVidPolicy: Resident_GetRetrieveVidPolicy_uin_all_Valid_Smoke: endPoint: /resident/v1/vid/policy role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRetrieveVidPolicy/getRetrieveVidPolicy outputTemplate: resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult @@ -13,6 +14,7 @@ GetRetrieveVidPolicy: Resident_GetRetrieveVidPolicy_vid_all_Valid_Smoke: endPoint: /resident/v1/vid/policy role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRetrieveVidPolicy/getRetrieveVidPolicy outputTemplate: resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult diff --git a/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult.hbs b/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult.hbs index b20bad4f914..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult.hbs +++ b/automationtests/src/main/resources/resident/GetRetrieveVidPolicy/getRetrieveVidPolicyResult.hbs @@ -1,8 +1 @@ -{ - "id": "mosip.resident.vid.policy", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": {}, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualId.yml b/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualId.yml index f831affdf2b..f65ce77e318 100644 --- a/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualId.yml +++ b/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualId.yml @@ -2,6 +2,7 @@ GetRidByIndividualId: Resident_GetRidByIndividualId_all_Valid_Smoke: endPoint: /idrepository/v1/identity/rid/{individualId} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRidByIndividualId/GetRidByIndividualId outputTemplate: resident/GetRidByIndividualId/GetRidByIndividualIdResult @@ -15,6 +16,7 @@ GetRidByIndividualId: Resident_GetRidByIndividualId_Perp_Vid_all_Valid_Smoke: endPoint: /idrepository/v1/identity/rid/{individualId} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRidByIndividualId/GetRidByIndividualId outputTemplate: resident/GetRidByIndividualId/GetRidByIndividualIdResult @@ -28,6 +30,7 @@ GetRidByIndividualId: Resident_GetRidByIndividualId_OneTime_Vid_Valid_Smoke: endPoint: /idrepository/v1/identity/rid/{individualId} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRidByIndividualId/GetRidByIndividualId outputTemplate: resident/GetRidByIndividualId/GetRidByIndividualIdResult @@ -41,6 +44,7 @@ GetRidByIndividualId: Resident_GetRidByIndividualId_Temp_Vid_all_Valid_Smoke: endPoint: /idrepository/v1/identity/rid/{individualId} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetRidByIndividualId/GetRidByIndividualId outputTemplate: resident/GetRidByIndividualId/GetRidByIndividualIdResult diff --git a/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualIdResult.hbs b/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualIdResult.hbs index e440678b785..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualIdResult.hbs +++ b/automationtests/src/main/resources/resident/GetRidByIndividualId/GetRidByIndividualIdResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.idrepo.rid.get", - "version": "1.0", - "errors": "$IGNORE$", - "response": { - "rid": "$IGNORE$" - }, - "responseTime": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistory.yml b/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistory.yml index 0b40771b3cf..3eac5ec983e 100644 --- a/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistory.yml +++ b/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistory.yml @@ -2,6 +2,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_all_Valid_Smoke_sid: endPoint: /resident/v1/service-history/{langcode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/GetServiceHistory/GetServiceHistory @@ -24,6 +25,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_LangCode_Neg: endPoint: /resident/v1/service-history/{langcode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -50,6 +52,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusCode_Missing_Langcode_Neg: endPoint: /resident/v1/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -69,6 +72,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_1_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -90,6 +94,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_2_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -111,6 +116,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_3_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -132,6 +138,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_4_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -153,6 +160,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_5_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -174,6 +182,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Date_Specified_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -195,6 +204,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -221,6 +231,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_From_To_Date_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -247,6 +258,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -273,6 +285,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_ToDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -299,6 +312,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_PageStart_Neg: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -325,6 +339,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Valid_PageStart_Smoke: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -351,6 +366,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Negative_PageFetch_Value_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -377,6 +393,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_Random_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -403,6 +420,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -429,6 +447,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Multiple_ServiceType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -455,6 +474,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_ASC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -476,6 +496,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_DESC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -497,6 +518,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -523,6 +545,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -549,6 +572,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_SearchText_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -570,6 +594,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_0_SearchText_Pos: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -591,6 +616,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_SearchText_Random_Pos: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -612,6 +638,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusFilter_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -633,6 +660,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusFilter_Invalid_Neg: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -659,6 +687,7 @@ GetServiceHistory: Resident_GetServiceHistory_Invalid_Token: endPoint: /resident/v1/service-history/{langcode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -685,6 +714,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_all_Valid_Smoke_sid: endPoint: /resident/v1/service-history/{langcode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -706,6 +736,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_LangCode_Neg: endPoint: /resident/v1/service-history/{langcode} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -732,6 +763,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusCode_Missing_Langcode_Neg: endPoint: /resident/v1/service-history role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -751,6 +783,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_1_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -772,6 +805,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_2_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -793,6 +827,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_3_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -814,6 +849,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_4_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -835,6 +871,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_5_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -856,6 +893,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Date_Specified_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -877,6 +915,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -903,6 +942,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_From_To_Date_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -929,6 +969,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -955,6 +996,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_ToDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -981,6 +1023,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_PageStart_Neg: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1007,6 +1050,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Valid_PageStart_Smoke: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1033,6 +1077,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Negative_PageFetch_Value_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1059,6 +1104,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_Random_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1085,6 +1131,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1111,6 +1158,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Multiple_ServiceType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1137,6 +1185,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_ASC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1158,6 +1207,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_DESC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1179,6 +1229,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Empty_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1205,6 +1256,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_Invalid_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1231,6 +1283,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_SearchText_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1252,6 +1305,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_0_SearchText_Pos: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1273,6 +1327,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_SearchText_Random_Pos: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1294,6 +1349,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusFilter_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1315,6 +1371,7 @@ GetServiceHistory: Resident_GetServiceHistory_uin_StatusFilter_Invalid_Neg: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNew + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1340,6 +1397,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_all_Valid_Smoke_sid: endPoint: /resident/v1/service-history/{langcode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1361,6 +1419,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_LangCode_Neg: endPoint: /resident/v1/service-history/{langcode} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1387,6 +1446,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_StatusCode_Missing_Langcode_Neg: endPoint: /resident/v1/service-history role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1406,6 +1466,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_1_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1427,6 +1488,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_2_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1448,6 +1510,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_3_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1469,6 +1532,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_4_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1490,6 +1554,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_5_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1511,6 +1576,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Date_Specified_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1532,6 +1598,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1558,6 +1625,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_From_To_Date_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1584,6 +1652,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Empty_FromDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1610,6 +1679,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Empty_ToDate_Neg: endPoint: /resident/v1/service-history/{langcode}?fromDate={fromDate}&toDate={toDate} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1636,6 +1706,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_PageStart_Neg: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1662,6 +1733,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Valid_PageStart_Smoke: endPoint: /resident/v1/service-history/{langcode}?pageStart={pageStart} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1688,6 +1760,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Negative_PageFetch_Value_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1714,6 +1787,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_Random_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1740,6 +1814,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_PageFetch_Neg: endPoint: /resident/v1/service-history/{langcode}?pageFetch={pageFetch} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1766,6 +1841,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Multiple_ServiceType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?serviceType={serviceType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1792,6 +1868,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_ASC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1813,6 +1890,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_DESC_SortType_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1834,6 +1912,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Empty_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1860,6 +1939,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_Invalid_SortType_Neg: endPoint: /resident/v1/service-history/{langcode}?sortType={sortType} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1886,6 +1966,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_SearchText_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1907,6 +1988,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_0_SearchText_Pos: endPoint: /resident/v1/service-history/{langcode}?searchText={searchText} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1930,6 +2012,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_StatusFilter_Valid_Smoke: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/GetServiceHistory/GetServiceHistoryResult @@ -1951,6 +2034,7 @@ GetServiceHistory: Resident_GetServiceHistory_vid_StatusFilter_Invalid_Neg: endPoint: /resident/v1/service-history/{langcode}?statusFilter={statusFilter} role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error @@ -1976,6 +2060,7 @@ GetServiceHistory: Resident_GetServiceHistory_StatusCode_Empty_Token: endPoint: /resident/v1/service-history/{langcode} role: + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetServiceHistory/GetServiceHistory outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistoryResult.hbs b/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistoryResult.hbs index 006b13fd22e..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistoryResult.hbs +++ b/automationtests/src/main/resources/resident/GetServiceHistory/GetServiceHistoryResult.hbs @@ -1,26 +1 @@ -{ - "id": "mosip.service.history.get", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - "pageNo": "$IGNORE$", - "pageSize": "$IGNORE$", - "totalItems": "$IGNORE$", - "totalPages": "$IGNORE$", - "data": [ - {{#each data}} - { - "eventId": "$IGNORE$", - "description": "$IGNORE$", - "eventStatus": "$IGNORE$", - "timeStamp": "$IGNORE$", - "requestType": "$IGNORE$", - "pinnedStatus": "$IGNORE$" - } - {{#unless @last}},{{/unless}} - {{/each}} - ] - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDoc.yml b/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDoc.yml index 9680de34356..ca262c57deb 100644 --- a/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDoc.yml +++ b/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDoc.yml @@ -2,6 +2,7 @@ GetSupportingDoc: Resident_GetSupportingDoc_all_Valid_Smoke: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetSupportingDoc/GetSupportingDoc outputTemplate: resident/GetSupportingDoc/GetSupportingDocResult @@ -15,6 +16,7 @@ GetSupportingDoc: Resident_GetSupportingDoc_Invalid_Langcode_Neg: endPoint: /resident/v1/download/supporting-documents role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetSupportingDoc/GetSupportingDoc outputTemplate: resident/GetSupportingDoc/GetSupportingDocResult diff --git a/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDocResult.hbs b/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDocResult.hbs index 4d883bd7fb4..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDocResult.hbs +++ b/automationtests/src/main/resources/resident/GetSupportingDoc/GetSupportingDocResult.hbs @@ -1,10 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetUiProperties/GetUiProperties.yml b/automationtests/src/main/resources/resident/GetUiProperties/GetUiProperties.yml index 3e2c1d5166b..eb567a903db 100644 --- a/automationtests/src/main/resources/resident/GetUiProperties/GetUiProperties.yml +++ b/automationtests/src/main/resources/resident/GetUiProperties/GetUiProperties.yml @@ -9,13 +9,4 @@ GetUiProperties: input: '{ }' output: '{ - "mosip.resident.api.id.auth": "{{mosip.resident.api.id.auth}}", - "mosip.resident.api.version.otp.request": "{{mosip.resident.api.version.otp.request}}", - "resident.datetime.pattern": "$IGNORE$", - "mosip.mandatory-languages": "$IGNORE$", - "mosip.resident.api.version.auth": "{{mosip.resident.api.version.auth}}", - "mosip.optional-languages": "$IGNORE$", - "mosip.resident.api.id.otp.request": "{{mosip.resident.api.id.otp.request}}", - "mosip.utc-datetime-pattern": "$IGNORE$", - "mosip.iam.adapter.clientid": "{{mosip.iam.adapter.clientid}}" -}' +}' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetUiProperties/getUiPropertiesResult.hbs b/automationtests/src/main/resources/resident/GetUiProperties/getUiPropertiesResult.hbs index 3acf7ad733f..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetUiProperties/getUiPropertiesResult.hbs +++ b/automationtests/src/main/resources/resident/GetUiProperties/getUiPropertiesResult.hbs @@ -1,18 +1 @@ -{ - "id": "resident.ui.properties", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "mosip.resident.api.id.auth": "mosip.identity.auth.internal", - "mosip.resident.api.version.otp.request": "1.0", - "resident.datetime.pattern": "$IGNORE$", - "mosip.mandatory-languages": "$IGNORE$", - "mosip.resident.api.version.auth": "1.0", - "mosip.optional-languages": "$IGNORE$", - "mosip.resident.api.id.otp.request": "mosip.identity.otp.internal", - "mosip.utc-datetime-pattern": "$IGNORE$", - "mosip.iam.adapter.clientid": "mosip-resident-client" - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/GetValidDocumentByLangCode.yml b/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/GetValidDocumentByLangCode.yml index fddb43ab5af..26e18d79a83 100644 --- a/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/GetValidDocumentByLangCode.yml +++ b/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/GetValidDocumentByLangCode.yml @@ -10,9 +10,6 @@ GetValidDocumentByLangCode: "langCode": "$1STLANG$" }' output: '{ - "response": [{ - - }] }' @@ -20,6 +17,7 @@ GetValidDocumentByLangCode: Resident_GetValidDocumentByLangCode_Invalid_LangCode: endPoint: /resident/v1/proxy/masterdata/validdocuments/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidDocumentByLangCode/getValidDocumentByLangCode outputTemplate: resident/error @@ -52,6 +50,7 @@ GetValidDocumentByLangCode: Resident_GetValidDocumentByLangCode_StatusCode_Empty_Invalid_Neg: endPoint: /resident/v1/proxy/masterdata/validdocuments/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidDocumentByLangCode/getValidDocumentByLangCode outputTemplate: resident/error @@ -63,6 +62,7 @@ GetValidDocumentByLangCode: Resident_GetValidDocumentByLangCode_Invalid_LangCode_Neg: endPoint: /resident/v1/proxy/masterdata/validdocuments/{langCode} role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidDocumentByLangCode/getValidDocumentByLangCode outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/getValidDocumentByLangCodeResult.hbs b/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/getValidDocumentByLangCodeResult.hbs index 42d7f228381..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/getValidDocumentByLangCodeResult.hbs +++ b/automationtests/src/main/resources/resident/GetValidDocumentByLangCode/getValidDocumentByLangCodeResult.hbs @@ -1,33 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "documentcategories": [ - {{#each documentcategories}} - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$", - "documenttypes": [ - {{#each documenttypes}} - { - "code": "$IGNORE$", - "name": "$IGNORE$", - "description": "$IGNORE$", - "langCode": "$IGNORE$", - "isActive": "$IGNORE$" - } - {{#unless @last}},{{/unless}} - {{/each}} - ] - } - {{#unless @last}},{{/unless}} - {{/each}} - ] - }, - "errors": $IGNORE$ -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GetValidateToken/GetValidateToken.yml b/automationtests/src/main/resources/resident/GetValidateToken/GetValidateToken.yml index 50318b0b1e2..37a0af6270b 100644 --- a/automationtests/src/main/resources/resident/GetValidateToken/GetValidateToken.yml +++ b/automationtests/src/main/resources/resident/GetValidateToken/GetValidateToken.yml @@ -2,6 +2,7 @@ GetValidateToken: Resident_GetValidateToken_uin_all_Valid_Smoke: endPoint: /resident/v1/authorize/admin/validateToken role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/GetValidateToken/getValidateToken @@ -14,6 +15,7 @@ GetValidateToken: Resident_GetValidateToken_vid_all_Valid_Smoke: endPoint: /resident/v1/authorize/admin/validateToken role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidateToken/getValidateToken outputTemplate: resident/GetValidateToken/getValidateTokenResult @@ -26,6 +28,7 @@ GetValidateToken: Resident_GetValidateToken_Invalid_Token: endPoint: /resident/v1/authorize/admin/validateToken role: invalid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidateToken/getValidateToken outputTemplate: resident/error @@ -43,6 +46,7 @@ GetValidateToken: Resident_GetValidateToken_Empty_Token_Neg: endPoint: /resident/v1/authorize/admin/validateToken role: + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/GetValidateToken/getValidateToken outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GetValidateToken/getValidateTokenResult.hbs b/automationtests/src/main/resources/resident/GetValidateToken/getValidateTokenResult.hbs index 38b95b914e0..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GetValidateToken/getValidateTokenResult.hbs +++ b/automationtests/src/main/resources/resident/GetValidateToken/getValidateTokenResult.hbs @@ -1,9 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicket.yml b/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicket.yml index 59b688f9b8e..337b69c44e7 100644 --- a/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicket.yml +++ b/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicket.yml @@ -2,6 +2,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_all_Valid_Smoke: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/GrievanceTicket/GrievanceTicketResult @@ -22,6 +23,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_InvalidUser_Token_Neg: endPoint: /resident/v1/grievance/ticket role: resident + checkErrorsOnlyInResponse: true validityCheckRequired: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket @@ -48,6 +50,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_StatusCode_Invalid_Token_Neg: endPoint: /resident/v1/grievance/ticket role: invalid + checkErrorsOnlyInResponse: true validityCheckRequired: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket @@ -67,6 +70,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_StatusCode_Empty_Token_Neg: endPoint: /resident/v1/grievance/ticket role: + checkErrorsOnlyInResponse: true validityCheckRequired: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket @@ -86,6 +90,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Invalid_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -111,6 +116,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Diff_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -136,6 +142,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Missing_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -161,6 +168,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Empty_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -186,6 +194,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Empty_Msg_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -211,6 +220,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_Missing_Msg_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -236,6 +246,7 @@ GrievanceTicket: Resident_GrievanceTicket_uin_OverRange_Msg_Neg: endPoint: /resident/v1/grievance/ticket role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -261,6 +272,7 @@ GrievanceTicket: Resident_GrievanceTicket_vid_all_Valid_Smoke: endPoint: /resident/v1/grievance/ticket role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/GrievanceTicket/GrievanceTicketResult @@ -281,6 +293,7 @@ GrievanceTicket: Resident_GrievanceTicket_vid_Invalid_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -306,6 +319,7 @@ GrievanceTicket: Resident_GrievanceTicket_vid_Diff_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -331,6 +345,7 @@ GrievanceTicket: Resident_GrievanceTicket_vid_Missing_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error @@ -356,6 +371,7 @@ GrievanceTicket: Resident_GrievanceTicket_vid_Empty_Eid_Neg: endPoint: /resident/v1/grievance/ticket role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/GrievanceTicket/GrievanceTicket outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicketResult.hbs b/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicketResult.hbs index afe6f5c4b3e..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicketResult.hbs +++ b/automationtests/src/main/resources/resident/GrievanceTicket/GrievanceTicketResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.grievance.ticket.request", - "version": "1.0", - "responseTime": "$IGNORE$", - "response": { - "ticketId" : "$IGNORE$" - }, - "errors" : "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/LoginUri/LoginUri.yml b/automationtests/src/main/resources/resident/LoginUri/LoginUri.yml index cf1a83564ef..52e3a510954 100644 --- a/automationtests/src/main/resources/resident/LoginUri/LoginUri.yml +++ b/automationtests/src/main/resources/resident/LoginUri/LoginUri.yml @@ -2,6 +2,7 @@ LoginUri: Resident_LoginUri_all_Valid_Smoke: endPoint: /resident/v1/login/{redirectURI} role: state + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/LoginUri/LoginUri outputTemplate: resident/LoginUri/LoginUriResult diff --git a/automationtests/src/main/resources/resident/LoginUri/LoginUriResult.hbs b/automationtests/src/main/resources/resident/LoginUri/LoginUriResult.hbs index c192f376929..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/LoginUri/LoginUriResult.hbs +++ b/automationtests/src/main/resources/resident/LoginUri/LoginUriResult.hbs @@ -1,10 +1 @@ -{ - "id": null, - "version": null, - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": { - - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/OAuthDetailsRequest/OAuthDetailsRequestResult.hbs b/automationtests/src/main/resources/resident/OAuthDetailsRequest/OAuthDetailsRequestResult.hbs index 3a0c7968ea6..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/OAuthDetailsRequest/OAuthDetailsRequestResult.hbs +++ b/automationtests/src/main/resources/resident/OAuthDetailsRequest/OAuthDetailsRequestResult.hbs @@ -1,16 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "response": { - "transactionId": "$IGNORE$", - "clientName": "$IGNORE$", - "logoUrl": "$IGNORE$", - "authFactors": "$IGNORE$", - "authorizeScopes": "$IGNORE$", - "essentialClaims": "$IGNORE$", - "voluntaryClaims": "$IGNORE$", - "configs": "$IGNORE$" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/PRINTUIN/createPrintUin.yml b/automationtests/src/main/resources/resident/PRINTUIN/createPrintUin.yml index fb1e52959e9..c4793f99e5e 100644 --- a/automationtests/src/main/resources/resident/PRINTUIN/createPrintUin.yml +++ b/automationtests/src/main/resources/resident/PRINTUIN/createPrintUin.yml @@ -2,6 +2,7 @@ PrintUin: Resident_PrintUin_All_Valid_Smoke: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/PRINTUIN/createPrintUinResult @@ -24,8 +25,6 @@ PrintUin: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -35,6 +34,7 @@ PrintUin: Resident_PrintUin_Invalid_Empty_Cardtype_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -109,6 +109,7 @@ PrintUin: Resident_PrintUin_Invalid_Missing_Cardtype_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -146,6 +147,7 @@ PrintUin: Resident_PrintUin_Invalid_IndividualIDType_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -183,6 +185,7 @@ PrintUin: Resident_PrintUin_Invalid_MaxLength3_IndividualIDType_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -220,6 +223,7 @@ PrintUin: Resident_PrintUin_Invalid_Missing_IndividualID_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -257,6 +261,7 @@ PrintUin: Resident_PrintUin_Invalid_Empty_Otp_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -294,6 +299,7 @@ PrintUin: Resident_PrintUin_Invalid_MaxLength6_Otp_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -331,6 +337,7 @@ PrintUin: Resident_PrintUin_Invalid_Otp_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -368,6 +375,7 @@ PrintUin: Resident_PrintUin_Invalid_Empty_requestTime_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -405,6 +413,7 @@ PrintUin: Resident_PrintUin_Invalid_Empty_TrnxID_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -442,6 +451,7 @@ PrintUin: Resident_PrintUin_Invalid_Value_TrnxID_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -479,6 +489,7 @@ PrintUin: Resident_PrintUin_Invalid_Empty_version_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -516,6 +527,7 @@ PrintUin: Resident_PrintUin_Invalid_version_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -553,6 +565,7 @@ PrintUin: Resident_PrintUin_Invalid_Individual_Id_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -590,6 +603,7 @@ PrintUin: Resident_PrintUin_Missing_Individual_Id_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error @@ -627,6 +641,7 @@ PrintUin: Resident_PrintUin_Empty_Individual_Id_Neg: endPoint: /resident/v1/req/print-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PRINTUIN/createPrintUin outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/PRINTUIN/createPrintUinResult.hbs b/automationtests/src/main/resources/resident/PRINTUIN/createPrintUinResult.hbs index c65f625f47b..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/PRINTUIN/createPrintUinResult.hbs +++ b/automationtests/src/main/resources/resident/PRINTUIN/createPrintUinResult.hbs @@ -1,11 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "registrationId": "{{registrationId}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCard.yml b/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCard.yml index 21f34811e87..22fd9776b3d 100644 --- a/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCard.yml +++ b/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCard.yml @@ -2,6 +2,7 @@ PersonalizedCard: Resident_PersonalizedCard_uin_all_Valid_Smoke: endPoint: /resident/v1/download/personalized-card role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/PersonalizedCard/PersonalizedCardResult @@ -17,6 +18,7 @@ PersonalizedCard: Resident_PersonalizedCard_vid_all_Valid_Smoke: endPoint: /resident/v1/download/personalized-card role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/PersonalizedCard/PersonalizedCardResult @@ -32,6 +34,7 @@ PersonalizedCard: Resident_PersonalizedCard_Empty_Access_Token_Neg: endPoint: /resident/v1/download/personalized-card role: + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error @@ -53,6 +56,7 @@ PersonalizedCard: Resident_PersonalizedCard_Invalid_Access_Token_Neg: endPoint: /resident/v1/download/personalized-card role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error @@ -74,6 +78,7 @@ PersonalizedCard: Resident_PersonalizedCard_uin_Invalid_Html_Neg: endPoint: /resident/v1/download/personalized-card role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error @@ -95,6 +100,7 @@ PersonalizedCard: Resident_PersonalizedCard_uin_Empty_Html_Neg: endPoint: /resident/v1/download/personalized-card role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error @@ -116,6 +122,7 @@ PersonalizedCard: Resident_PersonalizedCard_vid_Invalid_Html_Neg: endPoint: /resident/v1/download/personalized-card role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error @@ -137,6 +144,7 @@ PersonalizedCard: Resident_PersonalizedCard_vid_Empty_Html_Neg: endPoint: /resident/v1/download/personalized-card role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/PersonalizedCard/PersonalizedCard outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCardResult.hbs b/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCardResult.hbs index 2d481b104f3..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCardResult.hbs +++ b/automationtests/src/main/resources/resident/PersonalizedCard/PersonalizedCardResult.hbs @@ -1,13 +1 @@ -{ - "id": "mosip.resident.download.personalized.card", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", - "response": $IGNORE$, - "errors": [ - { - "errorCode": "$IGNORE$", - "message": "$IGNORE$" - } - ] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/PinStatus/PinStatus.yml b/automationtests/src/main/resources/resident/PinStatus/PinStatus.yml index bad0987b229..0bbe55fdf28 100644 --- a/automationtests/src/main/resources/resident/PinStatus/PinStatus.yml +++ b/automationtests/src/main/resources/resident/PinStatus/PinStatus.yml @@ -9,8 +9,7 @@ PinStatus: "eventId": "$ID:GetServiceHistory_uin_all_Valid_Smoke_sid_eventId$" }' output: '{ - "status": "200", - "message": "SUCCESS" + "status": "200" }' Resident_PinStatus_vid_all_Valid_Smoke: @@ -23,8 +22,7 @@ PinStatus: "eventId": "$ID:GetServiceHistory_vid_all_Valid_Smoke_sid_eventId$" }' output: '{ - "status": "200", - "message": "SUCCESS" + "status": "200" }' Resident_PinStatus_uin_Invalid_Input_Neg: diff --git a/automationtests/src/main/resources/resident/PinStatus/PinStatusResult.hbs b/automationtests/src/main/resources/resident/PinStatus/PinStatusResult.hbs index 6573a3ca427..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/PinStatus/PinStatusResult.hbs +++ b/automationtests/src/main/resources/resident/PinStatus/PinStatusResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.resident.pin.status", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTime.yml b/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTime.yml index c7d85d9befd..cf7aabb66cb 100644 --- a/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTime.yml +++ b/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTime.yml @@ -2,6 +2,7 @@ PutBellUpdatedTime: Resident_PutBellUpdatedTime_uin_StatusCode_all_Valid_Smoke: endPoint: /resident/v1/bell/updatedttime role: residentNew + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: resident/PutBellUpdatedTime/PutBellUpdatedTime outputTemplate: resident/PutBellUpdatedTime/PutBellUpdatedTimeResult @@ -12,6 +13,7 @@ PutBellUpdatedTime: Resident_PutBellUpdatedTime_Invalid_Token: endPoint: /resident/v1/bell/updatedttime role: resident + checkErrorsOnlyInResponse: true restMethod: put inputTemplate: resident/PutBellUpdatedTime/PutBellUpdatedTime outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTimeResult.hbs b/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTimeResult.hbs index 35b07affb15..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTimeResult.hbs +++ b/automationtests/src/main/resources/resident/PutBellUpdatedTime/PutBellUpdatedTimeResult.hbs @@ -1,6 +1 @@ -{ - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "response": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ReqAidOtp/ReqAidOtpResult.hbs b/automationtests/src/main/resources/resident/ReqAidOtp/ReqAidOtpResult.hbs index 0b2ee0c152f..0a63321ce5b 100644 --- a/automationtests/src/main/resources/resident/ReqAidOtp/ReqAidOtpResult.hbs +++ b/automationtests/src/main/resources/resident/ReqAidOtp/ReqAidOtpResult.hbs @@ -1,12 +1,6 @@ { - "id": "mosip.identity.otp.internal", - "version": "1.0", - "transactionId": "$IGNORE$", - "responseTime": "$IGNORE$", - "errors": "$IGNORE$", "response": { "maskedMobile": "{{maskedMobile}}", "maskedEmail": "{{maskedEmail}}" - }, - "metadata": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ReqShareCredWithPartner/ReqShareCredWithPartnerResult.hbs b/automationtests/src/main/resources/resident/ReqShareCredWithPartner/ReqShareCredWithPartnerResult.hbs index 8cae36b27dc..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/ReqShareCredWithPartner/ReqShareCredWithPartnerResult.hbs +++ b/automationtests/src/main/resources/resident/ReqShareCredWithPartner/ReqShareCredWithPartnerResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.share.credential", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "status": "{{status}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVID.yml b/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVID.yml index c4d4d9f14f1..242358ed92f 100644 --- a/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVID.yml +++ b/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVID.yml @@ -2,6 +2,7 @@ RetrieveVID: Resident_RetrieveVID_uin_all_Valid_Smoke: endPoint: /resident/v1/vids role: residentNew + checkErrorsOnlyInResponse: true restMethod: get auditLogCheck: true inputTemplate: resident/RetrieveVID/RetrieveVID @@ -14,6 +15,7 @@ RetrieveVID: Resident_RetrieveVID_Vid_all_Valid_Smoke: endPoint: /resident/v1/vids role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/RetrieveVID/RetrieveVID outputTemplate: resident/RetrieveVID/RetrieveVIDResult @@ -25,6 +27,7 @@ RetrieveVID: Resident_RetrieveVID_Invalid_Token_Neg: endPoint: /resident/v1/vids role: resident + checkErrorsOnlyInResponse: true restMethod: get inputTemplate: resident/RetrieveVID/RetrieveVID outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVIDResult.hbs b/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVIDResult.hbs index 0deefa4400c..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVIDResult.hbs +++ b/automationtests/src/main/resources/resident/RetrieveVID/RetrieveVIDResult.hbs @@ -1,20 +1 @@ -{ - "id": "mosip.resident.vid.get", - "version": "1.0", - "responsetime": "$IGNORE$", - "response": [ - {{#each response}} - { - "vid": "$IGNORE$", - "maskedVid": "$IGNORE$", - "vidType": "$IGNORE$", - "expiryTimestamp": "$IGNORE$", - "transactionLimit": "$IGNORE$", - "transactionsLeftCount": "$IGNORE$", - "generatedOnTimestamp": "$IGNORE$" - } - {{#unless @last}},{{/unless}} - {{/each}} - ], - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/RevokeVID/createRevokeVID.yml b/automationtests/src/main/resources/resident/RevokeVID/createRevokeVID.yml index a27959f0bd9..edf46d1bf75 100644 --- a/automationtests/src/main/resources/resident/RevokeVID/createRevokeVID.yml +++ b/automationtests/src/main/resources/resident/RevokeVID/createRevokeVID.yml @@ -2,6 +2,7 @@ RevokeVID: Resident_Revoke_Perpetual_VID_UsingSameVID_Invalid: endPoint: /resident/v1/vid/$ID:GenerateVID_Perpetual_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -40,6 +41,7 @@ RevokeVID: Resident_Revoke_Temporary_VID_UsingSameVID_Invalid: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -78,6 +80,7 @@ RevokeVID: Resident_Revoke_Onetimeuse_VID_UsingSameVID_Invalid: endPoint: /resident/v1/vid/$ID:GenerateVID_Onetimeuse_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -116,6 +119,7 @@ RevokeVID: Resident_RevokeVID_Invalid_Id: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -154,6 +158,7 @@ RevokeVID: Resident_RevokeVID_Missing_Id: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -192,6 +197,7 @@ RevokeVID: Resident_RevokeVID_Empty_Id: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -230,6 +236,7 @@ RevokeVID: Resident_RevokeVID_Invalid_Individual_Id: endPoint: /resident/v1/vid/@234rff role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -267,6 +274,7 @@ RevokeVID: Resident_RevokeVID_Missing_Individual_Id: endPoint: /resident/v1/vid/$REMOVE$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -305,6 +313,7 @@ RevokeVID: Resident_RevokeVID_Empty_Individual_Id: endPoint: /resident/v1/vid/"" role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -342,6 +351,7 @@ RevokeVID: Resident_RevokeVID_Missing_Request_Time: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -379,6 +389,7 @@ RevokeVID: Resident_RevokeVID_Invalid_Request_Time: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -417,6 +428,7 @@ RevokeVID: Resident_RevokeVID_Empty_Request_Time: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -455,6 +467,7 @@ RevokeVID: Resident_RevokeVID_Invalid_version: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -492,6 +505,7 @@ RevokeVID: Resident_RevokeVID_Missing_version: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -530,6 +544,7 @@ RevokeVID: Resident_RevokeVID_Empty_version: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -568,6 +583,7 @@ RevokeVID: Resident_RevokeVID_Empty_transactionID: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -606,6 +622,7 @@ RevokeVID: Resident_RevokeVID_Invalid_transactionID: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -644,6 +661,7 @@ RevokeVID: Resident_RevokeVID_Missing_transactionID: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -682,6 +700,7 @@ RevokeVID: Resident_RevokeVID_Missing_vid_status: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -719,6 +738,7 @@ RevokeVID: Resident_RevokeVID_Invalid_vidstatus: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -757,6 +777,7 @@ RevokeVID: Resident_RevokeVID_Empty_vidstatus: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -795,6 +816,7 @@ RevokeVID: Resident_Revoke_Temporary_VID_UsingPerpVID_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -817,7 +839,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -828,6 +849,7 @@ RevokeVID: Resident_Revoke_Temporary_VID_UsingTempVID_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_2_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -850,7 +872,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -861,6 +882,7 @@ RevokeVID: Resident_Revoke_Temporary_VID_UsingOnetimeVID_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_3_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -883,7 +905,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -894,6 +915,7 @@ RevokeVID: Resident_Revoke_Perpetual_VID_UsingUIN_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Perpetual_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -916,7 +938,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -927,6 +948,7 @@ RevokeVID: Resident_Revoke_Onetimeuse_VID_UsingUIN_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Onetimeuse_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -949,7 +971,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -960,6 +981,7 @@ RevokeVID: Resident_Revoke_Temporary_VID_UsingUIN_Valid_Smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_4_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/RevokeVID/createRevokeVIDResult @@ -982,7 +1004,6 @@ RevokeVID: } }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -993,6 +1014,7 @@ RevokeVID: Resident_Revoke_Expired_Perpetual_VID_Neg: endPoint: /resident/v1/vid/$ID:GenerateVID_Perpetual_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -1031,6 +1053,7 @@ RevokeVID: Resident_Revoke_Expired_Temp_VID_Neg: endPoint: /resident/v1/vid/$ID:GenerateVID_Temporary_1_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error @@ -1069,6 +1092,7 @@ RevokeVID: Resident_Revoke_Expired_Onetimeuse_VID_Neg: endPoint: /resident/v1/vid/$ID:GenerateVID_Onetimeuse_Using_RevokeUIN_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVID/createRevokeVID outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/RevokeVID/createRevokeVIDResult.hbs b/automationtests/src/main/resources/resident/RevokeVID/createRevokeVIDResult.hbs index 1e2ddabc7ec..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/RevokeVID/createRevokeVIDResult.hbs +++ b/automationtests/src/main/resources/resident/RevokeVID/createRevokeVIDResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.vidstatus", - "version": "v1", - "responsetime": "$IGNORE$", - "response": { - "message": "{{message}}" - }, - "errors": "$IGNORE$" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNew.yml b/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNew.yml index dd257b30fcd..efe1eed774f 100644 --- a/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNew.yml +++ b/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNew.yml @@ -2,6 +2,7 @@ RevokeVIDNew: Resident_RevokeVIDNew_uin_Perp_Valid_Smoke: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_Perpetual_VID_uin_Valid_Token_Smoke_sid_vid$ role: residentNew + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNewResult @@ -13,12 +14,12 @@ RevokeVIDNew: "vidStatus": "Revoked" }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)" }' Resident_RevokeVIDNew_uin_Temp_Valid_Smoke: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_uin_Temporary_VID_Valid_Smoke_sid_vid$ role: residentNew + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNewResult @@ -30,12 +31,12 @@ RevokeVIDNew: "vidStatus": "Revoked" }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)" }' Resident_RevokeVIDNew_uin_OneTimeUse_Valid_Smoke: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_uin_Onetimeuse_VID_Valid_Smoke_sid_vid$ role: residentNew + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNewResult @@ -47,12 +48,12 @@ RevokeVIDNew: "vidStatus": "Revoked" }' output: '{ - "message": "Notification has been sent to the provided contact detail(s)" }' Resident_RevokeVIDNew_StatusCode_Without_Token_Neg: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_Temporary_1_Esignet_Integ_Valid_Smoke_sid_vid$ role: + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/error @@ -68,6 +69,7 @@ RevokeVIDNew: Resident_RevokeVIDNew_Diff_Token_Neg: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_Temporary_1_Esignet_Integ_Valid_Smoke_sid_vid$ role: resident + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/error @@ -89,6 +91,7 @@ RevokeVIDNew: Resident_RevokeVIDNew_Using_Vid_Valid_Neg: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_Temporary_1_Esignet_Integ_Valid_Smoke_sid_vid$ role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/error @@ -111,6 +114,7 @@ RevokeVIDNew: Resident_RevokeVIDNew_uin_Using_Vid_Invalid_User_Neg: endPoint: /resident/v1/revoke-vid/$ID:GenerateVID_Temporary_2_Esignet_Integ_Valid_Smoke_sid_vid$ role: residentNew + checkErrorsOnlyInResponse: true restMethod: patch inputTemplate: resident/RevokeVIDNew/CreateRevokeVIDNew outputTemplate: resident/error @@ -124,7 +128,7 @@ RevokeVIDNew: output: '{ "errors": [ { - "errorCode": "RES-SER-454", + "errorCode": "RES-SER-407", "message": "$IGNORE$" } ] diff --git a/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNewResult.hbs b/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNewResult.hbs index 90fab06b72d..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNewResult.hbs +++ b/automationtests/src/main/resources/resident/RevokeVIDNew/CreateRevokeVIDNewResult.hbs @@ -1,9 +1 @@ -{ - "id": "mosip.resident.vid.revoke", - "version": "1.0", - "responsetime": "$IGNORE$", - "response": { - "message": "{{message}}" - }, - "errors": [] -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatus.yml b/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatus.yml index f8bd92eb49a..0a89e6ef08a 100644 --- a/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatus.yml +++ b/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatus.yml @@ -13,11 +13,11 @@ RidCheckStatus: "requesttime": "$TIMESTAMP$" }' output: '{ - "ridStatus": "$IGNORE$" }' Resident_RidCheckStatus_Missing_InputParameter_individualId: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -38,6 +38,7 @@ RidCheckStatus: Resident_RidCheckStatus_Invalid_InputParameter_individualId: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -59,6 +60,7 @@ RidCheckStatus: Resident_RidCheckStatus_Missing_InputParameter_individualIdType: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -79,6 +81,7 @@ RidCheckStatus: Resident_RidCheckStatus_Invalid_InputParameter_individualIdType: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -99,6 +102,7 @@ RidCheckStatus: Resident_RidCheckStatus_Missing_Id: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -119,6 +123,7 @@ RidCheckStatus: Resident_RidCheckStatus_Missing_timestamp: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error @@ -139,6 +144,7 @@ RidCheckStatus: Resident_RidCheckStatus_Invalid_timestamp: endPoint: /resident/v1/rid/check-status role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/RidCheckStatus/createRidCheckStatus outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatusResult.hbs b/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatusResult.hbs index fc7f184c63a..03dcf612b4c 100644 --- a/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatusResult.hbs +++ b/automationtests/src/main/resources/resident/RidCheckStatus/createRidCheckStatusResult.hbs @@ -1,10 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "ridStatus": "{{ridStatus}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult.hbs b/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult.hbs index c8368800969..8c134ae435d 100644 --- a/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult.hbs +++ b/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult.hbs @@ -1,14 +1,7 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", "errors": [ { - "errorCode": "{{errorCode}}", - "errorMessage": "{{errorMessage}}" + "errorCode": "{{errorCode}}" } ] } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult2.hbs b/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult2.hbs index 1216fda84a0..8c134ae435d 100644 --- a/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult2.hbs +++ b/automationtests/src/main/resources/resident/SendOTP/createSendOTPErrorResult2.hbs @@ -1,14 +1,7 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", "errors": [ { - "errorCode": "{{errorCode}}", - "message": "{{message}}" + "errorCode": "{{errorCode}}" } ] } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResult.hbs b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResult.hbs index 0668a51b54b..763f9934fe8 100644 --- a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResult.hbs +++ b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResult.hbs @@ -1,12 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "maskedMobile": "{{maskedMobile}}", "maskedEmail": "{{maskedEmail}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForEmail.hbs b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForEmail.hbs index f02b83d1da2..760f777c2ba 100644 --- a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForEmail.hbs +++ b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForEmail.hbs @@ -1,11 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "maskedEmail": "{{maskedEmail}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForPhone.hbs b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForPhone.hbs index 51c3caef0bb..345a4a7a017 100644 --- a/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForPhone.hbs +++ b/automationtests/src/main/resources/resident/SendOTP/createSendOTPResultForPhone.hbs @@ -1,11 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "maskedMobile": "{{maskedMobile}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTP.yml b/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTP.yml index 45efc77718b..3f061e8a6b0 100644 --- a/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTP.yml +++ b/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTP.yml @@ -2,6 +2,7 @@ createSendOTP: Resident_SendOTP_All_Valid_Smoke: endPoint: /resident/v1/req/otp role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/SendOTP/createSendOTP outputTemplate: resident/SendOTP/createSendOTPResult diff --git a/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTPResult.hbs b/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTPResult.hbs index 555ca559a54..763f9934fe8 100644 --- a/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTPResult.hbs +++ b/automationtests/src/main/resources/resident/SendOTPUIN/createSendOTPResult.hbs @@ -1,12 +1,6 @@ { - "id": "mosip.identity.otp.internal", - "version": "1.0", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "maskedMobile": "{{maskedMobile}}", "maskedEmail": "{{maskedEmail}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpForContactDet/SendOtpForContactDetResult.hbs b/automationtests/src/main/resources/resident/SendOtpForContactDet/SendOtpForContactDetResult.hbs index 2a4e1c8210a..e525d39ddda 100644 --- a/automationtests/src/main/resources/resident/SendOtpForContactDet/SendOtpForContactDetResult.hbs +++ b/automationtests/src/main/resources/resident/SendOtpForContactDet/SendOtpForContactDetResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.resident.contact.details.send.otp.id", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "$IGNORE$" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpForExpiration/SendOtpForExpirationResult.hbs b/automationtests/src/main/resources/resident/SendOtpForExpiration/SendOtpForExpirationResult.hbs index 1532d0be00a..345a4a7a017 100644 --- a/automationtests/src/main/resources/resident/SendOtpForExpiration/SendOtpForExpirationResult.hbs +++ b/automationtests/src/main/resources/resident/SendOtpForExpiration/SendOtpForExpirationResult.hbs @@ -1,12 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "maskedMobile": "{{maskedMobile}}", - "maskedEmail": "$IGNORE$" - }, - "errors": "$IGNORE$" + "maskedMobile": "{{maskedMobile}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpForVid/createSendOTPResult.hbs b/automationtests/src/main/resources/resident/SendOtpForVid/createSendOTPResult.hbs index 0668a51b54b..763f9934fe8 100644 --- a/automationtests/src/main/resources/resident/SendOtpForVid/createSendOTPResult.hbs +++ b/automationtests/src/main/resources/resident/SendOtpForVid/createSendOTPResult.hbs @@ -1,12 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", - "transactionID": "$IGNORE$", - "metadata": "$IGNORE$", "response": { "maskedMobile": "{{maskedMobile}}", "maskedEmail": "{{maskedEmail}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdp.yml b/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdp.yml index 5246349e9e0..00c9c26dda8 100644 --- a/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdp.yml +++ b/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdp.yml @@ -2,6 +2,7 @@ SendOtpIdp: Resident_ESignet_SendOtpIdp_all_Valid_Smoke: endPoint: /v1/idp/authorization/send-otp role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/SendOtpIdp/SendOtpIdp outputTemplate: resident/SendOtpIdp/SendOtpIdpResult @@ -12,6 +13,4 @@ SendOtpIdp: "otpChannels": [{channel: "email"}] }' output: '{ - "maskedEmail": "$IGNORE$", - "maskedMobile": "$IGNORE$" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdpResult.hbs b/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdpResult.hbs index 15af7dc7dd6..c823777f1e9 100644 --- a/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdpResult.hbs +++ b/automationtests/src/main/resources/resident/SendOtpIdp/SendOtpIdpResult.hbs @@ -1,11 +1,6 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responseTime": "$IGNORE$", "response": { - "transactionId": "$IGNORE$", "maskedEmail": "{{maskedEmail}}", "maskedMobile": "{{maskedMobile}}" - }, - "errors": "$IGNORE$" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserId.yml b/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserId.yml index 7ebb03b978e..a6066bb3278 100644 --- a/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserId.yml +++ b/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserId.yml @@ -77,8 +77,7 @@ SendOtpToUserId: "message": "Invalid Input Parameter- requesttime" } ], - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' Resident_SendOtpToUserId_uin_Invalid_userId_Neg: @@ -179,8 +178,7 @@ SendOtpToUserId: "message": "Invalid Input Parameter- userId" } ], - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' Resident_SendOtpToUserId_uin_Invalid_transactionID_Neg: @@ -275,8 +273,7 @@ SendOtpToUserId: "transactionId": "$TRANSACTIONID$" }' output: '{ - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' Resident_SendOtpToUserId_vid_Invalid_Requesttime_Neg: @@ -337,8 +334,7 @@ SendOtpToUserId: "message": "Invalid Input Parameter- requesttime" } ], - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' Resident_SendOtpToUserId_vid_Invalid_userId_Neg: @@ -439,8 +435,7 @@ SendOtpToUserId: "message": "Invalid Input Parameter- userId" } ], - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' Resident_SendOtpToUserId_vid_Invalid_transactionID_Neg: @@ -536,6 +531,5 @@ SendOtpToUserId: "transactionId": "$TRANSACTIONID$" }' output: '{ - "status": "Email Request submitted", - "message": "success" + "status": "Email Request submitted" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserIdResult.hbs b/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserIdResult.hbs index 0ae65b1b493..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserIdResult.hbs +++ b/automationtests/src/main/resources/resident/SendOtpToUserId/SendOtpToUserIdResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.contact.details.send.otp.id", - "version": "1.0", - "responsetime": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/SignJWT/SignJWT.yml b/automationtests/src/main/resources/resident/SignJWT/SignJWT.yml index 744ff04c35f..8f5916782e5 100644 --- a/automationtests/src/main/resources/resident/SignJWT/SignJWT.yml +++ b/automationtests/src/main/resources/resident/SignJWT/SignJWT.yml @@ -16,5 +16,4 @@ SignJWT: "includeCertHash": false }' output: '{ - "jwtSignedData": "$IGNORE$" }' diff --git a/automationtests/src/main/resources/resident/SignJWT/SignJWTResult.hbs b/automationtests/src/main/resources/resident/SignJWT/SignJWTResult.hbs index 9722a3b0abc..205dafa2b95 100644 --- a/automationtests/src/main/resources/resident/SignJWT/SignJWTResult.hbs +++ b/automationtests/src/main/resources/resident/SignJWT/SignJWTResult.hbs @@ -1,9 +1,5 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", "response": { - "jwtSignedData": "{{jwtSignedData}}", - "timestamp": "$IGNORE$" + "jwtSignedData": "{{jwtSignedData}}" } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateData.yml b/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateData.yml index d4ab201db9f..88e2d95a414 100644 --- a/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateData.yml +++ b/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateData.yml @@ -2,6 +2,7 @@ TranslitrateData: Resident_TranslitrateData_uin_all_Valid_Smoke: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/TranslitrateData/TranslitrateDataResult @@ -18,6 +19,7 @@ TranslitrateData: Resident_TranslitrateData_vid_all_Valid_Smoke: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/TranslitrateData/TranslitrateDataResult @@ -34,6 +36,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Same_Lang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -55,6 +58,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Invalid_UserToken_Neg: endPoint: /resident/v1/transliteration/transliterate role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -76,6 +80,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Invalid_Token_Neg: endPoint: /resident/v1/transliteration/transliterate role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -97,6 +102,7 @@ TranslitrateData: Resident_TranslitrateData_StatusCode_Empty_Token_Neg: endPoint: /resident/v1/transliteration/transliterate role: + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -111,6 +117,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Invalid_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -132,6 +139,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Missing_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -153,6 +161,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Empty_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -174,6 +183,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Invalid_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -195,6 +205,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Missing_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -216,6 +227,7 @@ TranslitrateData: Resident_TranslitrateData_uin_Empty_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNew + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -237,6 +249,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Same_Lang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -258,6 +271,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Invalid_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -279,6 +293,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Missing_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -300,6 +315,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Empty_FromLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -321,6 +337,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Invalid_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -342,6 +359,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Missing_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error @@ -363,6 +381,7 @@ TranslitrateData: Resident_TranslitrateData_vid_Empty_ToLang_Neg: endPoint: /resident/v1/transliteration/transliterate role: residentNewVid + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/TranslitrateData/TranslitrateData outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateDataResult.hbs b/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateDataResult.hbs index 16f9d9b43c2..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateDataResult.hbs +++ b/automationtests/src/main/resources/resident/TranslitrateData/TranslitrateDataResult.hbs @@ -1,11 +1 @@ -{ - "id": "mosip.resident.transliteration.transliterate", - "version": "1.0", - "responsetime": "$IGNORE$", - "response": { - "from_field_value": "$IGNORE$", - "from_field_lang": "$IGNORE$", - "to_field_value": "$IGNORE$", - "to_field_lang": "$IGNORE$" - } -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatus.yml b/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatus.yml index f94124da2f4..ce9b0d5ecc8 100644 --- a/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatus.yml +++ b/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatus.yml @@ -9,8 +9,7 @@ UnPinStatus: "eventId": "$ID:GetServiceHistory_uin_all_Valid_Smoke_sid_eventId$" }' output: '{ - "status": "200", - "message": "SUCCESS" + "status": "200" }' Resident_UnPinStatus_vid_all_Valid_Smoke: @@ -23,8 +22,7 @@ UnPinStatus: "eventId": "$ID:GetServiceHistory_vid_all_Valid_Smoke_sid_eventId$" }' output: '{ - "status": "200", - "message": "SUCCESS" + "status": "200" }' Resident_UnPinStatus_uin_Invalid_Input_Neg: diff --git a/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatusResult.hbs b/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatusResult.hbs index 52e3713cc82..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatusResult.hbs +++ b/automationtests/src/main/resources/resident/UnPinStatus/UnPinStatusResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.resident.unpin.status", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/UpdateContactDetails/UpdateContactDetailsResult.hbs b/automationtests/src/main/resources/resident/UpdateContactDetails/UpdateContactDetailsResult.hbs index b3ec94d40d5..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/UpdateContactDetails/UpdateContactDetailsResult.hbs +++ b/automationtests/src/main/resources/resident/UpdateContactDetails/UpdateContactDetailsResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.contact.details.update.id", - "version": "1.0", - "responsetime": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "$IGNORE$" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/UpdateUIN/UpdateUIN.yml b/automationtests/src/main/resources/resident/UpdateUIN/UpdateUIN.yml index a0ae8e462f1..1810abf3c6b 100644 --- a/automationtests/src/main/resources/resident/UpdateUIN/UpdateUIN.yml +++ b/automationtests/src/main/resources/resident/UpdateUIN/UpdateUIN.yml @@ -2,6 +2,7 @@ UpdateUIN: Resident_UpdateUIN_Valid_All_Smoke_Pos_sid: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/UpdateUIN/UpdateUinResult @@ -24,8 +25,6 @@ UpdateUIN: } }' output: '{ - "registrationId": "$IGNORE$", - "message": "Notification has been sent to the provided contact detail(s)", "sendOtpResp":{ "maskedMobile": "XXXXXX3210", "sendOtpResTemplate":"resident/SendOTP/createSendOTPResult", @@ -36,6 +35,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_Otp_Empty_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -74,6 +74,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_Otp_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -112,6 +113,7 @@ UpdateUIN: Resident_UpdateUIN_Missing_Otp_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -150,6 +152,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_TrnxID_Empty_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -188,6 +191,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_TrnxID_Mismatch_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -226,6 +230,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_IndividualId_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -264,6 +269,7 @@ UpdateUIN: Resident_UpdateUIN_Missing_IndividualId_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -302,6 +308,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_Id_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -340,6 +347,7 @@ UpdateUIN: Resident_UpdateUIN_Missing_Id_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -378,6 +386,7 @@ UpdateUIN: Resident_UpdateUIN_Missing_Timestamp_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -416,6 +425,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_Timestamp_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -454,6 +464,7 @@ UpdateUIN: Resident_UpdateUIN_Invalid_Version_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error @@ -492,6 +503,7 @@ UpdateUIN: Resident_UpdateUIN_Missing_Version_Neg: endPoint: /resident/v1/req/update-uin role: resident + checkErrorsOnlyInResponse: true restMethod: post inputTemplate: resident/UpdateUIN/updateUIN outputTemplate: resident/error diff --git a/automationtests/src/main/resources/resident/UpdateUIN/UpdateUinResult.hbs b/automationtests/src/main/resources/resident/UpdateUIN/UpdateUinResult.hbs index 4ec92e7160c..9e26dfeeb6e 100644 --- a/automationtests/src/main/resources/resident/UpdateUIN/UpdateUinResult.hbs +++ b/automationtests/src/main/resources/resident/UpdateUIN/UpdateUinResult.hbs @@ -1,11 +1 @@ -{ - "id": "mosip.resident.updateuin", - "version": "v1", - "responsetime": "$IGNORE$", - "metadata": null, - "response": { - "registrationId": "{{registrationId}}", - "message": "{{message}}" - }, - "errors": null -} \ No newline at end of file +{} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNew.yml b/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNew.yml index b720e3309de..52b9b52bc0d 100644 --- a/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNew.yml +++ b/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNew.yml @@ -12,8 +12,7 @@ UpdateUINNew: "email": "$ID:AddIdentity_Esignet_Integ_smoke_Pos_EMAIL$" }' output: '{ - "status": "Success", - "message": "Notification has been sent to the provided contact detail(s)" + "status": "Success" }' Resident_UpdateUINNew_vid_all_Valid_Smoke: @@ -29,8 +28,7 @@ UpdateUINNew: "email": "$ID:AddIdentity_Esignet_Integ_Vid_smoke_Pos_EMAIL$" }' output: '{ - "status": "Success", - "message": "Notification has been sent to the provided contact detail(s)" + "status": "Success" }' Resident_UpdateUINNew_Invalid_User_Neg: @@ -88,8 +86,7 @@ UpdateUINNew: "email": "$ID:AddIdentity_Esignet_Integ_smoke_Pos_EMAIL$" }' output: '{ - "status": "Success", - "message": "Notification has been sent to the provided contact detail(s)" + "status": "Success" }' Resident_UpdateUINNew_Empty_TransactionID_Neg: @@ -273,8 +270,7 @@ UpdateUINNew: "email": "$ID:AddIdentity_Esignet_Integ_Vid_smoke_Pos_EMAIL$" }' output: '{ - "status": "Success", - "message": "Notification has been sent to the provided contact detail(s)" + "status": "Success" }' Resident_UpdateUINNew_vid_Empty_TransactionID_Neg: diff --git a/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNewResult.hbs b/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNewResult.hbs index a0e63664e70..3d65817bc68 100644 --- a/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNewResult.hbs +++ b/automationtests/src/main/resources/resident/UpdateUINNew/UpdateUINNewResult.hbs @@ -1,11 +1,5 @@ { - "id": "mosip.resident.updateuin", - "version": "1.0", - "responsetime": "$IGNORE$", - "metadata": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTP.yml b/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTP.yml index 426bd064b11..b2121a698d2 100644 --- a/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTP.yml +++ b/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTP.yml @@ -56,7 +56,7 @@ ValidateExpiredOTP: output: '{ "errors": [ { - "errorCode": "RES-SER-406", + "errorCode": "RES-SER-422", "message": "$IGNORE$" } ] @@ -77,7 +77,7 @@ ValidateExpiredOTP: output: '{ "errors": [ { - "errorCode": "RES-SER-406", + "errorCode": "RES-SER-422", "message": "$IGNORE$" } ] diff --git a/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTPResult.hbs b/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTPResult.hbs deleted file mode 100644 index b61e5a2dbd0..00000000000 --- a/automationtests/src/main/resources/resident/ValidateExpiredOTP/ValidateExpiredOTPResult.hbs +++ /dev/null @@ -1,10 +0,0 @@ -{ - "id": "mosip.identity.auth.internal", - "version": "v1", - "responsetime": "$IGNORE$", - "response": { - "authStatus": {{authStatus}}, - "transactionId": "$IGNORE$", - "status": "{{status}}" - } -} \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ValidateOTP/ValidateOTPResult.hbs b/automationtests/src/main/resources/resident/ValidateOTP/ValidateOTPResult.hbs index 22e196eabfb..0fb038bb611 100644 --- a/automationtests/src/main/resources/resident/ValidateOTP/ValidateOTPResult.hbs +++ b/automationtests/src/main/resources/resident/ValidateOTP/ValidateOTPResult.hbs @@ -1,9 +1,5 @@ { - "id": "mosip.identity.auth.internal", - "version": "v1", - "responsetime": "$IGNORE$", "response": { - "authStatus": {{authStatus}}, - "transactionID": "$IGNORE$" + "authStatus": {{authStatus}} } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtp.yml b/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtp.yml index bfee10c6001..fa27228b734 100644 --- a/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtp.yml +++ b/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtp.yml @@ -1219,8 +1219,7 @@ ValidateWithUserIdOtp: "message": "success", "sendOtpResTemplate":"resident/SendOtpToUserId/SendOtpToUserIdResult" }, - "status": "success", - "message": "VALIDATION_SUCCESSFUL" + "status": "success" }' Resident_ValidateWithUserIdOtp_vid_all_Valid_Smoke: @@ -1248,6 +1247,5 @@ ValidateWithUserIdOtp: "message": "success", "sendOtpResTemplate":"resident/SendOtpToUserId/SendOtpToUserIdResult" }, - "status": "success", - "message": "VALIDATION_SUCCESSFUL" + "status": "success" }' \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtpResult.hbs b/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtpResult.hbs index 38c1ff7a185..ca45b742b9e 100644 --- a/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtpResult.hbs +++ b/automationtests/src/main/resources/resident/ValidateWithUserIdOtp/ValidateWithUserIdOtpResult.hbs @@ -1,10 +1,5 @@ { - "id": "mosip.resident.contact.details.update.id", - "version": "1.0", - "responsetime": "$IGNORE$", "response": { - "status": "{{status}}", - "message": "{{message}}" - }, - "errors": "$IGNORE$" + "status": "{{status}}" + } } \ No newline at end of file diff --git a/automationtests/src/main/resources/resident/error.hbs b/automationtests/src/main/resources/resident/error.hbs index 76ee450326e..f4bcb6bee67 100644 --- a/automationtests/src/main/resources/resident/error.hbs +++ b/automationtests/src/main/resources/resident/error.hbs @@ -1,16 +1,8 @@ { - "id": "$IGNORE$", - "version": "$IGNORE$", - "responsetime": "$IGNORE$", - "timestamp": "$IGNORE$", - "status": "$IGNORE$", - "metadata": "$IGNORE$", - "response": "$IGNORE$", "errors": [ {{#each errors}} { - "errorCode": "{{errorCode}}", - "message": "$IGNORE$" + "errorCode": "{{errorCode}}" } {{#unless @last}},{{/unless}} {{/each}} diff --git a/automationtests/testNgXmlFiles/residentApi.xml b/automationtests/testNgXmlFiles/residentApi.xml index 1f38b149127..239d40a35c2 100644 --- a/automationtests/testNgXmlFiles/residentApi.xml +++ b/automationtests/testNgXmlFiles/residentApi.xml @@ -113,6 +113,13 @@ + + + + + + - - - - - -