CDR Tickets

Issue Number 5252
Summary [Internal] Modify RemoveProdGroups.py
Created 2023-06-15 12:58:48
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2023-07-13 13:02:56
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.348911
Description

The script RemoveProdGroups.py has the notification groups to be updated after a database refresh hard-coded.

It would be better to have these group/recipient pairs stored as control values so they can easily be updated.

Comment entered 2023-07-13 13:02:40 by Englisch, Volker (NIH/NCI) [C]

I created a new group "DBRefresh" and a value name "RemoveProdGroups" holding the notification groups and accounts to be used for overwriting the PROD groups after a CDR database refresh. [Note: This is a manual process]

The following program has been modified and tested on DEV.

Comment entered 2023-10-11 17:50:39 by Englisch, Volker (NIH/NCI) [C]

I tested these changes on QA and found that the distribution group information was selected from DEV instead of the current server.  This has been fixed and tested on QA:

Comment entered 2023-11-08 16:58:47 by Englisch, Volker (NIH/NCI) [C]

We're not going to run the script on PROD because PROD will never get "refreshed" but I added the new group of control values for consistency across the tiers anyway.

Closing ticket.

Elapsed: 0:00:00.001635