-
Notifications
You must be signed in to change notification settings - Fork 14
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
#3745 - Modify process that reads SIN & CRA verification response files #3835
Conversation
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...s/src/processors/schedulers/cra-integration/_tests_/cra-receive-files/CRA_200_PBCSA00000.TXT
Outdated
Show resolved
Hide resolved
...processors/schedulers/cra-integration/_tests_/cra-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
...dation-integration/_tests_/sin-validation-process-response-integration.scheduler.e2e-spec.ts
Outdated
Show resolved
Hide resolved
@@ -47,7 +47,7 @@ export class SINValidation extends RecordDataModel { | |||
type: "timestamptz", | |||
nullable: true, | |||
}) | |||
dateReceived?: Date; | |||
dateReceived?: Date | null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dateReceived is already marked as nullable and declared as "dateReceived?". Please revert this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted
There was a problem hiding this 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 👍
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for doing the changes!
…es (#3835) ***Acceptance Criteria*** - [x] Jobs must continue processing remaining records in a file after it fails to process a record. - [x] SIN and CRA response files will need to be archived after processing even where there are failed records. (IMB staff will need to monitor the jobs to confirm if errors occur processing SIMS response files and address them accordingly) - [x] Disable error reporting when SIMS Reference_IDX fails to match. - [x] If records are identified as SIMS records (based on the project area information being present), errors will be generated as usual. - [x] If records are identified as SFAS records (based on the project area information NOT being present), records should be skipped. - [x] For the SIN validation ([source reference](https://github.com/bcgov/SIMS/blob/8864eaa8a5f62360f5e3c91c6de06f319e008250/sources/packages/backend/libs/integrations/src/services/sin-validation/sin-validation.service.ts#L119)), if the `referenceIndex` is not found on SIMS, assume the record is from SFAS and do not log as an error. - [x] For income verifications, the records should already be skipped. Execute a manual test to ensure that a file with records that do not contain the `VERIFICATION_ID` in the free project area is skipped. Consider creating an E2E to execute the test. - [x] Demo for both cases with a sample file.
### The following are achieved in this hotfix: - SIN Validation - Gender Field Limit (#3839) - SINF restriction bridge mapping and rename to SINR (#3846) - Virus Scanning - Not functioning PROD (#3854) - Modify process that reads SIN & CRA verification response files (#3835) - Hotfix: Bulk uploads: Unexpected error while uploading the file displays when "Validate" or "Create now" are selected for valid bulk upload - Virus Scanning - Empty File Check - Hotfix: Change file naming convention of the SIN validation request file - Hotfix: Fix for withdraw upload - Hotfix: Name change for CRA Response file - Parse the last 2 characters in NEB as decimal places - Update PTMSFAA File Name --------- Co-authored-by: Ashish <[email protected]> Co-authored-by: Andre Pestana <[email protected]> Co-authored-by: Lewis Chen <[email protected]> Co-authored-by: Andrew Boni Signori <[email protected]> Co-authored-by: Dheepak Ramanathan <[email protected]>
### The following are the achieved in this hotfix: - SIN Validation - Gender Field Limit (#3839) - SINF restriction bridge mapping and rename to SINR (#3846) - Virus Scanning - Not functioning PROD (#3854) - Modify process that reads SIN & CRA verification response files (#3835) - Hotfix: Bulk uploads: Unexpected error while uploading the file displays when "Validate" or "Create now" are selected for valid bulk upload - Virus Scanning - Empty File Check - Hotfix: Change file naming convention of the SIN validation request file - Hotfix: Fix for withdraw upload - Hotfix: Name change for CRA Response file - Parse the last 2 characters in NEB as decimal places - Update PTMSFAA File Name --------- Co-authored-by: Ashish <[email protected]> Co-authored-by: Andre Pestana <[email protected]> Co-authored-by: Lewis Chen <[email protected]> Co-authored-by: Andrew Boni Signori <[email protected]> Co-authored-by: Dheepak Ramanathan <[email protected]>
Acceptance Criteria
referenceIndex
is not found on SIMS, assume the record is from SFAS and do not log as an error.VERIFICATION_ID
in the free project area is skipped. Consider creating an E2E to execute the test.