CDR Tickets

Issue Number 5011
Summary [General] Ability to Preserve Testing/Training Documents on QA
Created 2021-07-30 15:42:16
Issue Type New Feature
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2021-08-10 20:52:52
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.295407
Description

Following the modifications done in OCECDR-4631 on DEV, we would like to have similar medications on QA to allow us to preserve testing and training documents on QA.

Comment entered 2021-08-09 22:56:09 by Englisch, Volker (NIH/NCI) [C]

I created a new program called PullQaData.py which is based on the program we have running on DEV.  This program captures all documents identified by the "@KeepAtRefresh" attribute.  Once this program ran we can run a regular DB refresh followed by our PushDevData.py script to restore the previously captured documents. 

I will need to make some minor changes to these scripts but we can achieve the DB refresh on QA (for content documents only) similar to the refresh on DEV.

Comment entered 2021-08-10 20:50:37 by Englisch, Volker (NIH/NCI) [C]

The script to restore the documents ( PushDevData.py ) require the modified library cdr_dev_data.py which are part of Ohm.  I will therefore move this ticket to the Ohm release as well although we're able to run the new script on QA as long as the modified library file is in place.

Comment entered 2021-08-10 21:07:34 by Englisch, Volker (NIH/NCI) [C]

The following changes have been made:

Comment entered 2022-06-08 15:30:26 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Elapsed: 0:00:00.001594