Skip to content

Commit

Permalink
MOSIP-24198 Fixed update count API (#1141)
Browse files Browse the repository at this point in the history
* 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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[email protected]>

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

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

Signed-off-by: kameshsr <[email protected]>

* 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]>
Signed-off-by: kameshsr <[email protected]>

* Added debug logging filter (#849)

* Added debug logging filter

* Added jdoc

* Minor cleanup

---------

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

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

* Fixed service history issue.

* Fixed download card using vid.

Signed-off-by: kameshsr <[email protected]>

* 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.

Signed-off-by: kameshsr <[email protected]>

* 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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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

Signed-off-by: kameshsr <[email protected]>

* 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

Signed-off-by: kameshsr <[email protected]>

* 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

Signed-off-by: kameshsr <[email protected]>

* 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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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]>
Signed-off-by: kameshsr <[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

Signed-off-by: kameshsr <[email protected]>

* 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.

Signed-off-by: kameshsr <[email protected]>

* 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

Signed-off-by: kameshsr <[email protected]>

* [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

Signed-off-by: kameshsr <[email protected]>

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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

---------

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

* MOSIP-26923 Return Http status 200 for error message. (#879)

* Fixed service history issue.

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

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

* MOSIP-26923 Return Http status 200 for error message.

Signed-off-by: kameshsr <[email protected]>

* Fixed Build failure (#881)

* Fixed service history issue.

* Fixed build failure.

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26954 Added date of birth to vid card. (#880)

* Fixed service history issue.

* MOSIP-26954 Added date of birth to vid card.

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26844 & fixed code for notification and track service (#878)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

---------

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

* Fixed sonar bug (#884)

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

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

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

* Fixed sonar bug

* Fixed sonar bug

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26899 Added flag for preferred lang. (#885)

* Fixed service history issue.

* MOSIP-26899 Added flag for preferred lang.

* MOSIP-26899 Added flag for preferred lang.

* MOSIP-26899 Added flag for preferred lang.

* MOSIP-26899 Added flag for preferred lang.

* MOSIP-26899 Added flag for preferred lang.

Signed-off-by: kameshsr <[email protected]>

* fixed code to get correct attribute list (#886)

* fixed code to get attribute list

* fixed null check

---------

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

* Develop optimize async processing with websub callback (#887)

* WIP-for-credential update callback

* Fixed conditions for updating the auth type lock status query

* Added debug statements

---------

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

* Develop optimize async processing with websub callback (#888)

* WIP-for-credential update callback

* Fixed conditions for updating the auth type lock status query

* Added debug statements

* Test fix

---------

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

* Develop optimize async processing with websub callback (#889)

* WIP-for-credential update callback

* Fixed conditions for updating the auth type lock status query

* Added debug statements

* Test fix

* Test fix

---------

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

* MOSIP-27035-in-update-my-data-page-getting-error-message-like-invalid-input-parameter-transaction-id-when-we-update-the-language-preference (#882)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

---------

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

* Added preferred lang code from value for notification (#890)

* Fixed service history issue.

* Added preferred lang code from value for notification

* Converted for loop into stream API.

* Used @value instead of env.get property.

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26981-resident-ui-in-share-my-data-after-download-the-pdf-selected-attributes-is-not-showing-in-the-downloaded-pdf (#891)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

---------

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

* Develop optimize async processing with websub callback (#892)

* WIP-for-credential update callback

* Fixed conditions for updating the auth type lock status query

* Added debug statements

* Test fix

* Test fix

* Added code for credential status update callback

* Test fix

---------

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

* MOSIP-26579-resident-ui-after-sharing-the-credential-with-the-partner-in-view-history-the-description-is-not-proper (#893)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

---------

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

* MOSIP-27014 Fixed ack template issue. (#894)

* Fixed service history issue.

* MOSIP-27014 Fixed ack template issue.

Signed-off-by: kameshsr <[email protected]>

* Fixed Sonar Bug (#895)

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

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

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

* Fixed sonar bug

* Fixed sonar bug

* Fixed Sonar Bug

* Updated Sonar Fix

Signed-off-by: kameshsr <[email protected]>

* Fixed build failure (#896)

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

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

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

* Fixed sonar bug

* Fixed sonar bug

* Fixed Sonar Bug

* Updated Sonar Fix

* Fixed build failure

Signed-off-by: kameshsr <[email protected]>

* MOSIP-27155-api-description-purpose-and-summary-is-not-matching-in-acknowledgement-and-track-service-api (#897)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

---------

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

* MOSIP-27036, MOSIP-27155-api-description-purpose-and-summary-is-not-matching-in-acknowledgement-and-track-service-api (#899)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

---------

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

* MOSIP-27079 Fixed notification issue. (#898)

* Fixed service history issue.

* MOSIP-27079 Fixed notification issue.

* MOSIP-27079 Fixed notification issue.

* MOSIP-27079 Added imports.

* MOSIP-27079 Added imports.

* MOSIP-27079 Added imports.

* MOSIP-27079 Refactor code as per comment

* MOSIP-27079 Refactor code as per comment

* MOSIP-27079 Refactor code as per comment

* MOSIP-27079 Added null check.

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26984-resident-ui-in-share-my-data-the-format-details-are-not-displayed-properly-in-the-downloaded-pdf-for-name-dob-address (#900)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

---------

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

* Error code fix for invalid uin/vid (#903)

* Fixed service history issue.

* Move latest develop to develop 1.2.1

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26586-resident-in-secure-my-id-after-locked-and-unlocked-in-view-history-description-is-not-proper (#906)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

* fixed description issue in auth lock unlock API

* added comment

---------

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

* [MOSIP-27213] Updated ObjectValidator method (#907)

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

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

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

* Fixed sonar bug

* Fixed sonar bug

* Fixed Sonar Bug

* Updated Sonar Fix

* Fixed build failure

* [MOSIP-27213] Updated update-uin method

* [MOSIP-27213] Updated ObjectValidator method

* [MOSIP-27213] Updated ObjectValidator method

* [MOSIP-27213] Updated ObjectValidator method

Signed-off-by: kameshsr <[email protected]>

* MOSIP-26586-resident-in-secure-my-id-after-locked-and-unlocked-in-view-history-description-is-not-proper (#908)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

* fixed description issue in auth lock unlock API

* added comment

* used contant delimiter

---------

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

* MOSIP-26586-resident-in-secure-my-id-after-locked-and-unlocked-in-view-history-description-is-not-proper (#909)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

* fixed description issue in auth lock unlock API

* added comment

* used contant delimiter

* fixed status to take from templates

---------

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

* fixed callback/authTransaction status code failure (#910)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

* fixed description issue in auth lock unlock API

* added comment

* used contant delimiter

* fixed status to take from templates

* added null check for status code

* assign to single variable

---------

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

* MOSIP-26984-resident-ui-in-share-my-data-the-format-details-are-not-displayed-properly-in-the-downloaded-pdf-for-name-dob-address (#911)

* 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

* added notification to get my uin API

* added notification in personalised card API

* fixed null check

* refactor code

* fixed code for notify

* code refactoring

* fixed test case failure

* take templatetype code from properties

* fixed preferred language doc error

* fixed code

* renamed variable

* take list from property

* removed unused import

* added comment and changed list to stream

* added photo to attribute list

* fixed update uin summary and purpose

* fixed summary description for share-credential API

* fixed acknowledgement summary purpose

* fixed summary issue

* white spaces

* fixed authentication mode issue

* changed from purpose to attribute list

* fixed db calling multiple times issue

* MOSIP-27036 fixed the summary

* review comments

* removed unused method

* code refactoring

* added cause

* fixed description issue in auth lock unlock API

* added comment

* used contant delimiter

* fixed status to take from templates

* added null check for status code

* assign to single variable

* fixed share credential attribute format issue

---------

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

* [MOSIP-27253,MOSIP-27254,MOSIP27255] Updated Download card method (#912)

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

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

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

…
  • Loading branch information
12 people authored Nov 3, 2023
1 parent 691470e commit 15277b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
import io.mosip.resident.config.LoggerConfiguration;
import io.mosip.resident.constant.ApiName;
import io.mosip.resident.constant.MappingJsonConstants;
import io.mosip.resident.constant.ResidentErrorCode;
import io.mosip.resident.dto.AttributeListDto;
import io.mosip.resident.dto.UpdateCountDto;
import io.mosip.resident.exception.ApisResourceAccessException;
import io.mosip.resident.exception.ResidentServiceCheckedException;
import io.mosip.resident.exception.ResidentServiceException;
import io.mosip.resident.service.ProxyIdRepoService;
import io.mosip.resident.util.ResidentServiceRestClient;
import org.apache.commons.lang3.exception.ExceptionUtils;
Expand All @@ -26,6 +28,7 @@
import java.util.stream.Collectors;

import static io.mosip.resident.constant.ResidentErrorCode.API_RESOURCE_ACCESS_EXCEPTION;
import static io.mosip.resident.constant.TemplateVariablesConstants.ATTRIBUTE_LIST;

/**
* @author Manoj SP
Expand Down Expand Up @@ -68,7 +71,11 @@ public ResponseWrapper<?> getRemainingUpdateCountByIndividualId(List<String> att

if (responseWrapper.getErrors() != null && !responseWrapper.getErrors().isEmpty()) {
ResponseWrapper<AttributeListDto> listDtoResponseWrapper = new ResponseWrapper<>();
listDtoResponseWrapper.setResponse(getRemainingUpdateCountFromConfig(attributeList));
if(attributeList != null) {
listDtoResponseWrapper.setResponse(getRemainingUpdateCountFromConfig(attributeList));
} else {
throw new ResidentServiceException(ResidentErrorCode.MISSING_INPUT_PARAMETER, ATTRIBUTE_LIST);
}
logger.debug("ProxyIdRepoServiceImpl::getRemainingUpdateCountByIndividualId()::exit");
return listDtoResponseWrapper;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.List;
import java.util.Map;

import io.mosip.resident.exception.ResidentServiceException;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
Expand Down Expand Up @@ -64,8 +65,7 @@ public void testGetRemainingUpdateCountByIndividualIdException()
service.getRemainingUpdateCountByIndividualId(List.of());
}

@SuppressWarnings("unchecked")
@Test(expected = Exception.class)
@Test(expected = ResidentServiceException.class)
public void testGetRemainingUpdateCountByIndividualIdIf()
throws ResidentServiceCheckedException, ApisResourceAccessException {
ResponseWrapper<?> responseWrapper = new ResponseWrapper<>();
Expand Down

0 comments on commit 15277b1

Please sign in to comment.