Changes between Version 1 and Version 2 of ConfigOverride


Ignore:
Timestamp:
May 25, 2011, 2:07:32 AM (13 years ago)
Author:
jesseeichar
Comment:

formatting

Legend:

Unmodified
Added
Removed
Modified
  • ConfigOverride

    v1 v2  
    1111== Overview ==
    1212
    13 In order to permit deployment of a Geonetwork instance to multiple environments and assist in development this proposal adds the ability to configure geonetwork for multiple target deployment platforms (for example, test and production) with a minimum of duplication and allow configuration selection to be chosen via System properties or ServletConfig/Context parameters. 
     13In order to permit deployment of a Geonetwork instance to multiple environments and assist in development this proposal adds the ability to configure geonetwork for multiple target deployment platforms (for example, test and production) with a minimum of duplication and allow configuration selection to be chosen via System properties or !ServletConfig/Context parameters. 
    1414
    1515=== Proposal Type ===
     
    3434
    3535== Proposal ==
    36 As such I propose a new method for handling multiple deployment platforms.  The standard configuration files contain the default settings and multiple override configurations can be defined to override certain parts of those defaults.  The override that is applied can be selected via one of System properties, ServletConfig initial parameters or ServletContext initial parameters. So depending on the server/environment where the geonetwork is deployed a different configuration can be selected with minimal duplication of configuration.
     36As such I propose a new method for handling multiple deployment platforms.  The standard configuration files contain the default settings and multiple override configurations can be defined to override certain parts of those defaults.  The override that is applied can be selected via one of System properties, !ServletConfig initial parameters or !ServletContext initial parameters. So depending on the server/environment where the geonetwork is deployed a different configuration can be selected with minimal duplication of configuration.
    3737
    38 The parameter/property that is checked for the definition of the override file is jeeves.configuration.overrides.file.  If the property is not found then the no overrides are applied to the default configuration.
     38The parameter/property that is checked for the definition of the override file is '''jeeves.configuration.overrides.file'''.  If the property is not found then the no overrides are applied to the default configuration.
    3939
    4040
    4141The following is an example of a override file:
    42 
     42{{{
     43#!xml
    4344<overrides>
    4445     <!-- properties allow some properties to be defined that will be substituted -->
     
    9697     </file>
    9798</overrides>
     99}}}
    98100
    99101As this example indicates the primary tags of interest are: