Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-726

Modular Configuration (Curation)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 1.7.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      Specifically in support of forthcoming curation tasks, but as a step towards greater application modularity, ConfigurationManager has been extended to support property files independent of dspace.cfg. A companion set of methods to get*Property(String name) have been added: get*Property(String module, String name) which will resolve to properties in 'module.cfg' in /dspace/config/modules. These properties will support the same 'interpolation' as regular properties, and are lazily loaded on demand. In this way, writers of 'add-on' code requiring configuration will not introduce a dependency on dspace.cfg, nor will dspace.cfg need to contain unused configuration data. Similar changes made to PluginManager, so named plugins, etc can also be resolved outside dspace.cfg. Should be backward-compatible. Also added a method to reload all properties from disk - 'flush()' so that Tomcat restarts would not be required for certain property changes. (method would have to be added to adminUI).

        Attachments

          Activity

            People

            • Assignee:
              rrodgers Richard Rodgers
              Reporter:
              rrodgers Richard Rodgers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: