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

#3832 - Hotfix: Change file naming convention of the SIN validation request file #3864

Merged

Conversation

bidyashish
Copy link
Collaborator

@bidyashish bidyashish commented Oct 31, 2024

*AC
The expected file name is just BC####.OS in all environments.

  • Do not use value from environment variable ESDC_ENVIRONMENT_CODE.
  • No changes needed to response file handling.

Need to fix Invalid header format 0010000000120241023BC. There’s 8 characters, but should be 6 characters only.

*Note:
No E2E file changed PCSLP.PBC.BC0000.ISR
Current E2E test has correct header format 00100500220220921BC1 -> 20 Character
Sample Invalid header 0010000000120241023BC -> 22 Character

@bidyashish bidyashish self-assigned this Oct 31, 2024
@bidyashish bidyashish added Hotfix PR created for hotfix High Priority Priority ticket for grooming labels Oct 31, 2024
@bidyashish bidyashish marked this pull request as draft October 31, 2024 17:10
@ninosamson
Copy link
Collaborator

I'd also add the additional AC on this one for batch number @bidyashish

@dheepak-aot
Copy link
Collaborator

The batch number update is missing in the PR. Please take care.

image

@dheepak-aot dheepak-aot self-requested a review October 31, 2024 17:27
@bidyashish bidyashish changed the title #3832-Hotfix: Change file naming convention of the SIN validation request file #3832 - Hotfix: Change file naming convention of the SIN validation request file Oct 31, 2024
Copy link

Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 21.9% ( 3495 / 15960 )
Methods: 9.89% ( 197 / 1991 )
Lines: 25.59% ( 3081 / 12039 )
Branches: 11.24% ( 217 / 1930 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 58.64% ( 509 / 868 )
Methods: 52.88% ( 55 / 104 )
Lines: 62.27% ( 411 / 660 )
Branches: 41.35% ( 43 / 104 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.09% ( 1058 / 1229 )
Methods: 87.3% ( 110 / 126 )
Lines: 87.08% ( 903 / 1037 )
Branches: 68.18% ( 45 / 66 )

@bidyashish bidyashish marked this pull request as ready for review October 31, 2024 17:52
Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 65.62% ( 5524 / 8418 )
Methods: 63.14% ( 680 / 1077 )
Lines: 69.75% ( 4367 / 6261 )
Branches: 44.17% ( 477 / 1080 )

@@ -35,7 +35,7 @@ export class SINValidationFileHeader implements FixedFormatFileLine {
getFixedFormat(): string {
const record = new StringBuilder();
record.append(this.recordTypeCode);
record.appendWithStartFiller(this.batchNumber, 8, NUMBER_FILLER);
record.appendWithStartFiller(this.batchNumber, 6, NUMBER_FILLER);
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

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.

Looks good👍

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

👍

@bidyashish bidyashish merged commit 32feef5 into hotfix/v1.14.1 Oct 31, 2024
20 checks passed
@bidyashish bidyashish deleted the feature/#3832-change-file-name-sin-validation branch October 31, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority Priority ticket for grooming Hotfix PR created for hotfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants