Skip to content

Commit

Permalink
Updated sonar bug fix (#869)
Browse files Browse the repository at this point in the history
* [MOSIP-24670] Updated API correction id and version

* [MOSIP-24670] Updated API body correction

* [MOSIP-22640] Fixed Sonar Bugs

* updated PR

* updated PR

* updated review code

* [MOSIP-22640] Fixed sonar bugs

* updated PR

* updated PR

* [MOSIP-22639] Resolved security hotspots in code

* [MOSIP-24630] Fixed Security Vulnerability in code

* added error for 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
  • Loading branch information
aihamh authored Apr 13, 2023
1 parent a78d614 commit b254725
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ private Tuple2<String, String> updateInResidentTransactionTable(Map<String, Obje
}

// Update status
residentTransactionEntities.stream().forEach(residentTransactionEntity -> {
residentTransactionEntity.setStatusCode(status);
residentTransactionEntity.setReadStatus(false);
residentTransactionEntity.setUpdBy(RESIDENT);
residentTransactionEntity.setUpdDtimes(DateUtils.getUTCCurrentDateTime());
});
if (residentTransactionEntities != null) {
residentTransactionEntities.stream().forEach(residentTransactionEntity -> {
residentTransactionEntity.setStatusCode(status);
residentTransactionEntity.setReadStatus(false);
residentTransactionEntity.setUpdBy(RESIDENT);
residentTransactionEntity.setUpdDtimes(DateUtils.getUTCCurrentDateTime());
});
}
residentTransactionRepository.saveAll(residentTransactionEntities);
}
}
Expand Down

0 comments on commit b254725

Please sign in to comment.