Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Mosip 24879 add event id in the response of the below stories #620

Conversation

RitikJain4108
Copy link
Contributor

No description provided.

Ritik Jain added 30 commits November 28, 2022 13:50
…into MOSIP-24879-add-event-id-in-the-response-of-the-below-stories
…into MOSIP-24879-add-event-id-in-the-response-of-the-below-stories
…into MOSIP-24879-add-event-id-in-the-response-of-the-below-stories
…into MOSIP-24879-add-event-id-in-the-response-of-the-below-stories
…into MOSIP-24879-add-event-id-in-the-response-of-the-below-stories
loganathan-sekaran added a commit that referenced this pull request Feb 6, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 r…
loganathan-sekaran added a commit to loganathan-sekaran/resident-services that referenced this pull request Feb 6, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 r…
loganathan-sekaran added a commit to loganathan-sekaran/resident-services that referenced this pull request Feb 6, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 r…
loganathan-sekaran added a commit that referenced this pull request Feb 6, 2023
* Merge develop to 1201b2 5 (#731)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 fai…
loganathan-sekaran added a commit that referenced this pull request Feb 15, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 c…
loganathan-sekaran added a commit that referenced this pull request Mar 8, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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…
loganathan-sekaran added a commit that referenced this pull request Mar 17, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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…
loganathan-sekaran added a commit that referenced this pull request Mar 29, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 …
loganathan-sekaran added a commit that referenced this pull request Apr 5, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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…
ckm007 added a commit that referenced this pull request Apr 5, 2023
* Mosip 21674 api to get aid status 1 (#370)

* Fix junit test

* Added APIs to send otp and get aid status

* Test fix

* Added scope based auth for apis (#371)

* Added scope based auth for apis

* Test fix

* Test fix

* Test fix

* Test fix

* Ignoring failing tests temporarily

* [MOSIP-21170] Added entry to resident txn table and updated test cases (#373)

* [MOSIP-21170] updated test cases

* [MOSIP-21170] Updated test cases

* [MOSIP-21170] updated test cases

* [MOSIP-21170] updated test cases

* Mosip:20406 Added junit for callback controller. (#369)

* fixed one sonar reliability bug (#374)

* fixed one sonar reliability bug

* added some test cases for proxy service classes

Co-authored-by: Ritik Jain <[email protected]>

* Fix to conditionally set face in identity attributes (#375)

* Fix fetch vid issue 2 (#376)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Code coverage and fixes (#378)

* fixed one sonar reliability bug

* added some test cases for proxy service classes

* added junit test cases

* added junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* Fix validate token response issue (#379)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Fixed validate token response issue

* Fix validate token response issue 2 (#380)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Fixed validate token response issue

* Fix null check

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request. (#381)

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request.

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request.

* MOSIP-22271 Added hash of individualId+partner in database.

* MOSIP-22271 Changed name of auth-type-lock to auth-type-status.

* MOSIP-22352 Fixed Invalid channel verification status implementation. (#377)

* MOSIP-22271 Fixed test case failure. (#383)

* Handling 401 on get userinfo (#384)

* MOSIP-22271 Added specific time period to get auth history. (#382)

* MOSIP-22271 Added specific time period to get auth history.

* MOSIP-22271 Added ResidentTransactionType enum.

* MOSIP-22271 Removed transaction id from auth type status.

* MOSIP-22271 Fixed vid creation exception.

* MOSIP-22271 Added correct type code in resident transaction table.

* MOSIP-22271 Added LocalDateTime formatter in fromDateTime and toDateTime.

* MOSIP-22271 Added junit for pagefetch negative value.

* MOSIP-22271 Added junit for invalid idType.

* MOSIP-22271 Added junit for apiresource access exception.

* MOSIP-22382 - Add ida token validation to revoke vid api (#386)

* Added validation to check vid to revoke belongs to the individual id in the req/session

* Test fix

* Add ida token validation to revoke vid api (#387)

* Added validation to check vid to revoke belongs to the individual id in the req/session

* Test fix

* Added missing dto file

* Added author

* MOSIP-20457 View history of service request. (#388)

* MOSIP-20457 Added columns in resident_transaction.sql.

* MOSIP-20457 Added support for service history.

* MOSIP-20457 Added findByToken in repository class.

* MOSIP-20457 Implemented getServiceHistory method.

* MOSIP-20457 validated Resident Service type.

* MOSIP-20457 Corrected Documentation.

* MOSIP-20457 Added author name for new class.

* MOSIP-20457 Added Junit for getServiceHistory class.

* MOSIP-20419 Added /get/service/request/update api.

* MOSIP-20419 Added /get/service/request/update api.

* [MOSIP-22140] Updated input vid status to be case insensitive (#392)

* [MOSIP-22430] updated upload doc to decode the request (#393)

* [MOSIP-22430] updated upload doc to decode the request

* [MOSIP-22430] updated test cases

* MOSIP-20457 Fixed sonar bugs. (#389)

* MOSIP-20457 Fixed sonar bugs.

* MOSIP-20457 Fixed sonar bug in EncryptorUtil.

* MOSIP-20457 Fixed sonar bug in EncryptorUtil.

* MOSIP-20457 Added PacketEncryptionFailureException.

* MOSIP-20457 Corrected Encryt exception in utility.

* Fixed sonar bugs.

* Update IdSchemaUtil.java

* MOSIP-20457 Added Junit for BaseWebSubInitializer. (#390)

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* Added test cases

* Added test cases

* Modified the code for Sonar Code Coverage#22443 (#396)

Co-authored-by: M1063027 <[email protected]>

* added scope in get partner api and junits for identity controller (#400)

Co-authored-by: Ritik Jain <[email protected]>

* added junit for audit controller and fixed minor bug (#401)

* added scope in get partner api and junits for identity controller

* added junit for audit-log api and fixed minor bug

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22380 Added request id to Db and improved Code coverage. (#398)

* MOSIP-22380 Added request id to Db

* MOSIP-22380  Added testGetServiceHistorySuccess

* MOSIP-22380  Added testGetServiceRequestUpdateSuccess

* MOSIP-22380  Corrected variable name to camel case.

* MOSIP-22380  Added ResidentServiceGetServiceRequestUpdateTest

* MOSIP-22380  Added ResidentServiceGetServiceRequestUpdateTest

* MOSIP-22380  Improved Junit of AuthTransactionCallBackServiceImpl.java

* MOSIP-20419 - Added junit for WebSubUpdateAuthTypeServiceTest.

* MOSIP-20419 - Added junit for WebSubUpdateAuthTypeServiceTest.

* MOSIP-20419 - Added junit for Get Service History.

* MOSIP-20419 - Added junit for testGetServiceRequestPrintCheck.

* MOSIP-20419 - Improved code coverage for auth lock service.

* MOSIP-20419 - Improved code coverage for Get Service History.

* MOSIP-20419 - Improved code coverage for Get Service History.

* MOSIP-20419 - Improved code coverage for PartnerServiceImpl.java.

* Fixed 1 sonar bug. (#402)

* Code chanegs for refactoring scope validator (#403)

* MOSIP-20419 Added /check-status/aid api. (#397)

* MOSIP:20419 Added /check-status/aid api.

* MOSIP-20419 - Corrected name.

* MOSIP-20419 - Corrected name.

Co-authored-by: Loganathan Sekar <[email protected]>

* Mosip 21392 api create a mock api implementation for payment provider to check if payment is made to throw http error if not (#406)

* resolved compilation error

* created mock api controller

Co-authored-by: Ritik Jain <[email protected]>

* [MOSIP-22267] api to invoke credential for customized format (#399)

* [MOSIP-22267] api to invoke credential for customized format

* [MOSIP-22267] updated request structure to cred service

* [MOSIP-22267] added non null check

* [MOSIP-22267] added non null check

* [MOSIP-22267] updated controller and test case

* added api for ordering a physical card with junit test cases (#407)

Co-authored-by: Ritik Jain <[email protected]>

* Audit log fixes (#408)

* Code chanegs for refactoring scope validator

* Corrections to audit logs

* minor change in api path (#409)

Co-authored-by: Ritik Jain <[email protected]>

* Audit log fixes (#410)

* Code chanegs for refactoring scope validator

* Corrections to audit logs

* Removed /authTransaction api and Auth transaction table. (#405)

* Removed /authTransaction api

* Removed authTransaction table.

Co-authored-by: Loganathan Sekar <[email protected]>

* MOSIP-22275 Added API to download UIN card. (#404)

* MOSIP-22275 Added MockApiController

* MOSIP:22275- Added MockController

* MOSIP:22275- Removed un-necessary api name.

* MOSIP:22275- Removed un-necessary changes in ResidentCredentialServiceImpl

* MOSIP:22275- Removed un-necessary changes in ResidentCredentialServiceImpl

* MOSIP:22275- added /download card api.

* MOSIP:22275- Added download card url for available status.

* MOSIP:22275- Fixed test case failure.

* Text fix

Co-authored-by: Loganathan Sekar <[email protected]>

* corrected some event ids (#412)

Co-authored-by: Ritik Jain <[email protected]>

* Added mock in properties. (#411)

* Added mock in properties.

* changed AUTH_TYPE_LOCK_FAILURE error code to IDVID_NOT_MATCH_TO_SESSION

* MOSIP-22443 Improved code coverage. (#413)

* MOSIP-22443 Improved code coverage of RequestValidator

* MOSIP-22443 Added validateIndividualId

* MOSIP-22443 Added testValidateServiceHistoryRequestDateCheck

* Develop (#414)

* Modified the code for Sonar Code Coverage#22443

* Modified the code for SONAR code coverage for the ticket#22443

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22443 Added mock in sonar exclusion. (#415)

* corrected endpoints in api (#420)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22620 Added API /document/{document-id} (#416)

* MOSIP-22620 Added api /document/{document-id}

* MOSIP-22620 Added unit test case for get document by doc id.

* Modified the code for fixing he sonar bugs for tkt#22640 -sonar bugs (#421)

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22621 Added api to delete document by document id. (#422)

* Modified the code for fixing the sonar bugs for tkt#22640 sonar bugs (#424)

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22443 Improved code coverage. (#425)

* MOSIP-22443 Added testUpdateUinDemographics

* MOSIP-22443 Added test class for auth lock status.

* MOSIP-22443 Added test class for download card controller.

* MOSIP-22443 Added testTryRegisterTopicEvent.

* MOSIP-22443 Added testInitSubsription.

* MOSIP-22443 Added testTryRegisterTopicEvent.

* MOSIP-22443 Added testAuthTransactionSubcription.

* MOSIP-22443 Improved Code Coverage. (#427)

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2EmptyAuthType.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2EmptyAuthTypeV2.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestSuccess

* MOSIP-22443 Added testValidateEuinRequestSuccess

* MOSIP-22443 Added testEmailValidator

* MOSIP-22443 Added testValidateAuthHistoryRequestSuccess

* MOSIP-22443 Improved code coverage of request validator.

* MOSIP-22443 Improved code coverage of request validator.

* Mosip 22642 corrections required in api end points or response request body (#429)

* corrected endpoints in api

* exception error code & message fixed...

* fixed one test case

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22443 Improved code coverage . (#428)

* MOSIP-22443 Improved code coverage of ResidentConfigServiceImpl.

* MOSIP-22443 Corrected control type value.

* MOSIP-22443 Improved code coverage of IdentityService.

* Fixed Sonar Bug. (#430)

* MOSIP-22889 Added columns in Resident_transaction. (#432)

* MOSIP-22889 Added columns in Resident_transaction.

* Update resident_transaction.sql

* Update ResidentTransactionEntity.java

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update ResidentTransactionEntity.java

* Updated the attributes

* Update resident_transaction.sql

* Update resident_transaction.sql

* Updated entity class

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update resident_transaction.sql

Co-authored-by: Loganathan Sekar <[email protected]>

* Removed individual id from auth lock api (#433)

* fixed vulnearable bug (#431)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22272 Refactor code. (#435)

* MOSIP-23018-fixed unlock for seconds validation (#437)

* MOSIP-23018-fixed unlock for seconds validation

* Test fix

* Test fix

* created api to get the templates from masterdata (#436)

Co-authored-by: Ritik Jain <[email protected]>

* Fix txn save issue in auth lock api 1 (#439)

* Disable insert into table

* Disable insert into table

* Temp fix for db store issue (#440)

* MOSIP-22272 Added event_id as primary key.  (#441)

* Added event_id as primary key.

* Added event_id as primary key.

* fix to authTypes validation (#442)

* Update AuthTransactionCallbackServiceTest.java (#443)

* error code fixes (#446)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22878  Updated existing getServiceHistory API. (#444)

* MOSIP-22878 Added Sub-type in get service history api.

* Mosip-22878 queried pinnedstatus to top in getServiceHistory Api.

* Mosip-22878 Updated getServiceHistory API.

* Mosip-22878 Fixed test case failure.

* Mosip-22878 Added logic of find by token without service type.

* Mosip-22878 Added requestTypeCode in /service-history API.

* Mosip-22878 Added Request type .

* Mosip-22878 Added pageDto in response .

* Mosip-22878 Added pageDto in response .

* Mosip-22878 Added page details in response .

* Mosip-22878 Added author to new classes.

* Mosip-22878 return empty map instead of null.

* Mosip-22878 remove un-necessary comments.

* Mosip-22878 Refactor code.

* Mosip 22642 corrections required in api end points or response request body (#445)

* added authentication to audit api and made some corrections

* changed event id, name, type to auditEvent id,name,type

* fixed junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-21376 Update existing api checkAIDStatus (#449)

* Mosip-21376 Added check event status api.

* MOSIP-21376 Added proper error code and validation.

* MOSIP-21376 Implemented service class of check event status.

* MOSIP-21376 Fixed test case failure.

* MOSIP-21376 Fixed test case failure.

* MOSIP-21376 Added ResidentServiceGetEventStatusTest.

* MOSIP-21376 Added TemplateUtilTest.

* MOSIP-21376 Fixed code as per review comments.

* MOSIP-21376 Added containsStatus method to EventStatusFailure.

* MOSIP-21376 Fix Test case Failure for EventStatusFailure.

* MOSIP-21376 Fix Test case Failure for TemplateUtilTest.

* MOSIP-21376 Added correct values.

* MOSIP-21376 Added @author in new class.

* MOSIP-21376 Changed code as per review.

* MOSIP-21376 Fixed sonar bugs. (#451)

* [MOSIP-23063] Added proxy for idrepo identity update count api (#450)

* [MOSIP-23063] Added proxy for idrepo identity update count api

* [MOSIP-23063] Updated test cases

* Revert "[MOSIP-23063] Added proxy for idrepo identity update count api (#450)" (#452)

This reverts commit 7187f8b838360230eedc2131c0d4a9b6f8dcb4c1.

* added status_code for each features and made fix in ResidentTransactionEntity... (#453)

* added status_code for each features and made fix in ResidentTransactionEntity

* fix build failure

* updated dependency version

Co-authored-by: Ritik Jain <[email protected]>

* 22878 update existing api /service-history. (#455)

* MOSIP-22878 Implemented search and status Filter.

* MOSIP-22878 Fixed unit test case Failure.

* MOSIP-22878 Added Junit for service-history api.

* MOSIP-22878 Added Junit for service-history api.

* MOSIP-22878 Fixed pagination issue. (#461)

* MOSIP-22878 Fixed test case failure. (#462)

* MOSIP-22878 Fixed pagination issue.

* MOSIP-22878 Fixed test case failure.

* MOSIP-22878 Fixed pagination issue. (#463)

* [MOSIP-23063] Added proxy for idrepo identity update count api (#457)

* [MOSIP-23063] Added proxy for idrepo identity update count api

* [MOSIP-23063] Updated test cases

* [MOSIP-23063] updated test cases

* MOSIP-22897 added user_action table. (#464)

* Mosip 22854 tech story add entries to the resident transaction table for the required apis (#465)

* added status_code for each features and made fix in ResidentTransactionEntity

* fix build failure

* updated dependency version

* create entities to add entries in db for various features

* fixed ida token issue

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22878 Fixed pagination issue. (#466)

* MOSIP-22878 Fixed pagination issue.

* MOSIP-22878 Fixed pagination issue

* Created the API 22892,22899,22893,22898 (#467)

* Created API for the following  story number --22892,22899,22893,22898

* property added in Junit property file

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Quick fixes (#468)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

Co-authored-by: Ritik Jain <[email protected]>

* PreAuthorization added (#471)

Co-authored-by: Neha Farheen <[email protected]>

* fixes in authCallBack service (#470)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

Co-authored-by: Ritik Jain <[email protected]>

* fix dsl automation failures. (#473)

* fix dsl automation failures.

* changed code as per review comment.

* Fix test case failure. (#476)

* Fix test case failure. (#477)

* fix auth status (#472)

* fix auth status

* Optimized code.

* Fix auth status (#478)

* fix auth status

* Optimized code.

* Fixed test case failures.

* auth-lock-unlock api dsl failure fixed by making auth-types case insensitive (#479)

Co-authored-by: Ritik Jain <[email protected]>

* Dsl failure fixes (#480)

* auth-lock-unlock api dsl failure fixed by making auth-types case insensitive

* minor fix

* fixed authType issue for both apis

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 22890 (#481)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

Co-authored-by: Manoj SP <[email protected]>

* Mosip 22890 (#482)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

Co-authored-by: Manoj SP <[email protected]>

* Mosip 23857 update uin issue (#485)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

Co-authored-by: Manoj SP <[email protected]>

* MOSIP-22900 Added pinstatus and unpinstatus api. (#484)

* Quick fixes (#474)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

* added pre-authorise and some other fixes

* fixed test failure

* change in api url

Co-authored-by: Ritik Jain <[email protected]>

* fixed build failure (#486)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

* added pre-authorise and some other fixes

* fixed test failure

* change in api url

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22868 Added Acknowledgement api. (#483)

* Mosip-22868 Added AcknowledgementController.

* Mosip-22868 Added AcknowledgementService.

* Mosip-22868 Added AcknowledgementService.

* Mosip-22868 Added RequestType.java .

* MOSIP-22868 Added ack controller.

* MOSIP-22868 Return pdf

* MOSIP-22868 Return pdf

* Added auth scopes.

* Added request type property.

* Added all property for ack.

* MOSIP-22868 Added AcknowledgmentControllerTest.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22900 Added pinstatus and unpinstatus api.

* MOSIP-22868 Refactor code.

* MOSIP-22868 Refactor code.

* MOSIP-23043-API: Share Credential API to accept purpose attribute and (#475)

* MOSIP-23043-API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-22640-Sonar Bugs

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* Minor correction

Co-authored-by: M1063027 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 23547 retrivevid (#487)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* 23547 retrivevid (#488)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

* consent column added

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Update NotificationService.java (#490)

* MOSIP-22855 MOSIP-21151 MOSIP-23445 MOSIP-23443 MOSIP-22900 MOSIP-22878 MOSIP-22621 MOSIP-21170 (#489)

* MOSIP-22855 Added Transliteration API.

* MOSIP-21151 Fixed Upload and Download documents api.

* MOSIP-23445 Added get document by document id and version.

* MOSIP-21151 Added get document by transactionID id and version.

* MOSIP-21151 Added validation and unit test for get document by transactionId.

* MOSIP-21147 Fixed upload document API.

* MOSIP-23443 Added proper error code to get document api.

* MOSIP-23443 Corrected error message in get document by doc id.

* MOSIP-22900 MOSIP-22878 Added pinned Status in service history api response.

* MOSIP-22621 Fixed api delete document based on document id.

* MOSIP-21170 Changed response of update-uin.

* MOSIP-21170 Added @author to new class.

* Mosip 22874 check email sms messages (#492)

* created methods to get template type code from properties

* updated notification service

* added notification in order card service

* updated notification for update uin

* updated notification for auth type lock unlock and websub

* updated notification for generate and revoke vid

* updated notification of share credential and download personalised card

* fixed junit test case failures

* updated email notification data to multiform data

* updated template date and time pattern

* updated test properties

Co-authored-by: Ritik Jain <[email protected]>

* Consent attribute added for Physical card , share credential and Update UIN API (23507) (#491)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

* consent column added

* Consent attribute added

* JUNIT Bug fix

* Bug fixed

* null check in consent

* Changes in ResidentServiceImpl

* Fixed  formatting

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#493)

* Update the consent part

* Quick fix

Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#494)

* Update the consent part

* Quick fix

* Bug fix

Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#495)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 22857 add api to download different UI schema types (#496)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

* Support to download ui-schema for different types

* Added caching of ui schema, made config apis as authenticated

* Test fixes

Co-authored-by: Manoj SP <[email protected]>

* Mosip 22857 add api to download different UI schema types 1 (#497)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

* Support to download ui-schema for different types

* Added caching of ui schema, made config apis as authenticated

* Test fixes

* Added missing file

Co-authored-by: Manoj SP <[email protected]>

* MOSIP-22861 Added new api /contact-details/send-otp and validate. (#498)

* MOSIP-22861 Created API /contact-details/send-otp

* MOSIP-22861 Created API /contact-details/update-data

* MOSIP-22861 Added validation in request.

* MOSIP-22861 Added author to newly created classes.

* MOSIP-22861 Fixed Lgtm analysis error.

* MOSIP-22861 Removed transaction id. (#499)

* MOSIP-22861 Created API /contact-details/send-otp

* MOSIP-22861 Created API /contact-details/update-data

* MOSIP-22861 Added validation in request.

* MOSIP-22861 Added author to newly created classes.

* MOSIP-22861 Fixed Lgtm analysis error.

* MOSIP-22861 Removed transaction id.

* corrected end point and response structure (#500)

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#501)

* corrected end point and response structure

* removed duplicate code

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#502)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

Co-authored-by: Ritik Jain <[email protected]>

* Consent fix (#505)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 21170 correct update uin response 1 (#506)

* Changes to update uin request structure-avoid base64encode

* Test fix

* Fixes to logic

* Mosip 23215 corrections required in api end points or response request body 2 (#504)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#507)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

* changed purpose to description in response body

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23769 Removed publish and subscription in callback controller. (#509)

* Mosip 23215 corrections required in api end points or response request body 2 (#510)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

* changed purpose to description in response body

* fixed the update count proxy api

* updated the response

* fixed the response body

Co-authored-by: Ritik Jain <[email protected]>

* Develop (#512)

* MOSIP-22865 Add API to download the View History Tables as a PDF

* MOSIP-22865 modify the code as per the review comments for service
history download

* MOSIP-22865 Add API to download the View History Tables as a PDF

* MOSIP-22865 modify the code for fixing the LGTM issues

* Update ResidentController.java

* Update ResidentController.java

Co-authored-by: M1063027 <[email protected]>

* MOSIP-23769 Fixed auth type websub issue. (#513)

* Resolved the MOSIP ticket - 22141 (#514)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

Co-authored-by: Neha Farheen <[email protected]>

* added br tag for line breaks (#515)

* added br tag for line breaks

* updated line breaks - 23967

* updated br in a constant

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#517)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

Co-authored-by: Ritik Jain <[email protected]>

* Bug Fixed  for ticket  MOSIP-24240 & 24239 (#518)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 24273 create a proxy api from masterdata to fill the gender value for a given language (#519)

* created api for gender types

* added junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#520)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22890 Batch Job Status Update (#521)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#522)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

* updated aspect class with log

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22871 API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-22871 API: Add API to convert the List of registration centers
request as a downloadable PDF

* fixed the response for new UIN

* removed requestId and metadata from response body

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#530)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

* updated aspect class with log

* added junit test cases

* minor fixes in aop class

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23509 Added Api to download card using eventId. (#526)

* MOSIP-23509 Added download-card/eventId api.

* MOSIP-23509 Api to download UIN card using eventId.

* MOSIP-23509 Added EventEnum constant.

* MOSIP-23509 Junit test case for download card API.

* MOSIP-23509 Fixed junit test case failure.

* MOSIP-22275 Removed un-used imports.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Added api to download card using uin/vid/aid. (#531)

* MOSIP-22275 Added api /download-card.

* MOSIP-22275 Added junit for api /download-card.

* MOSIP-22275 Added junit for service class of download-card.

* MOSIP-22275 Removed un-necessary variables.

* MOSIP-22275 Added j-unit for download card service test.

* MOSIP-22275 Added author and javadoc for downloadcard api.

* MOSIP-22866 Updated naming convention of ack api. (#533)

* MOSIP-22866 Updated naming convention of ack api.

* MOSIP-22866 Fixed Junit failure.

* MOSIP-22275 Fixed update-uin api. (#532)

* MOSIP-22275 Fixed update-uin api.

* update-uin fix.

* Fixed update-uin api.

* Fixed update-uin api.

* Removed un-necessary exception thrown.

* Mosip 24268 the service type is incorrect in response body the description should be in logged in language (#529)

* fixed the response and take description from templates

* updated request type and serevice type

* removed duplicate entity stored in db

* removed duplicate enum

* fixed according to review comments

* added All as a service type

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22851 Changes in identity info API (#528)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

* Changes in Update identity info api MOSIP-22851

* Added photo scope in identity info API

* Changes resolved

* Update IdentityServiceImpl.java

* Method removed

* Changes in Junit

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 24268 the service type is incorrect in response body the description should be in logged in language (#534)

* fixed the response and take description from templates

* updated request type and serevice type

* removed duplicate entity stored in db

* removed duplicate enum

* fixed according to review comments

* added All as a service type

* passed request summary

Co-authored-by: Ritik Jain <[email protected]>

* fixed jpa rollback exception (#535)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22463 Bug fixed for ticket  (#536)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

* Changes in Update identity info api MOSIP-22851

* Added photo scope in identity info API

* Changes resolved

* Update IdentityServiceImpl.java

* Method removed

* Changes in Junit

* Bug fixed for ticket 22463

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-22275 Fixed download-card api otp generation failure. (#537)

* MOSIP-22275 Fixed download-card api otp generation failure.

* MOSIP-22275 Fixed download-card api otp generation failure.

* MOSIP-22275 Fixed unit test case failure.

* MOSIP-22275 Changed code as per review comments.

* Mosip 21376 api create check aid status api that gets the details of status for a given aid and return the status (#538)

* description based on langcode

* added id and version in response

* fixed junit test case failures

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22380 Remove un-necessary Api /get-service-request update (#540)

* Update ProxyMasterdataController.java

MOSIP-22871 modified the code as per the review comments

* MOSIP-22871 modified the code as per the review comments

* MOSIP-22871 modified the code as per the review comments

* Update EventEnum.java

* MOSIP-23838 Added idToken in claims. (#503)

* MOSIP-23838 Added idToken in claims.

* Revert "MOSIP-23838 Added idToken in claims."

This reverts commit 237e04ae13d3c424c6a247e11f7c3054ad2fa385.

* MOSIP-23838 Added idToken in IdentityServiceImpl.

* Revert "MOSIP-23838 Added idToken in IdentityServiceImpl."

This reverts commit 26a6bcad6380fac0a44b0943e9f4f97deef3df02.

* MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl.

* Revert "MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl."

This reverts commit 871dd24267393cc8d5150d7f062aa031017d14ca.

* MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl.

* MOSIP-23769 Added claim IDA_TOKEN_CLAIM_NAME

* MOSIP-23769 Removed unused methods.

* MOSIP-23838 Added getResidentIdToken method.

* MOSIP-23838 decrypted payload.

* MOSIP-23838 Added decryptToken method.

* MOSIP-23838 Added decrypt logic in getUserInfo method.

* MOSIP-23838 Fixed Junit test case failure.

* MOSIP-23838 Remove un-necessary line.

* MOSIP-23838 Remove un-necessary line.

* MOSIP-22275 Fixed response of getRidByIndividualId. (#541)

* MOSIP-21399 Fix Auth Transaction web sub issue. (#539)

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-22275 MOSIP-24557 Fixed download card api. (#542)

* MOSIP-24557 Added signature to pdf.

* MOSIP-22275 Fixed download card api.

* MOSIP-24557 Added signature to pdf.

* MOSIP-24557 Added signature to pdf to utility.

* MOSIP-24557 Fixed test case.

* MOSIP-23838 Removed extra slash. (#543)

* MOSIP-21399 Fixed authcallback websub issue. (#544)

* MOSIP-24557 Added sign to pdf. (#545)

* MOSIP-22275 Fixed error code in download pdf api. (#547)

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* Mosip 21376 api create check aid status api that gets the details of status for a given aid and return the status (#546)

* description based on langcode

* added id and version in response

* fixed junit test case failures

* get vid type for revoke vid

* added bifunction for send & validate otp

* fetched details from db and pass to map

* add and retrieve partner details

* fixed response of partner api

* get summary from template api

* fixed junit test cases

* added auth mode in db

* fixed the mock method to real method

Co-authored-by: Ritik Jain <[email protected]>

* Changes done in batch job (#549)

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-23978 Added /download/personalized-card card api (#548)

* MOSIP-23978 Added api /download/card/html2pdf.

* MOSIP-23978 Added sign pdf logic.

* MOSIP-23978 Added exception e in exception thrown.

* MOSIP-23978 Added service class for download personalized card api.

* MOSIP-23978 Fixed un-necessary mockito stubbing.

* MOSIP-23978 Resolved merge conflict.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* Mosip 23041 mock api create mock api for print partners order physical card api that is that will return response parameters for the payment made by the resident (#552)

* added mock api for print partner order page

* fixed the redirection of api

* removed unused imports

Co-authored-by: Ritik Jain <[email protected]>

* Fix channel verification status api. (#553)

* Fixed verification status api.

* Fixed verification status api.

* Removed VERIFY_PHONE_EMAIL Request type.

* Fixed channel verification api.

* Fixed channel verification api.

* Fixed channel verification api.

* Fixed channel verification api.

* Service history fixes (#554)

* fixed the template exception issue

* fixed optional issue

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23838 Removed pre-authorize for NA scopes. (#555)

* MOSIP-23838 Added card.manage scope in post Personalized card api. (#556)

* MOSIP-23043 changes done for request body (#557)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

Co-authored-by: Ritik Jain <[email protected]>

* Service history fixes (#558)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

* fixed code to fetch old ida token

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22869 MOSIP-22894 Added /request-card api. (#559)

* MOSIP-22869 Added request-card/vid api.

* MOSIP-22869 Added request-card/vid api.

* MOSIP-22894 added error code in check order status api.

* MOSIP-22869 Fixed entry in table for vid card.

* MOSIP-22869 Added author and java docs.

* service history fix. (#560)

* service history fix.

* service history fix.

* MOSIP-23019 Physical card order redirect (#551)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

Co-authored-by: Neha Farheen <[email protected]>

* Service history fixes (#561)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

* fixed code to fetch old ida token

* added default request type

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22871-API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-22871-API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-23978 Fixed encoding error in html conversion. (#563)

* service history fix.

* service history fix.

* MOSIP-23978 Fixed encoding error in html conversion.

* MOSIP-22888 ticket done (#562)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-23838 Added photo in get identity attributes. (#564)

* service history fix.

* service history fix.

* MOSIP-23978 Fixed encoding error in html conversion.

* MOSIP-23838 Added photo in get identity attributes.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Removed un used variables.

* MOSIP-21376 Added applicantName

* MOSIP-21376 Added applicantName

* MOSIP-21376 Added applicantName

* MOSIP-22870 API: Add API to convert the List of supporting documents
request as a downloadable PDF

* MOSIP-23978 Fixed vid card download. (#566)

* MOSIP-23978 Fixed vid card download.

* MOSIP-23978 Fixed vid card download.

* Mosip 24687 tech story formatting logic needs to be updated in name and address formatter (#567)

* fixed formatting of sharable attributes

* Update ResidentConfigServiceImpl.java

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23838 fix for idp integration (#565)

* Fix for idp integration

* Fix to decode the payload

* Minor Refactoring

* Updated error message

* Removed flag to get ida token from userinfo

* inserted 16 digit random eventId. (#568)

* inserted 16 digit random eventId.

* Fixed test case failure.

* Refactor name

* MOSIP-22443 Improved code coverage. (#569)

* MOSIP-22443 Improved code coverage.

* MOSIP-22443 Improved code coverage.

* Refactor name

* MOSIP-22443 Improved sonar coverage.

* MOSIP-22443 Added author.

* MOSIP-22443 MOSIP-24493 Added ProxyOtpServiceImpllTest (#570)

* MOSIP-22443 Added ProxyOtpServiceImpllTest

* MOSIP-22443 Added APi resource exception test

* MOSIP-24493 Added status comment in db.

* fixed naming convention of transactionID. (#571)

* [MOSIP-24670] Made Corrections in API endpoints response/request body (#572)

* MOSIP-22443 Added Junit for downloadPersonalizedCard test. (#573)

* MOSIP-22443 Added Junit for downloadPersonalizedCard test.

* Fixed test case Failure.

* Improved code coverage.

* revert the test cases (#575)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24870- Added signature in supporting docs and reg center. (#574)

* MOSIP-24870- Added signature in supporting docs and reg center.

* MOSIP-24870- Corrected naming convention of pdf file.

* MOSIP-24870- Fixed test case failure.

* MOSIP-24870- Added optimized pdf file.

* MOSIP-24870- Added optimized pdf file.

* MOSIP-24884 Fixed vid download card issue. (#576)

* Revert version change (#578)

* revert the test cases

* added track service url

* added test cases for partner management

* added new method for validate request for new apis

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24884 Fixed get card api. (#579)

* MOSIP-24884 Fixed get card api.

* MOSIP-24884 Fixed test case failure.

* MOSIP-24884 Code refactor.

* MOSIP-24884 Fixed get card failure. (#580)

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24860 Updated the  event read status (#581)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

Co-authored-by: Neha Farheen <[email protected]>

* added error for invalid user (#583)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24763 Fixed send otp failure. (#577)

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed test case failure.

* MOSIP-24763 Fixed error code message.

* MOSIP-24875 Notification count changes done (#585)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

Co-authored-by: Neha Farheen <[email protected]>

* [MOSIP-24670] Updated API correction id and version (#584)

* MOSIP-24939 Improved code coverage of DownloadCardServiceTest. (#586)

* MOSIP-24939 Improved code coverage of DownloadCardServiceTest

* MOSIP-24939 Removed un-necessary mockito stubbing.

* MOSIP-24939 Improved code coverage of getUserInfo.

* MOSIP-24939 Improved code coverage of Notification of resident.

* MOSIP-24939 Improved code coverage of ResidentServiceImpl.

* MOSIP-22871 add digital signatures for registration centers and (#582)

* MOSIP-22871 add digital signatures for registration centers and
supporting docs

* Update DownLoadMasterDataController.java

* Update DownLoadMasterDataServiceImpl.java

* MOSIP-22871 modified the code asper review comments

* MOSIP-24884 Fixed update-uin api. (#587)

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Fixed update-uin api.

* MOSIP-24939 Added constant in place of string.

* MOSIP-24939 Improved code coverage of TemplateUtilTest. (#589)

* [MOSIP-24670] Updated API body correction (#588)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* Updated API correction

* MOSIP-22443 Improved code coverage. (#591)

* MOSIP-24939 Improved code coverage of Batch job.

* MOSIP-24939 Improved code coverage of Download master data.

* MOSIP-24939 Improved code coverage of Resident service.

* 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 Removed repeated try catch block.

* MOSIP-24939 Added empty check for invalid transactionId.

* MOSIP-24939 Moved RunnableException to new package.

* MOSIP-24939 Refactor code.

* Profile api fix (#594)

* [MOSIP-22640] Fixed Sonar Bugs (#593)

* [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

* Resident UI integration issues (#595)

* Profile api fix

* Fix for in-progress status filter

* test

* Test fix

* Resident UI integration issues (#597)

* Profile api fix

* Fix for in-progress status filter

* test

* Test fix

* Fix for photo not returning issue in identity info

* Mosip 24879 add event id in the response of the below stories (#598)

* added error for invalid user

* added status in 2 apis

* changed response of auth-lock-unlock api

* updated response of validate otp

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-25005 bug fixed in batch job (#600)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

* MOSIP-25005 Batch job bug fixed

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-24939 Improved code coverage. (#599)

* MOSIP-24939 Improved code coverage of download master data controller.

* MOSIP-24939 Improved code coverage of proxy otp controller.

* MOSIP-24939 Improved code coverage of download card controller.

* MOSIP-24939 Improved code coverage of request vid card.

* [MOSIP-22640] Fixed sonar bugs (#601)

* [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-24939 Improved code coverage. (#603)

* MOSIP-24939 Improved code coverage of request utility.

* MOSIP-24939 Improved code coverage of utility.

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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…
loganathan-sekaran added a commit that referenced this pull request Apr 12, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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…
loganathan-sekaran added a commit that referenced this pull request Apr 18, 2023
* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 …
loganathan-sekaran added a commit that referenced this pull request May 2, 2023
* [MOSIP-25539] changed API endpoint /individualId/otp  (#677)

* [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-25539] Made corrections in API body, response code

* [MOSIP-25539] made corrections in API body

* updated error message

* updated error code

* updated trasactionid dto change

* added equals

* [MOSIP-25539] made corrections in api body

* Update ResidentOtpController.java

* Update ResidentOtpControllerTest.java

* [MOSIP-25539] Corrected API response body Task 5 (#678)

* [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-25539] Made corrections in API body, response code

* [MOSIP-25539] made corrections in API body

* updated error message

* updated error code

* updated trasactionid dto change

* added equals

* [MOSIP-25539] made corrections in api body

* [MOSIP-25539] Corrected API response body Task 5

* Resolved Build failures (#679)

* [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-25539] Made corrections in API body, response code

* [MOSIP-25539] made corrections in API body

* updated error message

* updated error code

* updated trasactionid dto change

* added equals

* [MOSIP-25539] made corrections in api body

* [MOSIP-25539] Corrected API response body Task 5

* resolved build failure

* Mosip 25778 update existing authenticated API & Mosip 25780 create a new unathenticated API (#676)

* moved id hash generation method to utility

* took id from session

* added unauthenticated API for audit

* MOSIP-25780 added junit

* MOSIP-25780 added junit for if condition

* fixed error message

Co-authored-by: Ritik Jain <[email protected]>

* Fix expiry time for big expiry time (#681)

Co-authored-by: Loganathan Sekar <[email protected]>

* return bad request error response for pdf apis and fixed metadata exception issue (#682)

* moved id hash generation method to utility

* took id from session

* added unauthenticated API for audit

* MOSIP-25780 added junit

* MOSIP-25780 added junit for if condition

* fixed error message

* returned correct id and 400 status code

* created super exception classes to extend

* removed unused imports

* renamed (added prefix base)

* naming fixes

* configured exceptions with new exception base classes

* fixed error response

* fixed error response on validation

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-25804 Fixed automation failure. (#683)

* Fixed service history issue.

* MOSIP-25804 Added error code for invalid vid for revoke vid.

* MOSIP-25804 Added error code for invalid individualId.

* MOSIP-25804 Added error code for invalid individualId.

* MOSIP-25804 Added error code for invalid individualId.

* MOSIP-25804 Fixed null pointer exception

* MOSIP-25804 Fixed validate individual id.

* MOSIP-25804 Fixed validate individual id.

* MOSIP-25804 Fixed validate individual id.

* MOSIP-25804 Fixed validate individual id.

* Mosip 25778 technical story update the existing authentication audit end point to send hash of individual id taken from the session and also pass id type (#684)

* moved id hash generation method to utility

* took id from session

* added unauthenticated API for audit

* MOSIP-25780 added junit

* MOSIP-25780 added junit for if condition

* fixed error message

* returned correct id and 400 status code

* created super exception classes to extend

* removed unused imports

* renamed (added prefix base)

* naming fixes

* configured exceptions with new exception base classes

* fixed error response

* fixed error response on validation

* moved getClientIp method to utility and used in audit API

* added junit test cases

* renamed audit request dto

Co-authored-by: Ritik Jain <[email protected]>

* Add timezone based timestamp response (#685)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

Co-authored-by: Loganathan Sekar <[email protected]>

* Add timezone based timestamp response (#686)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

Co-authored-by: Loganathan Sekar <[email protected]>

* Add timezone based timestamp response 1 (#687)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

Co-authored-by: Loganathan Sekar <[email protected]>

* Add timezone based timestamp response 2 (#688)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

Co-authored-by: Loganathan Sekar <[email protected]>

* Refactor fix utility classname (#689)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

Co-authored-by: Loganathan Sekar <[email protected]>

* Time format fix for last login times (#692)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

Co-authored-by: Loganathan Sekar <[email protected]>

* Time format fix for last login times (#693)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

* Fix timezone for view history download request time

Co-authored-by: Loganathan Sekar <[email protected]>

* Time format fix for last login times 2 (#694)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

* Fix timezone for view history download request time

* Fix compilation error

Co-authored-by: Loganathan Sekar <[email protected]>

* Time format fix for last login times 3 (#695)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

* Fix timezone for view history download request time

* Fix compilation error

* Test fix

Co-authored-by: Loganathan Sekar <[email protected]>

* Latest develop mergeback 1201b2 (#701)

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [MOSIP-24670] Ma…
loganathan-sekaran added a commit that referenced this pull request May 15, 2023
* Time format fix for last login times 2 (#694)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

* Fix timezone for view history download request time

* Fix compilation error

Co-authored-by: Loganathan Sekar <[email protected]>

* Time format fix for last login times 3 (#695)

* Minor correction to the id prop

* minor refactoring

* Fix missing code in refactoring

* Added timezone logger

* Minor correction

* Pom correction

* Added timezone based timestamp responses for related APIs

* Test fixes

* Test fix

* Fix to filename pattern

* Added missing file

* Refactored to fix utility class name

* Refactored to fix utility class name

* Fixed last login time offset; filename timestamp; vid generated on time;

* Fix timezone for view history download request time

* Fix compilation error

* Test fix

Co-authored-by: Loganathan Sekar <[email protected]>

* Latest develop mergeback 1201b2 (#701)

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 i…
loganathan-sekaran added a commit that referenced this pull request May 26, 2023
* MOSIP-26004-Notification fix 1 (#714)

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 bod…
loganathan-sekaran added a commit that referenced this pull request Jun 1, 2023
* Latest develop mergeback 1201b2 (#701)

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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…
loganathan-sekaran added a commit that referenced this pull request Jun 1, 2023
* MOSIP-25773-technical-story-update-latest-ui-spec-and-makes-changes-in-code-accordingly (#715)

* moved id hash generation method to utility

* took id from session

* added unauthenticated API for audit

* MOSIP-25780 added junit

* MOSIP-25780 added junit for if condition

* fixed error message

* returned correct id and 400 status code

* created super exception classes to extend

* removed unused imports

* renamed (added prefix base)

* naming fixes

* configured exceptions with new exception base classes

* fixed error response

* fixed error response on validation

* moved getClientIp method to utility and used in audit API

* added junit test cases

* renamed audit request dto

* removed utilitiy

* fixed schema sache issue and added junit

* removed input required check

* MOSIP-25773 fixed code

* MOSIP-25773 removed includephoto boolean

* code refactor

* code refactor

---------

Co-authored-by: Ritik Jain <[email protected]>

* Upload document issue (#716)

* Fixed service history issue.

* Fixed upload document issue.

* Upload document issue (#717)

* Fixed service history issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed audit failure in resident (#718)

* Fixed service history issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* MOSIP-24848-if-we-provide-invalid-schema-type-even-though-we-are-getting-attribute-names-list (#719)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

---------

Co-authored-by: Ritik Jain <[email protected]>

* Upload document issue (#722)

* Fixed service history issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* [MOSIP-25539] Updated validateotp method (#720)

* [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-25539] Made corrections in API body, response code

* [MOSIP-25539] made corrections in API body

* updated error message

* updated error code

* updated trasactionid dto change

* added equals

* [MOSIP-25539] made corrections in api body

* [MOSIP-25539] Corrected API response body Task 5

* resolved build failure

* [MOSIP-25539] Task 2 Added error code for vaildateOtp API

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25539] Updated validateotp method

* updated PR

* Upload document issue (#723)

* Fixed service history issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Fixed upload document issue.

* Bug fixes (#721)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

---------

Co-authored-by: Ritik Jain <[email protected]>

* Bug fixes (#725)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

* take id from property

* changed constant name

---------

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-26110-fix-track-service-status-api-should-return-the-direct-download-link-instead-of-the-link-to-track-service-request-page (#726)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

* take id from property

* changed constant name

* MOSIP-26110 fixed track service API

---------

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23525,MOSIP-24751 changes done for this two ticket. (#727)

* 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

* file size validation and response id and version added

* changes done

* changes done

* code refactor

---------

Co-authored-by: Neha Farheen <[email protected]>

* property added  (#728)

* 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

* file size validation and response id and version added

* changes done

* changes done

* code refactor

* proerty added

---------

Co-authored-by: Neha Farheen <[email protected]>

* Latest develop db script udpate (#733)

* Merge develop to 1201b2 5 (#731)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <M10…
loganathan-sekaran added a commit that referenced this pull request Jun 7, 2023
* Bug fixes (#721)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

---------

Co-authored-by: Ritik Jain <[email protected]>

* Bug fixes (#725)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

* take id from property

* changed constant name

---------

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-26110-fix-track-service-status-api-should-return-the-direct-download-link-instead-of-the-link-to-track-service-request-page (#726)

* MOSIP-24848 added validation on schemaType

* MOSIP-24848 added junit

* removed unused boolean variable

* MOSIP-24848 fixed error message

* MOSIP-25892 updated the id

* MOSIP-24872 made languageCode mandatory field

* take id from property

* changed constant name

* MOSIP-26110 fixed track service API

---------

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23525,MOSIP-24751 changes done for this two ticket. (#727)

* 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

* file size validation and response id and version added

* changes done

* changes done

* code refactor

---------

Co-authored-by: Neha Farheen <[email protected]>

* property added  (#728)

* 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

* file size validation and response id and version added

* changes done

* changes done

* code refactor

* proerty added

---------

Co-authored-by: Neha Farheen <[email protected]>

* Latest develop db script udpate (#733)

* Merge develop to 1201b2 5 (#731)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 p…
kameshsr pushed a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
)

* 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 <[email protected]>
Signed-off-by: kameshsr <[email protected]>
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

Co-authored-by: kameshsr <[email protected]>
Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>
Signed-off-by: kameshsr <[email protected]>
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Mosip 24879 add event id in the response of the below stories (#613)

* added error for invalid user

* added status in 2 apis

* changed r…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Mosip 24879 add event id in the response of the below stories (#613)

* added error for invalid user

* added status in 2 apis

* changed…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Mosip 24879 add event id in the response of the below stories (#613)

* added error for invalid user

* added status in 2 apis

* changed respo…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Mosip 24879 add event id in the response of the below stories (#613)

* added error for invalid user

* added status in 2 apis

* changed res…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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-…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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-…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Mosip 24879 add event id in the response of the below stories (#613)

* added error for invalid user

* added status in 2 apis

* changed re…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
* Merge develop to 1201b2 5 (#731)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 r…

* Merge develop to 1201b2 8 (#732)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 cha…
RitikJain4108 added a commit to RitikJain4108/resident-services that referenced this pull request Oct 31, 2023
* Merge develop to 1201b2 5 (#731)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* return masked attributes (#645)

Co-authored-by: Ritik Jain <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* import fixes. fixes to get name, image from userinfo

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

Co-authored-by: Aiham Hasan <[email protected]>
Co-authored-by: kameshsr <[email protected]>
Co-authored-by: RitikJain4108 <[email protected]>
Co-authored-by: Ritik Jain <[email protected]>
Co-authored-by: Neha2365 <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 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 r…

* Merge develop to 1201b2 8 (#732)

* [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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 cha…
kameshsr added a commit to kameshsr/resident-services that referenced this pull request Mar 15, 2024
* Mosip 21674 api to get aid status 1 (#370)

* Fix junit test

* Added APIs to send otp and get aid status

* Test fix

* Added scope based auth for apis (#371)

* Added scope based auth for apis

* Test fix

* Test fix

* Test fix

* Test fix

* Ignoring failing tests temporarily

* [MOSIP-21170] Added entry to resident txn table and updated test cases (#373)

* [MOSIP-21170] updated test cases

* [MOSIP-21170] Updated test cases

* [MOSIP-21170] updated test cases

* [MOSIP-21170] updated test cases

* Mosip:20406 Added junit for callback controller. (#369)

* fixed one sonar reliability bug (#374)

* fixed one sonar reliability bug

* added some test cases for proxy service classes

Co-authored-by: Ritik Jain <[email protected]>

* Fix to conditionally set face in identity attributes (#375)

* Fix fetch vid issue 2 (#376)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Code coverage and fixes (#378)

* fixed one sonar reliability bug

* added some test cases for proxy service classes

* added junit test cases

* added junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* Fix validate token response issue (#379)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Fixed validate token response issue

* Fix validate token response issue 2 (#380)

* Fix to conditionally set face in identity attributes

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Using resttemplate with ssl verify for plain rest client

* Fixed validate token response issue

* Fix null check

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request. (#381)

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request.

* MOSIP-22272 Add option to get UIN/VID in the auth lock/ unlock request.

* MOSIP-22271 Added hash of individualId+partner in database.

* MOSIP-22271 Changed name of auth-type-lock to auth-type-status.

* MOSIP-22352 Fixed Invalid channel verification status implementation. (#377)

* MOSIP-22271 Fixed test case failure. (#383)

* Handling 401 on get userinfo (#384)

* MOSIP-22271 Added specific time period to get auth history. (#382)

* MOSIP-22271 Added specific time period to get auth history.

* MOSIP-22271 Added ResidentTransactionType enum.

* MOSIP-22271 Removed transaction id from auth type status.

* MOSIP-22271 Fixed vid creation exception.

* MOSIP-22271 Added correct type code in resident transaction table.

* MOSIP-22271 Added LocalDateTime formatter in fromDateTime and toDateTime.

* MOSIP-22271 Added junit for pagefetch negative value.

* MOSIP-22271 Added junit for invalid idType.

* MOSIP-22271 Added junit for apiresource access exception.

* MOSIP-22382 - Add ida token validation to revoke vid api (#386)

* Added validation to check vid to revoke belongs to the individual id in the req/session

* Test fix

* Add ida token validation to revoke vid api (#387)

* Added validation to check vid to revoke belongs to the individual id in the req/session

* Test fix

* Added missing dto file

* Added author

* MOSIP-20457 View history of service request. (#388)

* MOSIP-20457 Added columns in resident_transaction.sql.

* MOSIP-20457 Added support for service history.

* MOSIP-20457 Added findByToken in repository class.

* MOSIP-20457 Implemented getServiceHistory method.

* MOSIP-20457 validated Resident Service type.

* MOSIP-20457 Corrected Documentation.

* MOSIP-20457 Added author name for new class.

* MOSIP-20457 Added Junit for getServiceHistory class.

* MOSIP-20419 Added /get/service/request/update api.

* MOSIP-20419 Added /get/service/request/update api.

* [MOSIP-22140] Updated input vid status to be case insensitive (#392)

* [MOSIP-22430] updated upload doc to decode the request (#393)

* [MOSIP-22430] updated upload doc to decode the request

* [MOSIP-22430] updated test cases

* MOSIP-20457 Fixed sonar bugs. (#389)

* MOSIP-20457 Fixed sonar bugs.

* MOSIP-20457 Fixed sonar bug in EncryptorUtil.

* MOSIP-20457 Fixed sonar bug in EncryptorUtil.

* MOSIP-20457 Added PacketEncryptionFailureException.

* MOSIP-20457 Corrected Encryt exception in utility.

* Fixed sonar bugs.

* Update IdSchemaUtil.java

* MOSIP-20457 Added Junit for BaseWebSubInitializer. (#390)

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* MOSIP-20457 Added Junit for BaseWebSubInitializer.

* Added test cases

* Added test cases

* Modified the code for Sonar Code Coverage#22443 (#396)

Co-authored-by: M1063027 <[email protected]>

* added scope in get partner api and junits for identity controller (#400)

Co-authored-by: Ritik Jain <[email protected]>

* added junit for audit controller and fixed minor bug (#401)

* added scope in get partner api and junits for identity controller

* added junit for audit-log api and fixed minor bug

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22380 Added request id to Db and improved Code coverage. (#398)

* MOSIP-22380 Added request id to Db

* MOSIP-22380  Added testGetServiceHistorySuccess

* MOSIP-22380  Added testGetServiceRequestUpdateSuccess

* MOSIP-22380  Corrected variable name to camel case.

* MOSIP-22380  Added ResidentServiceGetServiceRequestUpdateTest

* MOSIP-22380  Added ResidentServiceGetServiceRequestUpdateTest

* MOSIP-22380  Improved Junit of AuthTransactionCallBackServiceImpl.java

* MOSIP-20419 - Added junit for WebSubUpdateAuthTypeServiceTest.

* MOSIP-20419 - Added junit for WebSubUpdateAuthTypeServiceTest.

* MOSIP-20419 - Added junit for Get Service History.

* MOSIP-20419 - Added junit for testGetServiceRequestPrintCheck.

* MOSIP-20419 - Improved code coverage for auth lock service.

* MOSIP-20419 - Improved code coverage for Get Service History.

* MOSIP-20419 - Improved code coverage for Get Service History.

* MOSIP-20419 - Improved code coverage for PartnerServiceImpl.java.

* Fixed 1 sonar bug. (#402)

* Code chanegs for refactoring scope validator (#403)

* MOSIP-20419 Added /check-status/aid api. (#397)

* MOSIP:20419 Added /check-status/aid api.

* MOSIP-20419 - Corrected name.

* MOSIP-20419 - Corrected name.

Co-authored-by: Loganathan Sekar <[email protected]>

* Mosip 21392 api create a mock api implementation for payment provider to check if payment is made to throw http error if not (#406)

* resolved compilation error

* created mock api controller

Co-authored-by: Ritik Jain <[email protected]>

* [MOSIP-22267] api to invoke credential for customized format (#399)

* [MOSIP-22267] api to invoke credential for customized format

* [MOSIP-22267] updated request structure to cred service

* [MOSIP-22267] added non null check

* [MOSIP-22267] added non null check

* [MOSIP-22267] updated controller and test case

* added api for ordering a physical card with junit test cases (#407)

Co-authored-by: Ritik Jain <[email protected]>

* Audit log fixes (#408)

* Code chanegs for refactoring scope validator

* Corrections to audit logs

* minor change in api path (#409)

Co-authored-by: Ritik Jain <[email protected]>

* Audit log fixes (#410)

* Code chanegs for refactoring scope validator

* Corrections to audit logs

* Removed /authTransaction api and Auth transaction table. (#405)

* Removed /authTransaction api

* Removed authTransaction table.

Co-authored-by: Loganathan Sekar <[email protected]>

* MOSIP-22275 Added API to download UIN card. (#404)

* MOSIP-22275 Added MockApiController

* MOSIP:22275- Added MockController

* MOSIP:22275- Removed un-necessary api name.

* MOSIP:22275- Removed un-necessary changes in ResidentCredentialServiceImpl

* MOSIP:22275- Removed un-necessary changes in ResidentCredentialServiceImpl

* MOSIP:22275- added /download card api.

* MOSIP:22275- Added download card url for available status.

* MOSIP:22275- Fixed test case failure.

* Text fix

Co-authored-by: Loganathan Sekar <[email protected]>

* corrected some event ids (#412)

Co-authored-by: Ritik Jain <[email protected]>

* Added mock in properties. (#411)

* Added mock in properties.

* changed AUTH_TYPE_LOCK_FAILURE error code to IDVID_NOT_MATCH_TO_SESSION

* MOSIP-22443 Improved code coverage. (#413)

* MOSIP-22443 Improved code coverage of RequestValidator

* MOSIP-22443 Added validateIndividualId

* MOSIP-22443 Added testValidateServiceHistoryRequestDateCheck

* Develop (#414)

* Modified the code for Sonar Code Coverage#22443

* Modified the code for SONAR code coverage for the ticket#22443

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22443 Added mock in sonar exclusion. (#415)

* corrected endpoints in api (#420)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22620 Added API /document/{document-id} (#416)

* MOSIP-22620 Added api /document/{document-id}

* MOSIP-22620 Added unit test case for get document by doc id.

* Modified the code for fixing he sonar bugs for tkt#22640 -sonar bugs (#421)

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22621 Added api to delete document by document id. (#422)

* Modified the code for fixing the sonar bugs for tkt#22640 sonar bugs (#424)

Co-authored-by: M1063027 <[email protected]>

* MOSIP-22443 Improved code coverage. (#425)

* MOSIP-22443 Added testUpdateUinDemographics

* MOSIP-22443 Added test class for auth lock status.

* MOSIP-22443 Added test class for download card controller.

* MOSIP-22443 Added testTryRegisterTopicEvent.

* MOSIP-22443 Added testInitSubsription.

* MOSIP-22443 Added testTryRegisterTopicEvent.

* MOSIP-22443 Added testAuthTransactionSubcription.

* MOSIP-22443 Improved Code Coverage. (#427)

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2EmptyAuthType.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestV2EmptyAuthTypeV2.

* MOSIP-22443 Added testValidateAuthLockOrUnlockRequestSuccess

* MOSIP-22443 Added testValidateEuinRequestSuccess

* MOSIP-22443 Added testEmailValidator

* MOSIP-22443 Added testValidateAuthHistoryRequestSuccess

* MOSIP-22443 Improved code coverage of request validator.

* MOSIP-22443 Improved code coverage of request validator.

* Mosip 22642 corrections required in api end points or response request body (#429)

* corrected endpoints in api

* exception error code & message fixed...

* fixed one test case

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22443 Improved code coverage . (#428)

* MOSIP-22443 Improved code coverage of ResidentConfigServiceImpl.

* MOSIP-22443 Corrected control type value.

* MOSIP-22443 Improved code coverage of IdentityService.

* Fixed Sonar Bug. (#430)

* MOSIP-22889 Added columns in Resident_transaction. (#432)

* MOSIP-22889 Added columns in Resident_transaction.

* Update resident_transaction.sql

* Update ResidentTransactionEntity.java

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update ResidentTransactionEntity.java

* Updated the attributes

* Update resident_transaction.sql

* Update resident_transaction.sql

* Updated entity class

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update resident_transaction.sql

* Update resident_transaction.sql

Co-authored-by: Loganathan Sekar <[email protected]>

* Removed individual id from auth lock api (#433)

* fixed vulnearable bug (#431)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22272 Refactor code. (#435)

* MOSIP-23018-fixed unlock for seconds validation (#437)

* MOSIP-23018-fixed unlock for seconds validation

* Test fix

* Test fix

* created api to get the templates from masterdata (#436)

Co-authored-by: Ritik Jain <[email protected]>

* Fix txn save issue in auth lock api 1 (#439)

* Disable insert into table

* Disable insert into table

* Temp fix for db store issue (#440)

* MOSIP-22272 Added event_id as primary key.  (#441)

* Added event_id as primary key.

* Added event_id as primary key.

* fix to authTypes validation (#442)

* Update AuthTransactionCallbackServiceTest.java (#443)

* error code fixes (#446)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22878  Updated existing getServiceHistory API. (#444)

* MOSIP-22878 Added Sub-type in get service history api.

* Mosip-22878 queried pinnedstatus to top in getServiceHistory Api.

* Mosip-22878 Updated getServiceHistory API.

* Mosip-22878 Fixed test case failure.

* Mosip-22878 Added logic of find by token without service type.

* Mosip-22878 Added requestTypeCode in /service-history API.

* Mosip-22878 Added Request type .

* Mosip-22878 Added pageDto in response .

* Mosip-22878 Added pageDto in response .

* Mosip-22878 Added page details in response .

* Mosip-22878 Added author to new classes.

* Mosip-22878 return empty map instead of null.

* Mosip-22878 remove un-necessary comments.

* Mosip-22878 Refactor code.

* Mosip 22642 corrections required in api end points or response request body (#445)

* added authentication to audit api and made some corrections

* changed event id, name, type to auditEvent id,name,type

* fixed junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-21376 Update existing api checkAIDStatus (#449)

* Mosip-21376 Added check event status api.

* MOSIP-21376 Added proper error code and validation.

* MOSIP-21376 Implemented service class of check event status.

* MOSIP-21376 Fixed test case failure.

* MOSIP-21376 Fixed test case failure.

* MOSIP-21376 Added ResidentServiceGetEventStatusTest.

* MOSIP-21376 Added TemplateUtilTest.

* MOSIP-21376 Fixed code as per review comments.

* MOSIP-21376 Added containsStatus method to EventStatusFailure.

* MOSIP-21376 Fix Test case Failure for EventStatusFailure.

* MOSIP-21376 Fix Test case Failure for TemplateUtilTest.

* MOSIP-21376 Added correct values.

* MOSIP-21376 Added @author in new class.

* MOSIP-21376 Changed code as per review.

* MOSIP-21376 Fixed sonar bugs. (#451)

* [MOSIP-23063] Added proxy for idrepo identity update count api (#450)

* [MOSIP-23063] Added proxy for idrepo identity update count api

* [MOSIP-23063] Updated test cases

* Revert "[MOSIP-23063] Added proxy for idrepo identity update count api (#450)" (#452)

This reverts commit 7187f8b838360230eedc2131c0d4a9b6f8dcb4c1.

* added status_code for each features and made fix in ResidentTransactionEntity... (#453)

* added status_code for each features and made fix in ResidentTransactionEntity

* fix build failure

* updated dependency version

Co-authored-by: Ritik Jain <[email protected]>

* 22878 update existing api /service-history. (#455)

* MOSIP-22878 Implemented search and status Filter.

* MOSIP-22878 Fixed unit test case Failure.

* MOSIP-22878 Added Junit for service-history api.

* MOSIP-22878 Added Junit for service-history api.

* MOSIP-22878 Fixed pagination issue. (#461)

* MOSIP-22878 Fixed test case failure. (#462)

* MOSIP-22878 Fixed pagination issue.

* MOSIP-22878 Fixed test case failure.

* MOSIP-22878 Fixed pagination issue. (#463)

* [MOSIP-23063] Added proxy for idrepo identity update count api (#457)

* [MOSIP-23063] Added proxy for idrepo identity update count api

* [MOSIP-23063] Updated test cases

* [MOSIP-23063] updated test cases

* MOSIP-22897 added user_action table. (#464)

* Mosip 22854 tech story add entries to the resident transaction table for the required apis (#465)

* added status_code for each features and made fix in ResidentTransactionEntity

* fix build failure

* updated dependency version

* create entities to add entries in db for various features

* fixed ida token issue

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22878 Fixed pagination issue. (#466)

* MOSIP-22878 Fixed pagination issue.

* MOSIP-22878 Fixed pagination issue

* Created the API 22892,22899,22893,22898 (#467)

* Created API for the following  story number --22892,22899,22893,22898

* property added in Junit property file

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Quick fixes (#468)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

Co-authored-by: Ritik Jain <[email protected]>

* PreAuthorization added (#471)

Co-authored-by: Neha Farheen <[email protected]>

* fixes in authCallBack service (#470)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

Co-authored-by: Ritik Jain <[email protected]>

* fix dsl automation failures. (#473)

* fix dsl automation failures.

* changed code as per review comment.

* Fix test case failure. (#476)

* Fix test case failure. (#477)

* fix auth status (#472)

* fix auth status

* Optimized code.

* Fix auth status (#478)

* fix auth status

* Optimized code.

* Fixed test case failures.

* auth-lock-unlock api dsl failure fixed by making auth-types case insensitive (#479)

Co-authored-by: Ritik Jain <[email protected]>

* Dsl failure fixes (#480)

* auth-lock-unlock api dsl failure fixed by making auth-types case insensitive

* minor fix

* fixed authType issue for both apis

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 22890 (#481)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

Co-authored-by: Manoj SP <[email protected]>

* Mosip 22890 (#482)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

Co-authored-by: Manoj SP <[email protected]>

* Mosip 23857 update uin issue (#485)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

Co-authored-by: Manoj SP <[email protected]>

* MOSIP-22900 Added pinstatus and unpinstatus api. (#484)

* Quick fixes (#474)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

* added pre-authorise and some other fixes

* fixed test failure

* change in api url

Co-authored-by: Ritik Jain <[email protected]>

* fixed build failure (#486)

* fixes in auth type and auth sub type

* fixed auth-lock-unlock-issue

* fixed test case

* fixed auth-callback entries

* fixed test failure

* added pre-authorise and some other fixes

* fixed test failure

* change in api url

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22868 Added Acknowledgement api. (#483)

* Mosip-22868 Added AcknowledgementController.

* Mosip-22868 Added AcknowledgementService.

* Mosip-22868 Added AcknowledgementService.

* Mosip-22868 Added RequestType.java .

* MOSIP-22868 Added ack controller.

* MOSIP-22868 Return pdf

* MOSIP-22868 Return pdf

* Added auth scopes.

* Added request type property.

* Added all property for ack.

* MOSIP-22868 Added AcknowledgmentControllerTest.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22868 Added junit test case.

* MOSIP-22900 Added pinstatus and unpinstatus api.

* MOSIP-22868 Refactor code.

* MOSIP-22868 Refactor code.

* MOSIP-23043-API: Share Credential API to accept purpose attribute and (#475)

* MOSIP-23043-API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-22640-Sonar Bugs

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* MOSIP-23043 API: Share Credential API to accept purpose attribute and
put it in resident transaction entry

* Minor correction

Co-authored-by: M1063027 <[email protected]>
Co-authored-by: Loganathan Sekar <[email protected]>

* 23547 retrivevid (#487)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* 23547 retrivevid (#488)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

* consent column added

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Update NotificationService.java (#490)

* MOSIP-22855 MOSIP-21151 MOSIP-23445 MOSIP-23443 MOSIP-22900 MOSIP-22878 MOSIP-22621 MOSIP-21170 (#489)

* MOSIP-22855 Added Transliteration API.

* MOSIP-21151 Fixed Upload and Download documents api.

* MOSIP-23445 Added get document by document id and version.

* MOSIP-21151 Added get document by transactionID id and version.

* MOSIP-21151 Added validation and unit test for get document by transactionId.

* MOSIP-21147 Fixed upload document API.

* MOSIP-23443 Added proper error code to get document api.

* MOSIP-23443 Corrected error message in get document by doc id.

* MOSIP-22900 MOSIP-22878 Added pinned Status in service history api response.

* MOSIP-22621 Fixed api delete document based on document id.

* MOSIP-21170 Changed response of update-uin.

* MOSIP-21170 Added @author to new class.

* Mosip 22874 check email sms messages (#492)

* created methods to get template type code from properties

* updated notification service

* added notification in order card service

* updated notification for update uin

* updated notification for auth type lock unlock and websub

* updated notification for generate and revoke vid

* updated notification of share credential and download personalised card

* fixed junit test case failures

* updated email notification data to multiform data

* updated template date and time pattern

* updated test properties

Co-authored-by: Ritik Jain <[email protected]>

* Consent attribute added for Physical card , share credential and Update UIN API (23507) (#491)

* External griveance added

* Griveance Page added

* Bug fix

* Bug Fixed

* consent column added

* Consent attribute added

* JUNIT Bug fix

* Bug fixed

* null check in consent

* Changes in ResidentServiceImpl

* Fixed  formatting

Co-authored-by: M1092365 <M1092365@MT-DPQ7NM3>
Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#493)

* Update the consent part

* Quick fix

Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#494)

* Update the consent part

* Quick fix

* Bug fix

Co-authored-by: Neha Farheen <[email protected]>

* Consent fix (#495)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 22857 add api to download different UI schema types (#496)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

* Support to download ui-schema for different types

* Added caching of ui schema, made config apis as authenticated

* Test fixes

Co-authored-by: Manoj SP <[email protected]>

* Mosip 22857 add api to download different UI schema types 1 (#497)

* [MOSIP-22890] Added credential batch job changes

* [MOSIP-22890] Batch Job: Added Job to update status and notify

* [MOSIP-22890] Added batch job to track and update resident transactions

* Update CredentialUpdateStatus.java

* Update NotificationTemplateCode.java

* Test fix

* Fixes

* Skipping getDocuments for existing apis

* Support to download ui-schema for different types

* Added caching of ui schema, made config apis as authenticated

* Test fixes

* Added missing file

Co-authored-by: Manoj SP <[email protected]>

* MOSIP-22861 Added new api /contact-details/send-otp and validate. (#498)

* MOSIP-22861 Created API /contact-details/send-otp

* MOSIP-22861 Created API /contact-details/update-data

* MOSIP-22861 Added validation in request.

* MOSIP-22861 Added author to newly created classes.

* MOSIP-22861 Fixed Lgtm analysis error.

* MOSIP-22861 Removed transaction id. (#499)

* MOSIP-22861 Created API /contact-details/send-otp

* MOSIP-22861 Created API /contact-details/update-data

* MOSIP-22861 Added validation in request.

* MOSIP-22861 Added author to newly created classes.

* MOSIP-22861 Fixed Lgtm analysis error.

* MOSIP-22861 Removed transaction id.

* corrected end point and response structure (#500)

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#501)

* corrected end point and response structure

* removed duplicate code

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#502)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

Co-authored-by: Ritik Jain <[email protected]>

* Consent fix (#505)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 21170 correct update uin response 1 (#506)

* Changes to update uin request structure-avoid base64encode

* Test fix

* Fixes to logic

* Mosip 23215 corrections required in api end points or response request body 2 (#504)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23215 corrections required in api end points or response request body 2 (#507)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

* changed purpose to description in response body

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23769 Removed publish and subscription in callback controller. (#509)

* Mosip 23215 corrections required in api end points or response request body 2 (#510)

* corrected end point and response structure

* removed duplicate code

* changed response body

* fixed rollback jpa transaction error

* fixed the response structure

* added javadoc and author

* added javadoc

* quick fix

* changed purpose to description in response body

* fixed the update count proxy api

* updated the response

* fixed the response body

Co-authored-by: Ritik Jain <[email protected]>

* Develop (#512)

* MOSIP-22865 Add API to download the View History Tables as a PDF

* MOSIP-22865 modify the code as per the review comments for service
history download

* MOSIP-22865 Add API to download the View History Tables as a PDF

* MOSIP-22865 modify the code for fixing the LGTM issues

* Update ResidentController.java

* Update ResidentController.java

Co-authored-by: M1063027 <[email protected]>

* MOSIP-23769 Fixed auth type websub issue. (#513)

* Resolved the MOSIP ticket - 22141 (#514)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

Co-authored-by: Neha Farheen <[email protected]>

* added br tag for line breaks (#515)

* added br tag for line breaks

* updated line breaks - 23967

* updated br in a constant

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#517)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

Co-authored-by: Ritik Jain <[email protected]>

* Bug Fixed  for ticket  MOSIP-24240 & 24239 (#518)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 24273 create a proxy api from masterdata to fill the gender value for a given language (#519)

* created api for gender types

* added junit test cases

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#520)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22890 Batch Job Status Update (#521)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#522)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

* updated aspect class with log

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22871 API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-22871 API: Add API to convert the List of registration centers
request as a downloadable PDF

* fixed the response for new UIN

* removed requestId and metadata from response body

* Mosip 23756 tech story extend the log in end point behaviour to store the last login details to the resident user action table (#530)

* added aspect class

* updated the ddl scripts

* stored details in db

* updated constants and created mock method

* updated entity class

* updated the scripts

* created contructor for entity

* updated aspect class with log

* added junit test cases

* minor fixes in aop class

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23509 Added Api to download card using eventId. (#526)

* MOSIP-23509 Added download-card/eventId api.

* MOSIP-23509 Api to download UIN card using eventId.

* MOSIP-23509 Added EventEnum constant.

* MOSIP-23509 Junit test case for download card API.

* MOSIP-23509 Fixed junit test case failure.

* MOSIP-22275 Removed un-used imports.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Changed code as per review comments.

* MOSIP-22275 Added api to download card using uin/vid/aid. (#531)

* MOSIP-22275 Added api /download-card.

* MOSIP-22275 Added junit for api /download-card.

* MOSIP-22275 Added junit for service class of download-card.

* MOSIP-22275 Removed un-necessary variables.

* MOSIP-22275 Added j-unit for download card service test.

* MOSIP-22275 Added author and javadoc for downloadcard api.

* MOSIP-22866 Updated naming convention of ack api. (#533)

* MOSIP-22866 Updated naming convention of ack api.

* MOSIP-22866 Fixed Junit failure.

* MOSIP-22275 Fixed update-uin api. (#532)

* MOSIP-22275 Fixed update-uin api.

* update-uin fix.

* Fixed update-uin api.

* Fixed update-uin api.

* Removed un-necessary exception thrown.

* Mosip 24268 the service type is incorrect in response body the description should be in logged in language (#529)

* fixed the response and take description from templates

* updated request type and serevice type

* removed duplicate entity stored in db

* removed duplicate enum

* fixed according to review comments

* added All as a service type

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22851 Changes in identity info API (#528)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

* Changes in Update identity info api MOSIP-22851

* Added photo scope in identity info API

* Changes resolved

* Update IdentityServiceImpl.java

* Method removed

* Changes in Junit

Co-authored-by: Neha Farheen <[email protected]>

* Mosip 24268 the service type is incorrect in response body the description should be in logged in language (#534)

* fixed the response and take description from templates

* updated request type and serevice type

* removed duplicate entity stored in db

* removed duplicate enum

* fixed according to review comments

* added All as a service type

* passed request summary

Co-authored-by: Ritik Jain <[email protected]>

* fixed jpa rollback exception (#535)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22463 Bug fixed for ticket  (#536)

* Update the consent part

* Quick fix

* Bug fix

* Changes in update-uin API

* revoke vid Api changes -22463

* error code changed

* Junit test fix

* JUNIT test fix

* Resolved the ticket 22141

* Bug fixed

* changes in ResidentUserRepo

* method name changed

* Batchjob task done

* Changes in Update identity info api MOSIP-22851

* Added photo scope in identity info API

* Changes resolved

* Update IdentityServiceImpl.java

* Method removed

* Changes in Junit

* Bug fixed for ticket 22463

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-22275 Fixed download-card api otp generation failure. (#537)

* MOSIP-22275 Fixed download-card api otp generation failure.

* MOSIP-22275 Fixed download-card api otp generation failure.

* MOSIP-22275 Fixed unit test case failure.

* MOSIP-22275 Changed code as per review comments.

* Mosip 21376 api create check aid status api that gets the details of status for a given aid and return the status (#538)

* description based on langcode

* added id and version in response

* fixed junit test case failures

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22380 Remove un-necessary Api /get-service-request update (#540)

* Update ProxyMasterdataController.java

MOSIP-22871 modified the code as per the review comments

* MOSIP-22871 modified the code as per the review comments

* MOSIP-22871 modified the code as per the review comments

* Update EventEnum.java

* MOSIP-23838 Added idToken in claims. (#503)

* MOSIP-23838 Added idToken in claims.

* Revert "MOSIP-23838 Added idToken in claims."

This reverts commit 237e04ae13d3c424c6a247e11f7c3054ad2fa385.

* MOSIP-23838 Added idToken in IdentityServiceImpl.

* Revert "MOSIP-23838 Added idToken in IdentityServiceImpl."

This reverts commit 26a6bcad6380fac0a44b0943e9f4f97deef3df02.

* MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl.

* Revert "MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl."

This reverts commit 871dd24267393cc8d5150d7f062aa031017d14ca.

* MOSIP-23838 Added getClaimFromIdToken in IdentityServiceImpl.

* MOSIP-23769 Added claim IDA_TOKEN_CLAIM_NAME

* MOSIP-23769 Removed unused methods.

* MOSIP-23838 Added getResidentIdToken method.

* MOSIP-23838 decrypted payload.

* MOSIP-23838 Added decryptToken method.

* MOSIP-23838 Added decrypt logic in getUserInfo method.

* MOSIP-23838 Fixed Junit test case failure.

* MOSIP-23838 Remove un-necessary line.

* MOSIP-23838 Remove un-necessary line.

* MOSIP-22275 Fixed response of getRidByIndividualId. (#541)

* MOSIP-21399 Fix Auth Transaction web sub issue. (#539)

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fix Auth Transaction web sub issue.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-21399 Fixed null pointer exception in websub callback.

* MOSIP-22275 MOSIP-24557 Fixed download card api. (#542)

* MOSIP-24557 Added signature to pdf.

* MOSIP-22275 Fixed download card api.

* MOSIP-24557 Added signature to pdf.

* MOSIP-24557 Added signature to pdf to utility.

* MOSIP-24557 Fixed test case.

* MOSIP-23838 Removed extra slash. (#543)

* MOSIP-21399 Fixed authcallback websub issue. (#544)

* MOSIP-24557 Added sign to pdf. (#545)

* MOSIP-22275 Fixed error code in download pdf api. (#547)

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* MOSIP-22275 Fixed error code in download pdf api.

* Mosip 21376 api create check aid status api that gets the details of status for a given aid and return the status (#546)

* description based on langcode

* added id and version in response

* fixed junit test case failures

* get vid type for revoke vid

* added bifunction for send & validate otp

* fetched details from db and pass to map

* add and retrieve partner details

* fixed response of partner api

* get summary from template api

* fixed junit test cases

* added auth mode in db

* fixed the mock method to real method

Co-authored-by: Ritik Jain <[email protected]>

* Changes done in batch job (#549)

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-23978 Added /download/personalized-card card api (#548)

* MOSIP-23978 Added api /download/card/html2pdf.

* MOSIP-23978 Added sign pdf logic.

* MOSIP-23978 Added exception e in exception thrown.

* MOSIP-23978 Added service class for download personalized card api.

* MOSIP-23978 Fixed un-necessary mockito stubbing.

* MOSIP-23978 Resolved merge conflict.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Fixed naming convention.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* MOSIP-23978 Refactor code.

* Mosip 23041 mock api create mock api for print partners order physical card api that is that will return response parameters for the payment made by the resident (#552)

* added mock api for print partner order page

* fixed the redirection of api

* removed unused imports

Co-authored-by: Ritik Jain <[email protected]>

* Fix channel verification status api. (#553)

* Fixed verification status api.

* Fixed verification status api.

* Removed VERIFY_PHONE_EMAIL Request type.

* Fixed channel verification api.

* Fixed channel verification api.

* Fixed channel verification api.

* Fixed channel verification api.

* Service history fixes (#554)

* fixed the template exception issue

* fixed optional issue

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-23838 Removed pre-authorize for NA scopes. (#555)

* MOSIP-23838 Added card.manage scope in post Personalized card api. (#556)

* MOSIP-23043 changes done for request body (#557)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

Co-authored-by: Ritik Jain <[email protected]>

* Service history fixes (#558)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

* fixed code to fetch old ida token

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22869 MOSIP-22894 Added /request-card api. (#559)

* MOSIP-22869 Added request-card/vid api.

* MOSIP-22869 Added request-card/vid api.

* MOSIP-22894 added error code in check order status api.

* MOSIP-22869 Fixed entry in table for vid card.

* MOSIP-22869 Added author and java docs.

* service history fix. (#560)

* service history fix.

* service history fix.

* MOSIP-23019 Physical card order redirect (#551)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

Co-authored-by: Neha Farheen <[email protected]>

* Service history fixes (#561)

* fixed the template exception issue

* fixed optional issue

* MOSIP-23043 changes done in request body

* fixed code to fetch old ida token

* added default request type

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-22871-API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-22871-API: Add API to convert the List of registration centers
request as a downloadable PDF

* MOSIP-23978 Fixed encoding error in html conversion. (#563)

* service history fix.

* service history fix.

* MOSIP-23978 Fixed encoding error in html conversion.

* MOSIP-22888 ticket done (#562)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-23838 Added photo in get identity attributes. (#564)

* service history fix.

* service history fix.

* MOSIP-23978 Fixed encoding error in html conversion.

* MOSIP-23838 Added photo in get identity attributes.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Fixed test case failure.

* MOSIP-23838 Removed un used variables.

* MOSIP-21376 Added applicantName

* MOSIP-21376 Added applicantName

* MOSIP-21376 Added applicantName

* MOSIP-22870 API: Add API to convert the List of supporting documents
request as a downloadable PDF

* MOSIP-23978 Fixed vid card download. (#566)

* MOSIP-23978 Fixed vid card download.

* MOSIP-23978 Fixed vid card download.

* Mosip 24687 tech story formatting logic needs to be updated in name and address formatter (#567)

* fixed formatting of sharable attributes

* Update ResidentConfigServiceImpl.java

Co-authored-by: Ritik Jain <[email protected]>

* Mosip 23838 fix for idp integration (#565)

* Fix for idp integration

* Fix to decode the payload

* Minor Refactoring

* Updated error message

* Removed flag to get ida token from userinfo

* inserted 16 digit random eventId. (#568)

* inserted 16 digit random eventId.

* Fixed test case failure.

* Refactor name

* MOSIP-22443 Improved code coverage. (#569)

* MOSIP-22443 Improved code coverage.

* MOSIP-22443 Improved code coverage.

* Refactor name

* MOSIP-22443 Improved sonar coverage.

* MOSIP-22443 Added author.

* MOSIP-22443 MOSIP-24493 Added ProxyOtpServiceImpllTest (#570)

* MOSIP-22443 Added ProxyOtpServiceImpllTest

* MOSIP-22443 Added APi resource exception test

* MOSIP-24493 Added status comment in db.

* fixed naming convention of transactionID. (#571)

* [MOSIP-24670] Made Corrections in API endpoints response/request body (#572)

* MOSIP-22443 Added Junit for downloadPersonalizedCard test. (#573)

* MOSIP-22443 Added Junit for downloadPersonalizedCard test.

* Fixed test case Failure.

* Improved code coverage.

* revert the test cases (#575)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24870- Added signature in supporting docs and reg center. (#574)

* MOSIP-24870- Added signature in supporting docs and reg center.

* MOSIP-24870- Corrected naming convention of pdf file.

* MOSIP-24870- Fixed test case failure.

* MOSIP-24870- Added optimized pdf file.

* MOSIP-24870- Added optimized pdf file.

* MOSIP-24884 Fixed vid download card issue. (#576)

* Revert version change (#578)

* revert the test cases

* added track service url

* added test cases for partner management

* added new method for validate request for new apis

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24884 Fixed get card api. (#579)

* MOSIP-24884 Fixed get card api.

* MOSIP-24884 Fixed test case failure.

* MOSIP-24884 Code refactor.

* MOSIP-24884 Fixed get card failure. (#580)

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24884 Fixed get card failure.

* MOSIP-24860 Updated the  event read status (#581)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

Co-authored-by: Neha Farheen <[email protected]>

* added error for invalid user (#583)

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-24763 Fixed send otp failure. (#577)

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed send otp failure.

* MOSIP-24763 Fixed test case failure.

* MOSIP-24763 Fixed error code message.

* MOSIP-24875 Notification count changes done (#585)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

Co-authored-by: Neha Farheen <[email protected]>

* [MOSIP-24670] Updated API correction id and version (#584)

* MOSIP-24939 Improved code coverage of DownloadCardServiceTest. (#586)

* MOSIP-24939 Improved code coverage of DownloadCardServiceTest

* MOSIP-24939 Removed un-necessary mockito stubbing.

* MOSIP-24939 Improved code coverage of getUserInfo.

* MOSIP-24939 Improved code coverage of Notification of resident.

* MOSIP-24939 Improved code coverage of ResidentServiceImpl.

* MOSIP-22871 add digital signatures for registration centers and (#582)

* MOSIP-22871 add digital signatures for registration centers and
supporting docs

* Update DownLoadMasterDataController.java

* Update DownLoadMasterDataServiceImpl.java

* MOSIP-22871 modified the code asper review comments

* MOSIP-24884 Fixed update-uin api. (#587)

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Improved code coverage of getConfig in ResidentServiceImpl.

* MOSIP-24939 Fixed update-uin api.

* MOSIP-24939 Added constant in place of string.

* MOSIP-24939 Improved code coverage of TemplateUtilTest. (#589)

* [MOSIP-24670] Updated API body correction (#588)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* Updated API correction

* MOSIP-22443 Improved code coverage. (#591)

* MOSIP-24939 Improved code coverage of Batch job.

* MOSIP-24939 Improved code coverage of Download master data.

* MOSIP-24939 Improved code coverage of Resident service.

* 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 Removed repeated try catch block.

* MOSIP-24939 Added empty check for invalid transactionId.

* MOSIP-24939 Moved RunnableException to new package.

* MOSIP-24939 Refactor code.

* Profile api fix (#594)

* [MOSIP-22640] Fixed Sonar Bugs (#593)

* [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

* Resident UI integration issues (#595)

* Profile api fix

* Fix for in-progress status filter

* test

* Test fix

* Resident UI integration issues (#597)

* Profile api fix

* Fix for in-progress status filter

* test

* Test fix

* Fix for photo not returning issue in identity info

* Mosip 24879 add event id in the response of the below stories (#598)

* added error for invalid user

* added status in 2 apis

* changed response of auth-lock-unlock api

* updated response of validate otp

Co-authored-by: Ritik Jain <[email protected]>

* MOSIP-25005 bug fixed in batch job (#600)

* MOSIP-23019 ordercard redirect url done

* MOSIP-23019 ordercard redirect test case url done

* MOSIP-23019 junit fixed

* Changes in order card and redirect URL is done

* Fix Junit and residenterror code changed

* Exception handle

* MOSIP-22888 ticket done

* chnages done  to get idatoken

* MOSIP-24860 Update event read status is done

* MOSIP-25005 Batch job bug fixed

Co-authored-by: Neha Farheen <[email protected]>

* MOSIP-24939 Improved code coverage. (#599)

* MOSIP-24939 Improved code coverage of download master data controller.

* MOSIP-24939 Improved code coverage of proxy otp controller.

* MOSIP-24939 Improved code coverage of download card controller.

* MOSIP-24939 Improved code coverage of request vid card.

* [MOSIP-22640] Fixed sonar bugs (#601)

* [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-24939 Improved code coverage. (#603)

* MOSIP-24939 Improved code coverage of request utility.

* MOSIP-24939 Improved code coverage of utility.

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

* changes done (#631)

Co-authored-by: Ritik Jain <[email protected]>

* refactored-for-auth-adapter-changes (#632)

Co-authored-by: Loganathan Sekar <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 GrievanceControlle…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants