CDR Tickets

Issue Number 5134
Summary [Internal] Add Removed Documents to Publishing Notification
Created 2022-08-22 23:09:48
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2022-10-25 18:00:14
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.325754
Description

Once our documents have been published and pushed a notification is submitted reporting the number of pushed documents:

"Pushed 3 documents in 44.21 seconds"

When I was checking the PubStatus report for the push Job 20701, I realized that in addition to pushing these 3 documents - as reported - there were also 7 documents removed as duplicates.

I don't look at the PubStatus report when there were no documents pushed but it's possible that 0 documents are reported although many documents have been processed (removed).

I would like to include the number of removed documents in the email notification.

Comment entered 2022-10-25 17:59:30 by Englisch, Volker (NIH/NCI) [C]

I've modified the following script to include the number of removed documents in the email notification:

  • cdrpub.py

Comment entered 2023-05-09 16:12:10 by Englisch, Volker (NIH/NCI) [C]

I blocked a couple of Term documents and ran a nightly publishing job on QA.  The resulting email notification included the notice of "2 documents removed" as expected.

Comment entered 2023-05-24 18:34:50 by Englisch, Volker (NIH/NCI) [C]

I will close the ticket once a publishing job included a removed document and the modified message appears.

Comment entered 2023-05-31 11:59:28 by Englisch, Volker (NIH/NCI) [C]

Today's hot-fix publishing job correctly reported removed documents.

Closing ticket.

Elapsed: 0:00:00.002035