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

#3833 - SIN Validation - Gender Field Limit #3839

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

andrepestana-aot
Copy link
Collaborator

@andrepestana-aot andrepestana-aot commented Oct 25, 2024

Altered sims.sin_validations.gender_sent to be VARCHAR(50).

Tested with a pending SIN Validation:

image

After running sin-validation-process-integration:

image

Revert:
image

@andrepestana-aot andrepestana-aot self-assigned this Oct 25, 2024
@andrepestana-aot andrepestana-aot added the DB DB migration involved label Oct 25, 2024
@andrepestana-aot andrepestana-aot marked this pull request as ready for review October 25, 2024 21:22
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 @andrepestana-aot

Comment on lines 3 to 6
SET
gender_sent = NULL
WHERE
LENGTH(gender_sent) > 10;
Copy link
Collaborator

@dheepak-aot dheepak-aot Oct 25, 2024

Choose a reason for hiding this comment

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

Is it desired for rollback ? IMO, we must just do the alter statement.

If at all there is any need to rollback and there is data we need to handle, we can handle it manually.

@andrewsignori-aot ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would agree with @dheepak-aot. No values greater than 10 will be expected in any DB since they are not supported. The rollback script, if executed, should be executed at release time.

Copy link

Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.52% ( 3670 / 16295 )
Methods: 10.15% ( 206 / 2029 )
Lines: 25.9% ( 3186 / 12301 )
Branches: 14.15% ( 278 / 1965 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.43% ( 583 / 891 )
Methods: 59.26% ( 64 / 108 )
Lines: 68.54% ( 464 / 677 )
Branches: 51.89% ( 55 / 106 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 83.87% ( 1175 / 1401 )
Methods: 84.29% ( 118 / 140 )
Lines: 84.78% ( 997 / 1176 )
Branches: 70.59% ( 60 / 85 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 66.01% ( 5571 / 8439 )
Methods: 63.3% ( 683 / 1079 )
Lines: 70.12% ( 4401 / 6276 )
Branches: 44.93% ( 487 / 1084 )

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 change. Looks good 👍

@andrepestana-aot andrepestana-aot added this pull request to the merge queue Oct 25, 2024
Merged via the queue into main with commit 8040205 Oct 25, 2024
20 checks passed
@andrepestana-aot andrepestana-aot deleted the 3833_sin_validation_gender_field_limit branch November 1, 2024 16:49
sh16011993 added a commit that referenced this pull request Nov 5, 2024
### 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]>
github-merge-queue bot pushed a commit that referenced this pull request Nov 5, 2024
### 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DB DB migration involved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants