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"

User Story #800 (assigned)

Opened 17 years ago

Last modified 13 years ago

OMERO properties rework for simplification and central administration — at Version 9

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: 3.0-Beta4
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 (9)

comment:1 Changed 16 years ago by jmoore

  • Description modified (diff)

Added #718

comment:2 Changed 16 years ago by jmoore

prefs class available with:

comment:3 Changed 16 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 16 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 16 years ago by jmoore

  • Description modified (diff)

comment:6 Changed 16 years ago by jmoore

  • Description modified (diff)

comment:7 Changed 16 years ago by jmoore

  • Description modified (diff)

comment:8 Changed 16 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 15 years ago by jmoore

  • Description modified (diff)
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.50132 sec.)

We're Hiring!