CDR Tickets

Issue Number 4440
Summary [Publishing] Update Email Subject Line
Created 2018-03-14 14:51:22
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2018-06-07 13:43:51
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.222637
Description

We're currently using two different email subject formats to identify system generated messages:
a. [DEV] CDR Publishing Job 16381
b. [DEV] CDR Scheduler service restarted
c. CBIIT-DEV: Nightly Publishing Finished
d. CBIIT-DEV: Status and Error Report for Nightly Publishing

Please update our email notifications to use the format of the first two examples.

Comment entered 2018-04-05 07:31:26 by Kline, Bob (NIH/NCI) [C]

Code injecting "CBIIT-" at the front of subject lines:

d:/cdr/lib/Python/cdr.py:    return u"CBIIT-%s: %s" % (_Control.TIER.name, text)
d:/cdr/lib/Python/cdr_stats.py:        subject = "CBIIT-%s: %s" %(self.TIER.name, self.title)
d:/cdr/lib/Python/CTGovUpdateReportBatch.py:        subj = "CBIIT-%s: CTGov Update Report has failed" % TIER.name
d:/cdr/lib/Python/CTGovUpdateReportBatch.py:    subj = "CBIIT-%s: CTGov Update Report has completed" % TIER.name
d:/cdr/Scheduler/tasks/gov_delivery_reports.py:            subject = "CBIIT-%s: %s" % (self.TIER.name, self.title)
d:/cdr/Scheduler/tasks/licensee_list.py:        subject = "CBIIT-%s: %s" % (cdr.Tier().name, title)
d:/cdr/Scheduler/tasks/push_job_verifier.py:            subject = "CBIIT-%s: Push job %d stalled" % (self.tier, job_id)
d:/cdr/Scheduler/tasks/push_job_verifier.py:            subject = ("CBIIT-%s: Problems with loading of job %d "
d:/cdr/Scheduler/tasks/translation_jobs.py:            subject = "CBIIT-%s: %s" % (cdr.Tier().name, control.title)
d:/cdr/Mailers/cdrmailer.py:                subject = "CBIIT-%s: Emailer lookup table failure" % tier
d:/cdr/Mailers/cdrmailer.py:                subject = "CBIIT-%s: CDR Mailer Job Status" % self.__TIER.name
d:/cdr/Publishing/CheckHotfixRemove.py:    subject = "CBIIT-%s: %s" % args
d:/cdr/Publishing/CheckHotfixRemove.py:    subject = "CBIIT-%s: %s" % args
d:/cdr/Publishing/GD_ChangedDocs.py:    subject = "CBIIT-%s: %s (%s)" % (cdr.Tier().name, title, language)
d:/cdr/Publishing/GD_NewTrials.py:    subject   = "CBIIT-%s: %s" % (TIER.name, title)
d:/cdr/Publishing/LicenseeList.py:    subject = "CBIIT-%s: %s" % args
d:/cdr/Publishing/PCIBStatsReport.py:    subject   = "CBIIT-%s: %s" % (cdr.Tier().name, title)
d:/cdr/Publishing/PubEmail.py:subject   = "CBIIT-%s: %s" % (cdr.Tier().name, sys.argv[1])
d:/cdr/Publishing/SubmitPubJob.py:    subject = 'CBIIT-%s: %s' % (TIER, header)
d:/cdr/Publishing/SubmitPubJob.py:        subject = 'CBIIT-%s: Status and Error Report for %s Publishing' % args
d:/cdr/Publishing/SubmitPubJob.py:    subject = '*** [CBIIT-%s] SubmitPubJob.py - Standard Failure' % TIER
Comment entered 2018-05-18 17:01:00 by Kline, Bob (NIH/NCI) [C]

: This will require a release. Do you want to add it to Ising?

Comment entered 2018-05-29 12:05:31 by Kline, Bob (NIH/NCI) [C]
Comment entered 2018-06-29 10:35:51 by Englisch, Volker (NIH/NCI) [C]

These changes look good on DEV.

Comment entered 2018-07-20 13:51:12 by Englisch, Volker (NIH/NCI) [C]

These changes look good on QA.

Comment entered 2018-08-09 14:37:08 by Englisch, Volker (NIH/NCI) [C]

The subject lines for our automated jobs are now synced up across all tiers.
Closing ticket.

Elapsed: 0:00:00.001648