CDR Tickets

Issue Number 3168
Summary [Internal] Add GKTarget Parameter to Re-publishing Job Interface
Created 2010-05-28 13:31:00
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2011-10-06 15:23:57
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.107496
Description

BZISSUE::4855
BZDATETIME::2010-05-28 13:31:00
BZCREATOR::Volker Englisch
BZASSIGNEE::Volker Englisch
BZQACONTACT::Bob Kline

The republishing job currently does not specify a target on the Gatekeeper (Live, Preview, or Staging) when a job is being submitted. The default on the Cancer.gov side is to stop publishing at the Preview stage is nothing else has been specified.
I'd like to update our software to allow specifying the GKTarget when submitting a re-publish job since I'm frequently waiting for a document to appear on Cancer.gov when - after waiting for some time - I realize that the job will have to be pushed to the live site manually.
If other users from our group are submitting a re-publish job they would have to contact a user with an account on Gatekeeper in order to get these documents published to the live site. If we're not testing new software on Gatekeeper there's typically no need to insist on this extra step.

Comment entered 2010-07-19 13:03:42 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2010-07-19 13:03:42
BZCOMMENTOR::Volker Englisch
BZCOMMENT::1

Changing title to mark this issue as an 'internal' programming task.

Comment entered 2010-10-04 16:20:44 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2010-10-04 16:20:44
BZCOMMENTOR::Volker Englisch
BZCOMMENT::2

I sort of remember Blair once saying that this is a function of the Gatekeeper. All Re-publish jobs are automatically set not to go directly to the live site.
I will look at this once my system is setup to work with the Gatekeeper environment.

Comment entered 2011-01-31 10:58:29 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2011-01-31 10:58:29
BZCOMMENTOR::Volker Englisch
BZCOMMENT::3

This turned out not to be a programming issue but merely a change in a parameter of our publishing document.

The parameter is being passed from the publishing document but they are hidden from the user when the Re-publish job is submitted. I've updated the value on FRANCK to allow the test data for WCM to be pushed to the Live site instead of the preview site.

Comment entered 2011-09-16 14:10:55 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2011-09-16 14:10:55
BZCOMMENTOR::Volker Englisch
BZCOMMENT::4

I've added the GK Target element to the Republish web interface to allow us to overwrite the value of the GKPubTarget that has been specified in the publishing document. The following programs had to be modified slightly:
Republish.py
RepublishDocs.py

I'm still testing on MAHLER.

Comment entered 2011-09-20 16:59:21 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2011-09-20 16:59:21
BZCOMMENTOR::Volker Englisch
BZCOMMENT::5

I have tested the changes that will allow us to specify the GKTarget at the time a Republish job is being submitted and we can now publish to all valid stages.
Please note though that Gatekeeper still has the capabilities to overwrite the target that's been specified by the republish job.
The following programs have been copied to FRANCK and MAHLER.
Republish.py - 10200
RepublishDocs.py - 10201

Comment entered 2011-10-06 15:23:57 by Englisch, Volker (NIH/NCI) [C]

BZDATETIME::2011-10-06 15:23:57
BZCOMMENTOR::Volker Englisch
BZCOMMENT::6

As discussed at our status meeting the programs have been copied to BACH.
Republish.py - 10200
RepublishDocs.py - 10201

Closing issue.

Elapsed: 0:00:00.001398