-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2369 - Create automatic email notifications for SABC staff (Final PR) (
#3179) ### As a part of this PR, the following tasks were completed: - Removed the existing env variable that contains the Ministry email and updated the various pieces of code where it was consumed from the codebase and added it to the release instructions. - Created the SQL script and added it to the release instructions to have the emails be updated on PROD for the ministry notification to be sent. - **Code Fix:** Code update to retrieve `institutionLocationName` in `education-program-offering.service.ts`. - Created story for the e2e tests for the notifications sent to the ministry [Link to the story](https://app.zenhub.com/workspaces/student-information-management-system-5fce9df5aa1b45000e937014/issues/gh/bcgov/sims/3184 ) **SQL:** ``` UPDATE sims.notification_messages AS notification_messages SET email_contacts = updated_notification_messages.email_contacts FROM (VALUES (1, '{[email protected]}'::varchar[]), (18, '{[email protected]}'::varchar[]), (19, '{[email protected]}'::varchar[]), (20, '{[email protected]}'::varchar[]), (21, '{[email protected]}'::varchar[]), (22, '{[email protected]}'::varchar[]), (23, '{[email protected]}'::varchar[]), (24, '{[email protected]}'::varchar[]), (25, '{[email protected]}'::varchar[])) AS updated_notification_messages(id, email_contacts) WHERE updated_notification_messages.id = notification_messages.id; COMMIT; ``` **Screenshot of release instructions:** <img width="874" alt="image" src="https://github.com/bcgov/SIMS/assets/7859295/c790cbe0-5da7-49b0-b02c-107fcae636f8">
- Loading branch information
1 parent
6e07840
commit 32041db
Showing
12 changed files
with
5 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters