Skip to content

Commit

Permalink
Move latest develop code to develop-121 (#983)
Browse files Browse the repository at this point in the history
* MOSIP-26090-tech-story-fix-the-status-updates-for-vid-card-download-update-uin-events (#775)

* fixed automation issues

* fixed download service history API

* corrected the proprty name

* fixed 2 eventID generated error

* removed null condition

* validated doccatcode and doctypcode

* validate doctype based on doccat

* set indivudual id in db entity

* fixed batch job issue

* revert changes in template util

* added test case

* put validation on transaction id

* fixed transaction id validation

* added regex validation for eventId and transactionId

* validated documentid, transactionid and otp

* updated regex names

* fixed mumeric method name

* updated test properties

* changed status to new

---------

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

* MOSIP-24773 Fixed Download card issue. (#774)

* Fixed service history issue.

* MOSIP-24773 Fixed Download card issue.

* MOSIP-24773 Fixed Download card issue.

* MOSIP-24773 Fixed Download card issue.

* MOSIP-24773 Fixed Download card issue.

* MOSIP-24773 Refactor code

* removed unused variable from request (#777)

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

* Mosip 26090 tech story fix the status updates for vid card download update uin events (#778)

* removed unused variable from request

* fixed batch job

* fixed code

* formatted code

* fixed batch job

* added stored status

* updated batch job and created download card link

---------

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

* MOSIP-26272] Added validation for update-uin API (#779)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* Mosip 26090 tech story fix the status updates for vid card download update uin events (#780)

* removed unused variable from request

* fixed batch job

* fixed code

* formatted code

* fixed batch job

* added stored status

* updated batch job and created download card link

* updated batch job and fixed download-card api

* fixed placeholder and method name

---------

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

* [MOSIP-26272] updated update-uin PR, test cases (#781)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* updated PR

* MOSIP-24939 Improved code coverage. (#776)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* Fixed build issue (#782)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Mosip 26090 tech story fix the status updates for vid card download update uin events (#783)

* removed unused variable from request

* fixed batch job

* fixed code

* formatted code

* fixed batch job

* added stored status

* updated batch job and created download card link

* updated batch job and fixed download-card api

* fixed placeholder and method name

* added suffix for rid

* removed unused property

* update the data time

---------

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

* MOSIP-25854 Fixed vid card issue. (#785)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-25854 Fixed vid card issue.

* Updated transactionId error message (#784)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* MOSIP-25854 Fixed vid card issue. (#786)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue. (#787)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* Updated Test cases for ResidentServiceResUpdate class (#788)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* MOSIP-25536 Added online verification partner id in jpa repo view history. (#790)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25536 Added online verification partner id in jpa repo view history.

* MOSIP-25536 Fixed test case failure.

* Fix for setting read status to false (#791)

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

* Revert mosip 26314 fix for read status for auth lock status (#792)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#793)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#794)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#796)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#797)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#798)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

* Test fix

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#799)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

* Test fix

* Test fix

---------

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

* Revert mosip 26314 fix for read status for auth lock status (#800)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

* Test fix

* Test fix

* Minor fixes

* Ignoring test for build failure in github action. to be reverted and fixed

---------

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

* Mosip 26314 fix for read status for auth lock status 2 (#801)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

* Test fix

* Test fix

* Minor fixes

* Ignoring test for build failure in github action. to be reverted and fixed

* Fix for setting read status to false (#791)

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

---------

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

* Mosip 26350 fix share cred req (#802)

* Fix for setting read status to false

* Revert "Fix for setting read status to false (#791)"

This reverts commit c00a0512aac93ec9a38350ccf9c8617b80cee6a3.

* Check test fix

* Fix NPE in test in github

* Test fix

* logic fix in test

* Test fix

* Test fix

* Minor fixes

* Ignoring test for build failure in github action. to be reverted and fixed

* Fix for setting read status to false (#791)

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

* Fix for share credential request to cred req service

* fix for is masked false

* Fix for isMasked

---------

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

* added log for number of entries (#804)

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

* [MOSIP-26343] Created module specific audits (#803)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* Removed unwanted fields, fixed coding issue to avoid state in bean, o… (#805)

* Removed unwanted fields, fixed coding issue to avoid state in bean, organized imports

* Text fix

---------

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

* MOSIP-24939 Fixed service history issue. (#807)

* Fixed service history issue.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-24939 Improved code coverage.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25854 Fixed vid card issue.

* MOSIP-25536 Added online verification partner id in jpa repo view history.

* MOSIP-25536 Fixed test case failure.

* MOSIP-24939 Improved sonar coverage.

* MOSIP-24939 Improved sonar coverage.

* MOSIP-24939 Fixed service history issue.

* MOSIP-24939 Fixed service history issue.

* MOSIP-24939 Fixed service history issue.

* Mosip 26515 format fixing (#806)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

---------

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

* Mosip 26515 format fixing (#808)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

---------

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

* batch job fix (#812)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

* fix share credential status update in batch job

* fixed docTypCode issue

---------

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

* MOSIP-24737 Added proper error code for invalid page fetch value. (#813)

* Fixed service history issue.

* MOSIP-24737 Added proper error code for invalid page fetch value.

* MOSIP-24737 corrected id-schema value in update-uin.

* MOSIP-24737 corrected id-schema value in update-uin.

* MOSIP-26121-resident-ui-in-verify-phone-number-email-id-not-able-to-track-event-id-status-its-displayed-empty-screen (#814)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

* fix share credential status update in batch job

* fixed docTypCode issue

* fixed 400 httpstatus code

---------

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

* Automation fix dev3 (#816)

* Fixed service history issue.

* update-uin old api fix for id-schema version issue

* update-uin old api fix for id-schema version issue

* update-uin old api fix for id-schema version issue

* MOSIP-26292-resident-api-appropriate-error-message-is-not-displayed-when-purpose-is-empty (#819)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

* fix share credential status update in batch job

* fixed docTypCode issue

* fixed 400 httpstatus code

* fixed missing parameter error

---------

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

* Fix for email notification for failure case (#821)

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

* [MOSIP-26087],[MOSIP-26355] Added featureName in ack pdf filename (#820)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Fix failure notifications (#823)

* Fix for email notification for failure case

* Added missing file

---------

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

* MOSIP-26121-resident-ui-in-verify-phone-number-email-id-not-able-to-track-event-id-status-its-displayed-empty-screen (#822)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

* fix share credential status update in batch job

* fixed docTypCode issue

* fixed 400 httpstatus code

* fixed missing parameter error

* fixed ida token issue

* fixed to get individualId

---------

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

* fixed individual id issue (#825)

* added log for number of entries

* fix batch job individual id null

* added notification for vid card download

* rename the method to get individual id from session

* update websub notification

* fix feature names

* fix share credential status update in batch job

* fixed docTypCode issue

* fixed 400 httpstatus code

* fixed missing parameter error

* fixed ida token issue

* fixed to get individualId

* fix individual id issue and added comments

* made constant

---------

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

* MOSIP-26289 bug fixed (#824)

* MOSIP-26289 changes done

* MOSIP-26289 changes done

---------

Co-authored-by: Neha Farheen <[email protected]>

* Bug fixed (#827)

* MOSIP-26289 changes done

* MOSIP-26289 changes done

* Bug fixed

---------

Co-authored-by: Neha Farheen <[email protected]>

* fixed id version for document APIs (#828)

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

* updated enum names and removed duplicate constants (#829)

* fixed id version for document APIs

* update constant names

* used constant file_text

---------

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

* MOSIP-24939 Fixed test case failure. (#831)

* Fixed service history issue.

* MOSIP-24939 Fixed test case failure.

* MOSIP-26693-api-resident-service-request-id-is-getting-generate-from-credential-issuance-when-credential-type-and-issuer-not-present-in-the-request-body (#830)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

---------

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

* Mosip 25391 fix bell notification issue (#832)

* Fix for email notification for failure case

* Added missing file

* Fix bell notification icon issue

* Test fix

---------

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

* [MOSIP-24494] Updated transliterate API error msg (#833)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* Added properties for default page size (#836)

* Added properties for default page size

* minor import fix

---------

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

* Add property for default page size 2 (#837)

* Added properties for default page size

* minor import fix

* Fix to the default page size logic

---------

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

* MOSIP-26334 Fixed update uin invalid lang code error. (#838)

* Fixed service history issue.

* MOSIP-26334 Fixed update uin invalid lang code error.

* MOSIP-26334 Corrected code as per review comment.

* MOSIP-26334 Corrected code as per review comment.

* MOSIP-26334 Corrected code as per review comment.

* MOSIP-26334 Corrected code as per review comment.

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs (#839)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* MOSIP-26347-aid-stage-is-returning-success-even-though-it-is-failed-in-regproc (#835)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

* removed duplicate code

* fixed rid status issue

* removed name from enum

* code fix for rid status issue

* update validate request body method

---------

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

* Mosip 25391 fix bell notification issue (#840)

* Fix for email notification for failure case

* Added missing file

* Fix bell notification icon issue

* Test fix

* Fixed cred batch job issues

* Minor refactoring and fixes

* test fix

* Card status update fix

* added author

---------

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

* Mosip 25391 fix bell notification issue 1 (#841)

* Fix for email notification for failure case

* Added missing file

* Fix bell notification icon issue

* Test fix

* Fixed cred batch job issues

* Minor refactoring and fixes

* test fix

* Card status update fix

* added author

* Added missing file

* Added jdoc

---------

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

* Mosip 25391 fix bell notification issue 2 (#842)

* Fix for email notification for failure case

* Added missing file

* Fix bell notification icon issue

* Test fix

* Fixed cred batch job issues

* Minor refactoring and fixes

* test fix

* Card status update fix

* added author

* Added missing file

* Added jdoc

* Updated logging

---------

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

* Removed logic to mark failure for unavailable req id (#844)

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

* [MOSIP-26089] Added authentication mode (#845)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* MOSIP-22871-api-add-api-to-convert-the-list-of-registration-centers-request-as-a-downloadable-pdf (#847)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

* removed duplicate code

* fixed rid status issue

* removed name from enum

* code fix for rid status issue

* update validate request body method

* fixed registration center issue

---------

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

* Added debug logging filter (#849)

* Added debug logging filter

* Added jdoc

* Minor cleanup

---------

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

* Mosip 22874 authtype lock websub issue 1 (#851)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

---------

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

* Fixed Download UIN card using VID. (#848)

* Fixed service history issue.

* Fixed download card using vid.

* MOSIP-24818 Changed deprecated admin module proxy API endpoint. (#852)

* Fixed service history issue.

* MOSIP-24818 Changed deprecated admin module proxy API endpoint.

* MOSIP-24818 Removed un-necessary commits.

* Mosip 22874 authtype lock websub issue 3 (#853)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

---------

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

* Mosip 22874 authtype lock websub issue 3 (#854)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

---------

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

* Mosip 22874 authtype lock websub issue 4 (#855)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

---------

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

* Mosip 22874 authtype lock websub issue 5 (#857)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

* WIP-fixing auth txn saving

* Updated logic to save auth txn

* Added Y and N status for getting description

---------

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

* Mosip 22874 authtype lock websub issue 5 (#858)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

* WIP-fixing auth txn saving

* Updated logic to save auth txn

* Added Y and N status for getting description

* Test fix

---------

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

* Fixed Sonar bugs (#859)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar bug fix (#860)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar Fix

* Updated Sonar bug fix (#861)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar Fix

* Updated Sonar bug fix

* MOSIP-22874-tech-story-check-the-email-sms-notification-messages (#863)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

* removed duplicate code

* fixed rid status issue

* removed name from enum

* code fix for rid status issue

* update validate request body method

* fixed registration center issue

* added notification in validate otp API

* fixed authentication request description

* removed space

---------

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

* Mosip 22874 authtype lock websub issue 6 (#864)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

* WIP-fixing auth txn saving

* Updated logic to save auth txn

* Added Y and N status for getting description

* Test fix

* Fix for parse issue in event model with timestamp coming as list in websub callbacks

* Test fix

---------

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

* fixed service type (#865)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

* removed duplicate code

* fixed rid status issue

* removed name from enum

* code fix for rid status issue

* update validate request body method

* fixed registration center issue

* added notification in validate otp API

* fixed authentication request description

* removed space

* removed validate otp from auth request service type

---------

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

* Mosip 22874 authtype lock websub issue 8 (#867)

* Added debug logging filter

* Added jdoc

* Minor cleanup

* Added condition for debug log

* Added support to auto repeat of servlet request stream, added topic resubscription support

* Minor fix

* Removed unwanted file

* Test fixes

* Fix auth type lock unlock notification

* Fix for notification count for entries having olv partner id

* junit fix

* WIP-fixing auth txn saving

* Updated logic to save auth txn

* Added Y and N status for getting description

* Test fix

* Fix for parse issue in event model with timestamp coming as list in websub callbacks

* Test fix

* Fix to include auth request in all category

* Fixed all request types

---------

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

* Updated Sonar bug fix (#862)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar Fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* MOSIP-26923 Corrected error code for maximum allowed vid. (#868)

* Fixed service history issue.

* MOSIP-26923 Corrected error code for maximum allowed vid.

* MOSIP-26923 Added if condition for vidAlreadyPresent Exception class.

* Updated sonar bug fix (#869)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar Fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* [MOSIP-25793] Added audit logs for credential failure (#871)

* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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

* [MOSIP-25798] Added validations

* updated PR

* updated PR

* updated PR

* updated PR

* updated PR

* [MOSIP-25791] Added purpose as mandatory

* Added error

* Added Audit logs

* updated test cases

* [MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs

* updated logs

* updated auditlog code

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* updated enum name for audit logs

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-25268] Fixed Sonar vulnerability

* [MOSIP-26272] Added validation for /update-uin API

* updated PR

* updated update-uin PR

* Fixed build issue

* Updated transactionId error message

* Updated Test cases ResidentServiceResUpdateTest class

* [MOSIP-26343] Created module specific audits

* updated PR

* updated PR

* [MOSIP-26087] Added featureName in pdf name

* updated PR

* Updated PR as per review

* updated PR

* updated PR

* Updated build

* [MOSIP-24494] Updated trasnliterate API error msg

* updated PR

* updated PR

* [MOSIP-25363],[MOSIP-24796],[MOSIP-25711] Updated audit logs

* [MOSIP-26089] Added authentication mode

* Fixed Sonar Bugs

* updated PR

* updated as per review

* Updated Sonar Fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* Updated Sonar bug fix

* [MOSIP-25793] Added audit logs

* MOSIP-22874-tech-story-check-the-email-sms-notification-messages (#870)

* fixed id version for document APIs

* update constant names

* used constant file_text

* added validation on req credential API

* added validation for req credential API

* removed duplicate code

* fixed rid status issue

* removed name f…
  • Loading branch information
8 people authored Jun 26, 2023
1 parent ad117f1 commit 2b7e9d4
Show file tree
Hide file tree
Showing 105 changed files with 2,466 additions and 1,806 deletions.
26 changes: 26 additions & 0 deletions resident/resident-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,32 @@
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.31</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.13.3</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-pdfgenerator-itext</artifactId>
<version>1.2.0.1-B1</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<version>5.3.3.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bitbucket.b_c</groupId>
<artifactId>jose4j</artifactId>
<version>0.9.3</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.mosip.resident.constant;

import java.util.List;
import java.util.Objects;
import java.util.Optional;

import org.springframework.core.env.Environment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.mosip.resident.constant;

import java.util.List;
import java.util.Objects;
import java.util.Optional;

import org.springframework.core.env.Environment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package io.mosip.resident.service.impl;
package io.mosip.resident.constant;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

import io.mosip.resident.constant.RequestType;

public enum UISchemaTypes {
UPDATE_DEMOGRAPHICS("update-demographics", RequestType.UPDATE_MY_UIN),
PERSONALIZED_CARD("personalized-card", RequestType.DOWNLOAD_PERSONALIZED_CARD),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
package io.mosip.resident.controller;

import java.io.IOException;
import java.io.InputStream;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Map;
import java.util.Objects;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.core.io.InputStreamResource;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import io.mosip.kernel.core.logger.spi.Logger;
import io.mosip.kernel.core.util.DateUtils;
import io.mosip.resident.config.LoggerConfiguration;
Expand All @@ -13,22 +30,6 @@
import io.mosip.resident.util.Utility;
import io.mosip.resident.validator.RequestValidator;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.core.io.InputStreamResource;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.io.InputStream;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Map;
import java.util.Objects;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
package io.mosip.resident.controller;

import java.io.IOException;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import io.mosip.kernel.core.http.ResponseWrapper;
import io.mosip.kernel.core.logger.spi.Logger;
import io.mosip.resident.config.LoggerConfiguration;
Expand All @@ -15,15 +25,6 @@
import io.mosip.resident.util.EventEnum;
import io.mosip.resident.validator.RequestValidator;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.util.Map;

/**
* @author Kamesh Shekhar Prasad
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import java.util.Map;

import io.mosip.resident.constant.ResidentErrorCode;
import io.mosip.resident.exception.ApisResourceAccessException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.http.HttpStatus;
Expand All @@ -19,10 +17,12 @@
import io.mosip.kernel.core.logger.spi.Logger;
import io.mosip.resident.config.LoggerConfiguration;
import io.mosip.resident.constant.ResidentConstants;
import io.mosip.resident.constant.ResidentErrorCode;
import io.mosip.resident.dto.MainRequestDTO;
import io.mosip.resident.dto.MainResponseDTO;
import io.mosip.resident.dto.OtpRequestDTOV2;
import io.mosip.resident.dto.OtpRequestDTOV3;
import io.mosip.resident.exception.ApisResourceAccessException;
import io.mosip.resident.exception.InvalidInputException;
import io.mosip.resident.exception.ResidentServiceException;
import io.mosip.resident.service.ProxyOtpService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
import io.mosip.kernel.core.http.ResponseFilter;
import io.mosip.kernel.core.http.ResponseWrapper;
import io.mosip.resident.constant.RequestIdType;
import io.mosip.resident.constant.RequestType;
import io.mosip.resident.constant.ResidentConstants;
import io.mosip.resident.constant.UISchemaTypes;
import io.mosip.resident.dto.CredentialCancelRequestResponseDto;
import io.mosip.resident.dto.CredentialRequestStatusResponseDto;
import io.mosip.resident.dto.CredentialTypeResponse;
Expand All @@ -45,7 +45,6 @@
import io.mosip.resident.exception.ResidentServiceCheckedException;
import io.mosip.resident.service.ResidentCredentialService;
import io.mosip.resident.service.impl.ResidentConfigServiceImpl;
import io.mosip.resident.service.impl.UISchemaTypes;
import io.mosip.resident.util.AuditUtil;
import io.mosip.resident.util.EventEnum;
import io.mosip.resident.validator.RequestValidator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io.mosip.resident.exception.InvalidInputException;
import io.mosip.resident.exception.ResidentServiceCheckedException;
import io.mosip.resident.exception.ResidentServiceException;
import io.mosip.resident.service.impl.VerificationServiceImpl;
import io.mosip.resident.service.VerificationService;
import io.mosip.resident.util.AuditUtil;
import io.mosip.resident.util.EventEnum;
import io.mosip.resident.validator.RequestValidator;
Expand All @@ -27,37 +27,36 @@
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;


@RestController
@Tag(name = "verification-controller", description = "controller for channel verification status")
public class VerificationController {

@Autowired
private AuditUtil audit;
@Autowired
private AuditUtil audit;

@Autowired
private VerificationServiceImpl verificationServiceImpl;
@Autowired
private VerificationService verificationService;

@Autowired
private RequestValidator validator;
@Autowired
private RequestValidator validator;

private static final Logger logger = LoggerConfiguration.logConfig(VerificationController.class);
private static final Logger logger = LoggerConfiguration.logConfig(VerificationController.class);

@GetMapping(value = "/channel/verification-status/")
@Operation(summary = "get channel verification status", description = "get channel verification status")
@ApiResponses(value = { @ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "201", description = "Created", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(schema = @Schema(hidden = true))) })
@GetMapping(value = "/channel/verification-status/")
@Operation(summary = "get channel verification status", description = "get channel verification status")
@ApiResponses(value = { @ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "201", description = "Created", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content(schema = @Schema(hidden = true))),
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(schema = @Schema(hidden = true))) })
public VerificationResponseDTO getChannelVerificationStatus(@RequestParam("channel") String channel,
@RequestParam("individualId") String individualId)
throws ResidentServiceCheckedException, NoSuchAlgorithmException, ApisResourceAccessException {
logger.info("getChannelVerificationStatus method started");
VerificationResponseDTO verificationResponseDTO;
try {
validator.validateChannelVerificationStatus(channel, individualId);
verificationResponseDTO = verificationServiceImpl.checkChannelVerificationStatus(channel, individualId);
verificationResponseDTO = verificationService.checkChannelVerificationStatus(channel, individualId);
} catch (ResidentServiceCheckedException | ResidentServiceException | InvalidInputException e) {
audit.setAuditRequestDto(EventEnum.VERIFICATION_STATUS_FAILURE);
e.setMetadata(Map.of(ResidentConstants.REQ_RES_ID, ResidentConstants.VERIFICATION_STATUS_ID));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.mosip.resident.dto;

import java.util.List;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
* @author Kamesh Shekhar Prasad
* Dynamic Field Consolidate Response Dto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.mosip.resident.dto;

import java.time.LocalDateTime;
import java.util.Map;

import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.mosip.resident.exception;

import io.mosip.kernel.core.exception.BaseUncheckedException;
import io.mosip.resident.constant.ResidentErrorCode;

public class InvalidInputException extends BaseResidentUncheckedExceptionWithMetadata {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void replaceData(byte[] newData) {

/**
* The Class RepeatableServletInputStream - used in
* ResettableStreamHttpServletRequest
* RepeatableServletInputStream
*/
private class RepeatableServletInputStream extends ServletInputStream {

Expand Down
Loading

0 comments on commit 2b7e9d4

Please sign in to comment.