jwql icon indicating copy to clipboard operation
jwql copied to clipboard

Data created by monitors and accessed by the JWQL web server should be on central storage

Open york-stsci opened this issue 2 years ago • 2 comments

See JIRA JWQL-153 for a full description (https://jira.stsci.edu/projects/JWQL/issues/JWQL-153)

york-stsci avatar Nov 07 '23 14:11 york-stsci

As planned, this change will involve several steps:

  1. Add a "working" key to config.json, with an identical value to the current "output" key
  2. In all JWQL code that uses the "output" key,
    • If the code is finding a file to display on the website, leave it as is
    • If the code is storing a file that the website will display, leave it as is
    • If the code is storing a file that is not needed by the website, change the code to use the "working" key
  3. Copy the files that are used by the web server to central storage, based at /grp/jwst/ins/jwql/data rather than at /internal/data1/data
  4. Set the "output" key to point to central storage
  5. Restart the webserver

In terms of timing, steps 1 and 2 can be done on their own, and should be merged before any later steps run. Once the code changes are in place, steps 3 and 4 should be run while none of the monitors are running, probably during the day. Steps 3 to 5 should be run, essentially, as a unit, to make sure that all outputs are in place, and the directories are synchronized when the changeover happens.

york-stsci avatar Nov 07 '23 15:11 york-stsci

This issue is tracked on JIRA as JWQL-153.

stscijgbot-jwql avatar Nov 15 '23 06:11 stscijgbot-jwql

Comment by Bryan Hilbert on JIRA:

Brian York is this still in progress, or has this all been completed?

stscijgbot-jwql avatar May 09 '24 20:05 stscijgbot-jwql

Comment by Brian York on JIRA:

Bryan Hilbert yes this has been done.

stscijgbot-jwql avatar May 10 '24 18:05 stscijgbot-jwql