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-25438 increased ref_id column value in otp_transaction.sql. #647

Merged
merged 34 commits into from
Jan 3, 2023

Conversation

kameshsr
Copy link
Contributor

@kameshsr kameshsr commented Jan 2, 2023

No description provided.

kameshsr and others added 30 commits December 13, 2022 10:57
loganathan-sekaran added a commit that referenced this pull request Feb 3, 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
* [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
* [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…
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 added a commit to kameshsr/resident-services that referenced this pull request Oct 17, 2023
…sip#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.

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…
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