...
Include Page | ||||
---|---|---|---|---|
|
Children Display |
---|
In a patch to Grouper 2.4, Grouper will allow configuration which is normally in config files to be stored in the database. Configuration in the database will make the configuration consistent in an environment, otherwise the config files need to be kept in sync for the UI servers, WS servers, daemons, and GSH. Also, editing the configuration in the UI will prevent configuration problems and help users to configure Grouper easier and more reliably.
...
This "database:grouper" will check the grouper database table: grouper_config for overlays. This should be last so that when you edit something in the UI, it will take effect.
Column | Description |
---|---|
ID | UUID |
CONFIG_FILE_NAME | Config file name without the "base", e.g. grouper.properties or grouper-loader.properties |
CONFIG_KEY | key of the config, e.g. grouper.env.name |
CONFIG_VALUE | value of the config, on the right of the equals sign in the properties file. Note, currently there is a 4k limit to size of value |
Note: there are more columns in this table which are currently unused |
Note: if you have configs you want to differ in different components (e.g. ws/ui/daemon), you need to set those in the config files, and not in the database, which will span all components (e.g. UI/WS/Daemon) that use that database
...
Code Block |
---|
# group who can assign id index cols (also, wheel or root is allowed) # {valueType: group} grouper.tableIndex.groupWhoCanAssignIdIndex = $$grouper.rootStemForBuiltinObjects$$:canAssignIdIndex |
Metadata name | JSON type | Default | Example value | Description |
---|---|---|---|---|
multiple | boolean | false | true/false | if comma separated values |
mustExtendClass | String | a.b.c.SomeClass | If the value is a class and must extend another class | |
mustImplementInterface | String | a.b.c.SomeInterface | If the value is a class and must extend an interface | |
regex | String | ^configuration.autocreate.group.description.[0-9]+$ | If the key must match a certain regex | |
required | boolean | false | true/false | If a value must be provided |
requiresRestart | boolean | false | true/false | If the JVM needs to be restarted when changing value |
sampleValue | String | Something | An example value that shows the user how to configure | |
sensitive | boolean | false | true/false | If the value can be a password or something sensitive |
valueType | String | String | attributeDef, attributeDefName, boolean, class, floating, group, integer, password, stem, string, subject | From enum ConfigItemMetadataType, the type of the value |
Configuration file layout
...