Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4136 - Ecert File Creation - Need to generate 0 record files #4189

Merged
merged 11 commits into from
Dec 31, 2024

Conversation

bidyashish
Copy link
Collaborator

@bidyashish bidyashish commented Dec 30, 2024

Acceptance Criteria

  • On ecert creation (PT and FT) we need to generate a 0 record file when there are no records eligible to send on the file.
  • 0 record file should generate header and trailer record.

Technical

  • Create at least one E2E to FT and PT.

Demo

  1. E-cert Queue with 0 Records
    image

1st E-cert File:
image

2nd E-cert File with 0 records:
image

@dheepak-aot
Copy link
Collaborator

Good Job @bidyashish please take a look at the comments.

@@ -1381,5 +1398,12 @@ describe(
]);
},
);

// Helper function to get the uploaded file name.
Copy link
Collaborator

@dheepak-aot dheepak-aot Dec 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the method comments in this way.

    /**
     * Helper function to get the uploaded file name.
     * @returns The uploaded file name
     */

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Collaborator

@dheepak-aot dheepak-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the changes. Looks good 👍

One last minor comment. Please take a look.

Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.22% ( 3782 / 17020 )
Methods: 10.19% ( 219 / 2150 )
Lines: 25.66% ( 3277 / 12770 )
Branches: 13.62% ( 286 / 2100 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.59% ( 589 / 898 )
Methods: 59.63% ( 65 / 109 )
Lines: 68.72% ( 468 / 681 )
Branches: 51.85% ( 56 / 108 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.14% ( 1249 / 1450 )
Methods: 82.42% ( 136 / 165 )
Lines: 88.51% ( 1032 / 1166 )
Branches: 68.07% ( 81 / 119 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 67.4% ( 5922 / 8787 )
Methods: 65.09% ( 729 / 1120 )
Lines: 71.33% ( 4647 / 6515 )
Branches: 47.4% ( 546 / 1152 )

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. nice work @bidyashish

@bidyashish bidyashish added this pull request to the merge queue Dec 31, 2024
Merged via the queue into main with commit 1cafd38 Dec 31, 2024
21 checks passed
@bidyashish bidyashish deleted the feature/#4136-o-files-for-finastra branch December 31, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants