EBMS Tickets

Issue Number 311
Summary Create a common sites.php file safe to use on all four tiers
Created 2015-08-13 12:14:34
Issue Type Improvement
Submitted By alan
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-09-08 09:08:58
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.167481
Description

If a file system is copied from one tier to another, one of the files that will be copied is the "sites.php" file that maps tier specific application names to canonical names understood within the tier. For example:

'ebms-dev.nci.nih.gov' = 'ebms.nci.nih.gov',
'ebms-qa' = 'ebms.nci.nih.gov'
...

Currently, we do not have a single file with accurate mappings for all projects (accrualnet, ebms, ninr, mynci) on all tiers. This issue is to create a single sites.php file that is accurate for all projects on all tiers, and to install it (with CBIIT assistance) on all tiers.

Comment entered 2015-08-13 21:41:21 by alan

The 'sites.php' file is ready to go, awaiting Bob's final okay to be followed by the removal of the commented out obsolete server mappings. We'll need a place to put it in the svn repository. How does this look:

oce_dev/Products/Drupal/shared/bin/sites.php

Is there a better place?

Comment entered 2015-08-13 21:51:19 by Kline, Bob (NIH/NCI) [C]
Comment entered 2015-08-14 16:22:30 by Juthe, Robin (NIH/NCI) [E]

Should this be added to the release?

Comment entered 2015-08-18 16:07:44 by alan

This file is shared by all of the Drupal projects that run on one server. In addition to EBMS, that includes MyNCI, NINR (National Institute of Nursing Research), and AccrualNet. I'm therefore expecting to put this up either as a hotfix on its own, or as part of the next release for any of those projects - which will probably be MyNCI.

Creating this JIRA issue under EBMS was arbitrary. I could have put it in any of them.

Comment entered 2015-12-02 12:29:40 by Juthe, Robin (NIH/NCI) [E]

This issue will likely be overtaken by OCEEBMS-346, which is the task to split out the EBMS into its own Drupal core.

Comment entered 2015-12-15 20:39:04 by alan

The work for this was done some time ago, however, as Robin points out, it may be overtaken, or partly overtaken, by OCEEBMS-346. I think it very likely that what I did a while ago will need to be partly redone when we are broken out onto our own server. And since it's a multi-tier issue, we need to wait until all four tiers have settled into their intended final state before adopting a stable solution.

Maybe we should put this on hold.

Comment entered 2016-09-08 09:08:58 by Kline, Bob (NIH/NCI) [C]

This is in version control as https://ncisvn.nci.nih.gov/svn/oce_dev/Products/Drupal/sites/sites.php and will be installed on all four EBMS servers as part of this release.

Elapsed: 0:00:00.000740