Requirement #800 (assigned)
Opened 17 years ago
Last modified 14 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 17 years ago by jmoore
- Description modified (diff)
comment:2 Changed 17 years ago by jmoore
comment:3 Changed 17 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 17 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 16 years ago by jmoore
- Description modified (diff)
comment:10 Changed 16 years ago by jmoore
r3795 allows users to check if password reset is permitted.
comment:11 Changed 16 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 16 years ago by jmoore
r4041 corrects IConfig issues.
comment:13 Changed 15 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 14 years ago by jmoore
- Type changed from User Story to Requirement
comment:15 Changed 14 years ago by jmoore
comment:16 Changed 14 years ago by jmoore
comment:17 Changed 14 years ago by jmoore
comment:18 Changed 14 years ago by jmoore
comment:19 Changed 14 years ago by jmoore
comment:20 Changed 14 years ago by jmoore
(In [7453]) OmeroConfig?: resetting ACTIVE on environmentless call (See #800)
comment:21 Changed 14 years ago by jmoore
- Priority changed from critical to major
Lowering based on 4.2+ priorities.
comment:22 Changed 14 years ago by jmoore
- Priority changed from major to minor
Added #718