openmicroscopy
openmicroscopy copied to clipboard
Update IceGrid templates to make the OMERO.tables module configurable
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 startor the systemd service file should rewrite the IceGrid templates using the defaultrunTablesvalue and start theTablesservice - setting
omero config set omero.tables.module runTablesin the OMERO configuration and restarting the server should have an identical behavior - setting
omero config set omero.tables.module notexistingTablesin the OMERO configuration and restarting the server should not start theTablesservice andmaster.errshould contain a line similar to/opt/omero/OMERO.venv/bin/python: No module named notexistingTables