Closed dheepak-aot closed 3 weeks ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Totals | |
---|---|
Statements: | 20.1% ( 2971 / 14784 ) |
Methods: | 10.32% ( 194 / 1880 ) |
Lines: | 22.99% ( 2565 / 11158 ) |
Branches: | 12.14% ( 212 / 1746 ) |
Totals | |
---|---|
Statements: | 56.32% ( 450 / 799 ) |
Methods: | 50.51% ( 50 / 99 ) |
Lines: | 60.56% ( 370 / 611 ) |
Branches: | 33.71% ( 30 / 89 ) |
Totals | |
---|---|
Statements: | 80.06% ( 755 / 943 ) |
Methods: | 78.1% ( 82 / 105 ) |
Lines: | 81.2% ( 652 / 803 ) |
Branches: | 60% ( 21 / 35 ) |
Totals | |
---|---|
Statements: | 61.33% ( 4915 / 8014 ) |
Methods: | 58.1% ( 599 / 1031 ) |
Lines: | 65.69% ( 3909 / 5951 ) |
Branches: | 39.44% ( 407 / 1032 ) |
ECert feedback file processing Part 2
Remove the existing column
error_code
and drop the unique constraint based onerror_code
and add a unique constraint to useecert_feedback_error_id
disbursement_feedback_error
to use error code from relationshipeCertFeedbackError
Update to ECert Integration
[x] Created a service to get the key value pair of e-Cert feedback error code and it's respective error id in the table
sims.ecert_feedback_errors
. example:Note: Having the error code map will avoid going to database every time to get the error id for a given error code to create a
feedback error record
[x] Updated ECert file handler to use the error code map and create feedback entries to
disbursement_feedback_errors
using the error id of the respective error code received.[x] Updated ECert file handler to throw error and abort the processing of the file when one or more received error codes are not present in the system (in the table
sims.ecert_feedback_errors
. As per business we are suppose to get new error codes if introduced well in advance from federal.Upcoming PR
sims.disbursement_feedback_errors
.