Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11670 (new)

Opened 10 years ago

Last modified 10 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.

Change History (1)

comment:1 Changed 10 years ago by jamoore

  • Cc python-team@… added

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.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65878 sec.)

We're Hiring!