“System parameters” section is used for viewing and editing available parameters. The parameters are divided into groups, each of which is responsible for individual functions of the Unidata system: message queue, validity periods, etc. (Figure 1).
The list of parameters is formed by sequentially reading parameters from source systems: backend.properties, PostgreSQL database, and Hazelcast. Each next source read is compared to the previous one, which corresponds to the logical expression: backend.properties AND PostgreSQL > AND Hazelcast.
During the comparison process, new parameters are added and existing parameters are overwritten, becoming equal to the last read source. In this way a complete and up-to-date list of parameters of the Unidata system is formed.
In this section, you can change the values of individual parameters as well as import/export parameters.
Figure 1. “System parameters” section
Most parameters are read-only and are grayed out.
If necessary, edit the available parameters and click “Save” in the upper-right corner of the screen to make changes.
Before editing, it is recommended that you back up the parameters with an export (see below).
Some parameter sets describe settings for background operations in the system. Background operations are performed independently, and are used to maintain individual parts of the system. For example, to delete unused drafts.
A list of operations and corresponding parameter sets:
Clearing attachment files that have been added to the system but not confirmed. For example, a file was added to an attribute, but was replaced with another file before saving the record. Parameter group: Parameters for system operations of the Core module.
Deleting unused drafts. Parameter group: Service tasks of the Drafts module.
Import/Export of Parameters¶
You can export the whole set of parameters and import only parameters that are available for editing.
To import or export a set of parameters, use the appropriate wizard. To do this, click the “Import/export” button located in the upper-right corner of the screen.
Select the required action (Figure 2). Export is performed in 2 steps. Import in 3 steps.
To export: click Confirm on the 2nd step. This will start the export, the results of which can be downloaded in the Notifications.
To import: on the 2nd step, select the file with the set of parameters (.properties extension) and click Next step. Click Confirm on the 3rd step. A notice about the results of the import will appear in the Notifications.
Figure 2. Import/export wizard