Skip to content

Commit

Permalink
admin rewrite: make OMERO.tables module configurable
Browse files Browse the repository at this point in the history
Add @omero.tables.module@ to the list of templates to be substituted
in the server IceGrid XML templates and replaces it with the
value. of `omero.tables.module` in the OMERO configuration, using
`runTables` as the default.

This change should be a no-op when used with OMERO.server binaries up
to 5.6.11 but will be mandatory once the templates are updated to
use the new substitution field.
  • Loading branch information
sbesson committed Jul 5, 2024
1 parent 8d8108d commit c7f2c9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/omero/plugins/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,9 @@ def clear_tail(elem):
'@omero.ports.registry@': config.get(
'omero.ports.registry', '4061'),
'@omero.master.host@': config.get('omero.master.host', config.get(
'Ice.Default.Host', '127.0.0.1'))
'Ice.Default.Host', '127.0.0.1')),
"@omero.tables.module@": config.get(
"omero.tables.module", "runTables")
}

client_transports = config.get('omero.client.icetransports', 'ssl,tcp')
Expand Down

0 comments on commit c7f2c9f

Please sign in to comment.