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 |
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.
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?
I'd be inclined to put it directly in https://ncisvn.nci.nih.gov/svn/oce_dev/Products/Drupal/sites
Should this be added to the release?
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.
This issue will likely be overtaken by OCEEBMS-346, which is the task to split out the EBMS into its own Drupal core.
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.
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