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"

Requirement #800 (assigned)

Opened 12 years ago

Last modified 9 years ago

OMERO properties rework for simplification and central administration

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: Unscheduled
Component: Configuration Keywords: n.a.
Cc: Business Value: n.a.
Total Story Points: n.a. Roif: n.a.
Mandatory Story Points: n.a.

Description (last modified by jmoore)

This ticket subsumes:

  • #437 - Remove local.properties.default
  • #556 - Ability to store omero.data.dir in local.properties rather than omero.properties
  • #660 - Copying local.properties into the ear file
  • #681 - Add db.port and data.dir to setup script
  • #718 - Preferences based configuration
  • #734 - Location for LDAP read/write values
  • #741 - proper defaults
  • #746 - sensible javac|javadoc.maxmem values
  • #753 - central administration
  • #754 - A writable configuration store for ldap

And will also include the merging of ice.config & glacier2.config with omero.properties (with overrides in local.properties).

Other possibilities:

  • Allow comma separated values in OMERO_CONFIG for prefs.class
  • Allow a path value in OMERO_CONFIG for prefs.class
  • Failover to using $HOME/.omero.config when Java not present from Python
  • Warn when Java preferences or .omero.config are not umask 077
  • Use IConfig as the central configurator which is injected into beans. This would allow hot-swapping properties
  • Outline all environment properties which are of importance for OmeroBuild, OmeroBlitz, OmeroGrid, etc. (ICE_CONFIG in grid?, OMERO_CONFIG, OMERO_MASTER, OMERO_NODE, ..., NOMAKE, ...)

Change History (22)

comment:1 Changed 12 years ago by jmoore

  • Description modified (diff)

Added #718

comment:2 Changed 12 years ago by jmoore

prefs class available with:

comment:3 Changed 12 years ago by jmoore

  • Description modified (diff)
  • Status changed from new to assigned

Am now adding a configuration table for persistent properties. OmeroSearch is the first requirement, needing to keep up with the id of the current EventLog to search.

comment:4 Changed 12 years ago by jmoore

  • Milestone changed from 3.0-Beta3 to 3.0-Beta4

Though pieces of this are done, it won't be ready for Beta3. Pushing.

comment:5 Changed 11 years ago by jmoore

  • Description modified (diff)

comment:6 Changed 11 years ago by jmoore

  • Description modified (diff)

comment:7 Changed 11 years ago by jmoore

  • Description modified (diff)

comment:8 Changed 11 years ago by jmoore

Look into deprecating the use of ResourceBundle.getBundle("omero") and similar:

$ find . -name "*.java" -exec grep ResourceBundle {} /dev/null \; | grep getBundle
./components/client/test/ome/client/itests/LoginTest.java:    static ResourceBundle locals = ResourceBundle.getBundle("local");
./components/common/src/ome/system/UpgradeCheck.java:     *            ResourceBundle.getBundle("omero").getString("omero.version");
./components/common/src/ome/system/Version.java:    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle("omero");
./components/common/test/ome/system/utests/UpgradeCheckTest.java:    ResourceBundle bundle = ResourceBundle.getBundle("omero");
./components/model/src/ome/model/internal/Permissions.java:            ResourceBundle omero = ResourceBundle.getBundle("omero");
./components/server/src/ome/services/jboss/OmeroContextHook.java:    ResourceBundle bundle = ResourceBundle.getBundle("omero");
./components/server/src/ome/services/util/DBPatchCheck.java:    ResourceBundle bundle = ResourceBundle.getBundle("omero");
./components/server/src/ome/services/util/ServerVersionCheck.java:    ResourceBundle bundle = ResourceBundle.getBundle("omero");
./components/tools/OmeroImporter/src/ome/formats/importer/Main.java:        ResourceBundle bundle = ResourceBundle.getBundle("omero");
./components/tools/WebAdmin/src/ome/admin/controller/LoginBean.java:        ResourceBundle res = ResourceBundle.getBundle("omero");

comment:9 Changed 11 years ago by jmoore

  • Description modified (diff)

comment:10 Changed 11 years ago by jmoore

r3795 allows users to check if password reset is permitted.

comment:11 Changed 11 years ago by jmoore

  • Milestone changed from OMERO-Beta4 to OMERO-Beta4.1

Largely done, but pushing to the next milestone for review.

comment:12 Changed 11 years ago by jmoore

r4041 corrects IConfig issues.

comment:13 Changed 10 years ago by jmoore

Once property change notification is in place, don't forget to also update changes to the default permissions settings.

comment:14 Changed 10 years ago by jmoore

  • Type changed from User Story to Requirement

comment:15 Changed 9 years ago by jmoore

(In [7201]) OmeroCli: All plugins updated to argparse.py. See #800, #1947, #2001, #2213, Fix #2062

comment:16 Changed 9 years ago by jmoore

(In [7205]) OmeroCli: Working configuration in admin.py. See #800, #2213, #2214

comment:17 Changed 9 years ago by jmoore

(In [7207]) OmeroCli: Updating config on startup and maintaining lock. See #800, #2213, #2214

comment:18 Changed 9 years ago by jmoore

(In [7208]) OmeroCli: Adding bin/omero config lock and LockException handling. See #800, #2213, #2214

comment:19 Changed 9 years ago by jmoore

(In [7217]) OmeroCli: Upgrade logic for 4.2 configuration properties. See #800, Fix #2213, #2214

comment:20 Changed 9 years ago by jmoore

(In [7453]) OmeroConfig?: resetting ACTIVE on environmentless call (See #800)

comment:21 Changed 9 years ago by jmoore

  • Priority changed from critical to major

Lowering based on 4.2+ priorities.

comment:22 Changed 9 years ago by jmoore

  • Priority changed from major to minor
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.64207 sec.)

We're Hiring!