Task #11670 (new)
Opened 11 years ago
Last modified 11 years ago
RFE: omero config get should return default values
Reported by: | spli | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Configuration | Version: | 4.4.9 |
Keywords: | n.a. | Cc: | python-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
E.g. The default value of omero.web.ui.right_plugins is
[["Acquisition", "webclient/data/includes/right_plugin.acquisition.js.html", "metadata_tab"], ["Preview", "webclient/data/includes/right_plugin.preview.js.html", "preview_tab"]]
omero config get omero.web.ui.right_plugins
returns nothing.
But if you naively run
omero config set omero.web.ui.right_plugins '[["ROIs", "webtest/webclient_plugins/right_plugin.rois.js.html", "image_roi_tab"]]'
You will overwrite the default value.
Both the server and web have defaults which aren't stored in config.xml. One option would be to have another command which retrieves defaults omero web get-default omero.web.ui.right_plugins though you obviously have to know to do that. Another would be to use a second API which overlays all the different sources.