-
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
#270 - Merge Hotfix V2.1.2 to main #4088
Conversation
andrewsignori-aot
commented
Dec 12, 2024
- Hotfix 2.1.2 merge to main.
- Fix E2E for the new program year.
Moving the latest changes from Bull Scheduler to release 2.1.
- Created a new table to map SFAS code to SIMS legacy restriction codes. - New records added to the table map will be automatically added to the `sims.restrcitions` if not present yet. - The column `is_legacy_only` creates a distinction between the SFAS-SIMS mapped restriction and the restrictions that should be added to SIMS but not managed (only resolved). - Kept generating a notification for each student that had a new legacy restriction added. - The creation date is controlled and the query to get students looks for any new student restriction created by the import process. ### Rollback ![image](https://github.com/user-attachments/assets/ab008da3-af0a-4664-bbb9-12ff4753b60f) ![image](https://github.com/user-attachments/assets/57a5f728-688d-4d0c-a8e4-48c3da58a39b)
…Calculations (#4042) Ignore Cancelled Legacy Applications on SIMS Validations and Calculations
- Prevent API from retuning 'No effect' notifications since they are not supposed to be notified to the student. - Consolidated `LGCY_*` restrictions into a single `LGCY` restriction code to be returned to the student. The error code returned will be the highest one present in the list of the `LGCY_*` being returned. - Create few `LGCY_*` in the DB seed to allow the E2E to use them. - Fixed the `db:seed:test:clean` that was not removing the `create_history_entry` function leading to an error when the DB was populated again. - Close Nestjs app (`app.close()`) to avoid the `db:seed:test:clean` and `db:seed:test` to be hanging and waiting. ### Ministry visualization for the new legacy map ![image](https://github.com/user-attachments/assets/e50659f4-4cc1-4b9a-b6a6-de27e99c79b9) ### SQL to be manually added during release ```sql INSERT INTO sims.sfas_restriction_maps (legacy_code, code, is_legacy_only) VALUES ('TD', 'LGCY_TD', TRUE), ('B5', 'LGCY_B5', TRUE), ('B5A', 'LGCY_B5A', TRUE), ('B7', 'LGCY_B7', TRUE), ('SSD', 'LGCY_SSD', TRUE), ('Z2', 'LGCY_Z2', TRUE), ('M1', 'LGCY_M1', TRUE), ('SSRN', 'LGCY_SSRN', TRUE), ('B4', 'LGCY_B4', TRUE), ('Z1', 'LGCY_Z1', TRUE) ```
…4058) Fix the legacy program year totals for program year limits
…#4084) Removed the code setting the first disbursement back for today. ### Sample application when the offering start date is ahead (2 disbursements) ![image](https://github.com/user-attachments/assets/cdf48f54-7838-457c-aa9d-240b386c17ed) ### Sample application when the offering start date is in the past (2 disbursements) ![image](https://github.com/user-attachments/assets/259e4572-449c-4baf-808b-d7d19ec7d49d)
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.
LGTM, nice work @andrewsignori-aot
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 👍