From 40a89b48466f8c0562fdbcf19ba439553794be9b Mon Sep 17 00:00:00 2001 From: Loganathan Sekar <42532387+LoganathanSekar7627@users.noreply.github.com> Date: Tue, 24 Jan 2023 17:14:51 +0530 Subject: [PATCH] Fix notification api issues (#707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Move latest code from develop branch to 1.2.0.1-B2 (#680) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixe… * Merge dev to dev2 1201b2 (#696) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per re… * Revert merge dev to dev2 1201b2 (#697) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as… * Merge dev to dev2 1201b2 3 (#698) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per … * Merge dev to dev2 1201b2 4 (#699) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per … * Merge dev to dev2 1201b2 4 (#700) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain * return masked attributes (#645) Co-authored-by: Ritik Jain * Latest develop fixes from 1201b2 merge (#656) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Merge develop 2 1201b2 4 (#651) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * import fixes. fixes to get name, image from userinfo Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 6 (#654) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per review comment. * Mosip 24879 add event id in the response of the below stories (#606) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant Co-authored-by: Ritik Jain * MOSIP-24939 Improved code coverage of validator class. (#607) * MOSIP-24939 Improved code coverage of Document validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * MOSIP-24939 Improved code coverage of Request validator. * Fixed service history issue. (#609) * [MOSIP-24630] Fixed Security Vulnerability in code (#608) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * email and phone added in profile info (#610) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed Co-authored-by: Neha Farheen * identity/info API method changed to get photo (#611) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed Co-authored-by: Neha Farheen * added masked VID (#612) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID Co-authored-by: Neha Farheen * Mosip 24879 add event id in the response of the below stories (#613) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#614) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method Co-authored-by: Ritik Jain * MOSIP-25310 MOSIP-24730 MOSIP-25312 MOSIP-24731 Added grievance api (#615) * Fixed service history issue. * MOSIP-25310 Added resident_grievance_ticket.sql * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added hasAttachment column to grievance table. * MOSIP-25310 Added service class of GrievanceController * MOSIP-25310 Added entity and repository class of grievance table. * MOSIP-25310 Added status in resident entity. * MOSIP-25310 Fixed test case failure. * MOSIP-25310 Get default name from profile. * MOSIP-25310 Added card format to vid card. * MOSIP-25310 made message max length configurable. * MOSIP-25307 Created API to get DocumentType from masterdata (#617) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API Co-authored-by: Neha Farheen * MOSIP-24784 Fixed download card api. (#619) * Fixed service history issue. * MOSIP-24784 Fixed download card api. * Mosip 24879 add event id in the response of the below stories (#618) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA Co-authored-by: Ritik Jain * Mosip 24879 add event id in the response of the below stories (#620) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid Co-authored-by: Ritik Jain * Mosip 25307 api create the following proxy ap is from masterdata (#621) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done Co-authored-by: Neha Farheen * MOSIP-22046 change input LocalDateTime to LocalDate. (#622) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. (#623) * Fixed service history issue. * MOSIP-22046 change input LocalDateTime to LocalDate. * MOSIP-22046 Refactor code. * MOSIP-22046 Fixed test case failure. * MOSIP-22046 Covered edge case of fromDate. * MOSIP-22046 corrected query param for service history api. * Mosip 24879 add event id in the response of the below stories (#625) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment Co-authored-by: Ritik Jain * MOSIP-21674 Added custom response for download card api. (#624) * Fixed service history issue. * MOSIP-21674 Added getRidStatus method in utility. * MOSIP-21674 Added junit for GrievanceServiceImpl. * Revert "MOSIP-21674 Added junit for GrievanceServiceImpl." This reverts commit a23e63350c411204694f9fd0d7b3322ad953793d. * MOSIP-21674 Added junit for GrievanceServiceImpl. * MOSIP-21674 Fixed getRidStatus Utilities. * MOSIP-21674 Added custom response. * MOSIP-21674 Fixed service history. * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for RequestValidatorTest * MOSIP-21674 Added junit for GrievanceServiceImpl * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Added junit for NotificationServiceTest * MOSIP-21674 Removed un-necessary enums. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * MOSIP-21674 Refactor code. * Mosip 24879 add event id in the response of the below stories (#627) * added error for invalid user * added status in 2 apis * changed response of auth-lock-unlock api * updated response of validate otp * added eventid and status in response * added eventId in response header for download eventid api * fixed service history pdf file name * added eventid in response of download card api * convert eventId to constant * added eventId for error scenarios * fixed reliability bug * fixed response of share credential API * fixed test failure * updated response for auth lock unlock API * covered code for one method * updated response of request vid card * updated response of validate otp API * created contant for NA * updated response of generate and revoke vid * updated response of update data API and made entry to db * set phone email id in status comment * add phone/email in status comment * updated the response of update my uin API * added else statement * added else exception Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in id and version (#626) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * MOSIP-24939 Improved code coverage. (#628) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. (#629) * Fixed service history issue. * MOSIP-24939 Improved code coverage. * MOSIP-24939 Improved code coverage. * added get status of individual id api. * added get status of individual id api. * added get status of individual id api. * Mosip 21147 Upload document changes done (#630) * MOSIP-25307 Created API to get DocumentType from masterdata * JUNIT added for document API * MOSIP-25307 done * Changes done * Upload document changes done * Changes in validaton * JUNIT fixed * Catch clause removed Co-authored-by: Neha Farheen * changes done (#631) Co-authored-by: Ritik Jain * refactored-for-auth-adapter-changes (#632) Co-authored-by: Loganathan Sekar * MOSIP-25274 changes done (#616) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done Co-authored-by: Neha Farheen * MOSIP-24939 Fixed sonar bug. (#633) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage. (#634) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * Changes in identityserviceImpl to check UIN (#635) * email and phone added in profile info * validation added when claim is not available * Changes done in identityservice * log added * sysout removed * method changed * Added masked VID * MOSIP-25274 done * changes in identityServiceimpl to check UIN * Junit fixed Co-authored-by: Neha Farheen * MOSIP-24939 Improved code coverage. (#636) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. (#637) * Fixed service history issue. * MOSIP-24939 Fixed sonar bug. * MOSIP-24939 Fixed validation for download card api. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Improved code coverage of GrievanceController. * MOSIP-24939 Improved code coverage of DownloadCardService. * MOSIP-24939 Removed un-used imports. * MOSIP-24939 Improved code coverage of ResidentServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of IdentityServiceImpl. * MOSIP-24939 Improved code coverage of WebSubUpdateAuthTypeServiceTest. * MOSIP-24939 Improved code coverage of IdentityServiceTest. * MOSIP-24939 Removed un-necessary mockito stubbing. * MOSIP-24939 Improved code coverage of IdentityService * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed aid otp issue. * MOSIP-24939 Fixed test case failure. * updated id version for document APIs (#638) * updated id version for document APIs * fixed version and response msg * fixed version for update uin API * removed extra variable * added junit Co-authored-by: Ritik Jain * Handle client exception from auth codeflow proxy apis (#640) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis Co-authored-by: Loganathan Sekar * MOSIP-25438 Fixed placeholder issue. (#641) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * Refactored for auth adapter changes (#642) * refactored-for-auth-adapter-changes * Fix to return kernel auth error code for auth failures * corrected merge issues * Handle client exception from auth codeflow proxy apis * Added flab based jwt verification of userinfo Co-authored-by: Loganathan Sekar * MOSIP-25438 Performed null check for purpose. (#643) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. (#644) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * removed idtype (#646) Co-authored-by: Ritik Jain * [MOSIP-24670] Made corrections in API body, response code (#639) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * [MOSIP-24630] Fixed Security Vulnerability in code * added error for isValidUrl method * renamed vaildateURL method * updated PR * updated PR * [MOSIP-24670] Made corrections in id and version * resolved conflicts * updated PR * updated PR * [MOSIP-24670] Made corrections n API body, response code * updated PR * updated PR * updated dateTime * updated PR * MOSIP-25438 increased ref_id column value in otp_transaction.sql. (#647) * Fixed service history issue. * MOSIP-25438 Added default attribute for identity attributes. * MOSIP-25438 Removed send otp from service history. * MOSIP-25438 Added auth type to db in auth lock api. * MOSIP-25438 Added authTypes placeholder value in description. * MOSIP-25438 Added channel placeholder value in description. * MOSIP-25438 Fixed junit failure. * MOSIP-25438 Removed un used constant. * MOSIP-25438 Performed null check for purpose. * MOSIP-25438 increased purpose column value. * MOSIP-25438 increased ref_id column value in otp_transaction.sql. * Merge 1201b2 to develop (#650) * MOSIP-25514 Fixed null pointer exception in event enum. (#648) * MOSIP-25514 Fixed build failure. (#649) * MOSIP-25514 Fixed null pointer exception in event enum. * MOSIP-25514 Fixed build failure. * MOSIP-25514 imported correct package in main class. * Import organization Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Loganathan Sekar * MOSIP-24372 Fixed update my data api jpa issue. (#653) * Fixed service history issue. * MOSIP-24372 Fixed update my data api jpa issue. * Mosip 25364 resident api we are able to request card of a vid of a different user that is not logged in (#652) * checking logged in user with given vid * fixed juit test cases * removed else throw exception Co-authored-by: Ritik Jain Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar * Merge develop to 1201b2 7 (#655) * [MOSIP-22639] Resolved security hotspots in code (#605) * [MOSIP-24670] Updated API correction id and version * [MOSIP-24670] Updated API body correction * [MOSIP-22640] Fixed Sonar Bugs * updated PR * updated PR * updated review code * [MOSIP-22640] Fixed sonar bugs * updated PR * updated PR * [MOSIP-22639] Resolved security hotspots in code * MOSIP-24939 Improved code coverage. (#604) * MOSIP-24939 Improved code coverage of utility. * MOSIP-24939 Changed hard coded value from properties. * MOSIP-24939 Improved code coverage of RequestValidator * MOSIP-24939 Fixed test case failure. * MOSIP-24939 Changed code as per … * Merge fixes * Minor import fix * Merge fixes * Fix to notification endpoints Co-authored-by: kameshsr <47484458+kameshsr@users.noreply.github.com> Co-authored-by: Aiham Hasan <89243555+aihamh@users.noreply.github.com> Co-authored-by: RitikJain4108 <99730411+RitikJain4108@users.noreply.github.com> Co-authored-by: Ritik Jain Co-authored-by: Neha2365 <110969715+Neha2365@users.noreply.github.com> Co-authored-by: Neha Farheen Co-authored-by: Loganathan Sekar Co-authored-by: ramadeviidupulapati <95401231+ramadeviidupulapati@users.noreply.github.com> Signed-off-by: kameshsr --- .../ResidentTransactionRepository.java | 12 ++++++------ .../service/impl/ResidentServiceImpl.java | 19 ++++++++++++------- .../ResidentServiceDownloadCardTest.java | 6 +++--- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/resident/resident-service/src/main/java/io/mosip/resident/repository/ResidentTransactionRepository.java b/resident/resident-service/src/main/java/io/mosip/resident/repository/ResidentTransactionRepository.java index e7b1f639d5d..da8767efedb 100644 --- a/resident/resident-service/src/main/java/io/mosip/resident/repository/ResidentTransactionRepository.java +++ b/resident/resident-service/src/main/java/io/mosip/resident/repository/ResidentTransactionRepository.java @@ -80,15 +80,15 @@ List findByTokenWithoutServiceTypeAndDate(@Param("tok Long countByTokenId(String tokenId); - @Query(value = "SELECT COUNT(*) from ResidentTransactionEntity where tokenId=:tokenId AND read_status='false'") - Long findByIdandcount(@Param("tokenId") String tokenId); + @Query(value = "SELECT COUNT(*) from ResidentTransactionEntity where tokenId=:tokenId AND read_status='false' and requestTypeCode in (:requestTypes)") + Long countByIdAndUnreadStatusForRequestTypes(@Param("tokenId") String tokenId, @Param("requestTypes") List requestTypes); - @Query(value = "SELECT COUNT(*) from ResidentTransactionEntity where tokenId=:tokenId AND crDtimes>= :lastLoginTime AND read_status='false'") - Long findByIdandlastlogincount(@Param("tokenId") String tokenId,@Param("lastLoginTime") LocalDateTime lastLoginTime); + @Query(value = "SELECT COUNT(*) from ResidentTransactionEntity where tokenId=:tokenId AND crDtimes>= :lastLoginTime AND read_status='false' AND requestTypeCode in (:requestTypes)") + Long countByIdAndUnreadStatusForRequestTypesAfterNotificationClick(@Param("tokenId") String tokenId,@Param("lastLoginTime") LocalDateTime lastLoginTime, @Param("requestTypes") List requestTypes); @Query(value = "Select new ResidentTransactionEntity(eventId, requestSummary, statusCode,requestDtimes,requestTypeCode) " - + "from ResidentTransactionEntity where tokenId=:tokenId AND read_status='false'") - List findByIdandStatus(@Param("tokenId") String tokenId); + + "from ResidentTransactionEntity where tokenId=:tokenId AND read_status='false' and requestTypeCode in (:requestTypes)") + List findByIdAndUnreadStatusForRequestTypes(@Param("tokenId") String tokenId, @Param("requestTypes") List requestTypes); @Query(value = "SELECT COUNT(*) from ResidentTransactionEntity where ref_id=:hashrefid AND auth_type_code !='OTP_REQUESTED'") /** diff --git a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentServiceImpl.java b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentServiceImpl.java index 520751cd901..e2f28cfa9cf 100644 --- a/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentServiceImpl.java +++ b/resident/resident-service/src/main/java/io/mosip/resident/service/impl/ResidentServiceImpl.java @@ -255,6 +255,9 @@ public class ResidentServiceImpl implements ResidentService { @Value("${digital.card.pdf.encryption.enabled:false}") private boolean isDigitalCardPdfEncryptionEnabled; + + @Value("#{'${resident.async.request.types}'.split(',')}") + private List asyncRequestTypes; @Autowired private AuditUtil audit; @@ -2061,16 +2064,18 @@ public ResponseWrapper getEventStatus(String eventId, St } @Override - public ResponseWrapper getnotificationCount(String Id) { + public ResponseWrapper getnotificationCount(String id) { ResponseWrapper responseWrapper = new ResponseWrapper<>(); LocalDateTime time = null; Long residentTransactionEntity; - Optional residentUserEntity = residentUserRepository.findById(Id); + Optional residentUserEntity = residentUserRepository.findById(id); if (residentUserEntity.isPresent()) { - time = residentUserEntity.get().getLastloginDtime(); - residentTransactionEntity = residentTransactionRepository.findByIdandlastlogincount(Id, time); + time = residentUserEntity.get().getLastbellnotifDtimes(); + residentTransactionEntity = residentTransactionRepository + .countByIdAndUnreadStatusForRequestTypesAfterNotificationClick(id, time, asyncRequestTypes); } else { - residentTransactionEntity = residentTransactionRepository.findByIdandcount(Id); + residentTransactionEntity = residentTransactionRepository.countByIdAndUnreadStatusForRequestTypes(id, + asyncRequestTypes); } UnreadNotificationDto notification = new UnreadNotificationDto(); notification.setUnreadCount(residentTransactionEntity); @@ -2108,8 +2113,8 @@ public int updatebellClickdttimes(String Id) { } @Override - public ResponseWrapper> getUnreadnotifylist(String Id) { - List result = residentTransactionRepository.findByIdandStatus(Id); + public ResponseWrapper> getUnreadnotifylist(String id) { + List result = residentTransactionRepository.findByIdAndUnreadStatusForRequestTypes(id, asyncRequestTypes); List unreadServiceNotificationDto = new ArrayList<>(); diff --git a/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentServiceDownloadCardTest.java b/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentServiceDownloadCardTest.java index b1f86e5a476..cdc31510cd2 100644 --- a/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentServiceDownloadCardTest.java +++ b/resident/resident-service/src/test/java/io/mosip/resident/test/service/ResidentServiceDownloadCardTest.java @@ -244,7 +244,7 @@ public void testGetUnreadNotifyList(){ residentTransactionEntity1.setStatusCode("200"); residentTransactionEntity1.setRequestDtimes(LocalDateTime.now()); residentTransactionEntity1.setRequestTypeCode("SERVICE_HISTORY"); - Mockito.when(residentTransactionRepository.findByIdandStatus(Mockito.anyString())).thenReturn(List.of(residentTransactionEntity1)); + Mockito.when(residentTransactionRepository.findByIdAndUnreadStatusForRequestTypes(Mockito.anyString(), Mockito.any())).thenReturn(List.of(residentTransactionEntity1)); assertEquals("123", residentServiceImpl.getUnreadnotifylist("123").getResponse().get(0).getEventId()); } @@ -298,7 +298,7 @@ public void testGetnotificationCount(){ UnreadNotificationDto unreadServiceNotificationDto = new UnreadNotificationDto(); unreadServiceNotificationDto.setUnreadCount(4L); responseWrapper.setResponse(unreadServiceNotificationDto); - Mockito.when(residentTransactionRepository.findByIdandcount(Mockito.anyString())).thenReturn(4L); + Mockito.when(residentTransactionRepository.countByIdAndUnreadStatusForRequestTypes(Mockito.anyString(), Mockito.anyList())).thenReturn(4L); assertEquals(Optional. of(4L), Optional.ofNullable(residentServiceImpl. getnotificationCount("123").getResponse().getUnreadCount())); } @@ -316,7 +316,7 @@ public void testGetnotificationCountLastLoginTime(){ residentUserEntity.setLastbellnotifDtimes(LocalDateTime.of(2015, 12, 3, 4, 4, 4)); Optional response = Optional.of(residentUserEntity); Mockito.when(residentUserRepository.findById(Mockito.anyString())).thenReturn(response); - Mockito.when(residentTransactionRepository.findByIdandcount(Mockito.anyString())).thenReturn(4L); + Mockito.when(residentTransactionRepository.countByIdAndUnreadStatusForRequestTypes(Mockito.anyString(), Mockito.anyList())).thenReturn(4L); assertEquals(Optional. of(0L), Optional.ofNullable(residentServiceImpl. getnotificationCount("123").getResponse().getUnreadCount())); }