Overview
The purpose of the plugin is to allow to set up a specific configuration for a Wedia portal application, by overriding a basic configuration provided by the product.
...
_portal
_portal@config
_portal@config@picker
The path _portal@$config@picker designates a configuration defined in 3 folders whose relative paths are successively :
...
either a number (the unit depends on the parameter)
or a number (integer or decimal) followed by a unit, among
s
(seconds)ms
(milliseconds)m
(minutes)h
(hours)
Contributing to configuration in your plugins
At startup, the config resolver plugin scans all activated tagged plugins to discover contributions to its configuration (this feature can be disabled by the discover_external_config_settings
plugin parameter). The discover_external_config_settings_exclusions
parameter allows to exclude plugins from this scan.
Discovery of bases (base locations)
For each plugin, the config folder of the plugin is first scanned to determine if there are any bases in its config-resolver/bases
subfolder. Then, we scan the resource folder of the plugin (res
).
If a base already exists, it is ignored (note that you cannot control the order of the plugins).
Adding mappings
For each plugin, if a config-resolver-mappings.json
file is present in its configuration folder (config
), it is loaded to add one or more mappings. The format is the same as the mappings
section of the config_settings
plugin parameter.
If a mapping already exists, it is ignored (note that you cannot control the order of the plugins).
Adding post processors
For each plugin, if a config-resolver-postprocessors.json
file is present in its configuration folder (config
), it is loaded to add one or more post processors. The format is the same as the postProcessors
section of the config_settings
plugin parameter.
If a post processor already exists, it is ignored (note that you cannot control the order of the plugins).
Standard postprocessors
Surfer role
...