openmicroscopy icon indicating copy to clipboard operation
openmicroscopy copied to clipboard

Update IceGrid templates to make the OMERO.tables module configurable

Open sbesson opened this issue 1 year ago • 0 comments

Add a new top-level TABLES_MODULE variable used by the Tables template to start the new server. Functionally, this will need to be tested alongside a corresponding OMERO.py with the logic to replace @omero.tables.module@ by either the value of the omero.tables.module configuration or the default runTables value.

Together with https://github.com/ome/omero-py/pull/419, the following scenarios should be tested

  • the default behavior should be unchanged i.e. starting the server either via omero admin start or the systemd service file should rewrite the IceGrid templates using the default runTables value and start the Tables service
  • setting omero config set omero.tables.module runTables in the OMERO configuration and restarting the server should have an identical behavior
  • setting omero config set omero.tables.module notexistingTables in the OMERO configuration and restarting the server should not start the Tables service and master.err should contain a line similar to /opt/omero/OMERO.venv/bin/python: No module named notexistingTables

sbesson avatar Jul 05 '24 11:07 sbesson