...
Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Resources & Remarks https://wiki.optimal-systems.de/display/EnaioServices/Archive+Service https://help.optimal-systems.com/enaio/v100/admin/administrator/en/archivieren/archivierung.htmModification History
|
...
Service Name | audit |
---|---|
Port Range | 7251 |
Profiles | prod,jpapostgres,dbs,docker,kubernetes,metrics,redis |
Helm Chart | yuuvis |
Function
The AUDIT service is responsible for the management of the individual objects' audit trails. Those entries are stored in a separate database instancetable.
>> Database Schema
Each action that is applied to an object triggers the creation of a new entry in the object's audit trail. As of 2022 Winter, this behavior can be adjusted by configuration (see below).
>> Audit Trail - an "Object's History"
In order to allow the creation of custom history audit entries by a custom service that is running inside the yuuvis® Momentum cluster, the following internal endpoint can be used.
>> POST /audit/api/dms/objects/custom
...
The yuuvis® Momentum configuration files for the operation in the Kubernetes cluster are stored on the Git Server configured in the system. In order to change the configuration of a service, you need to access the Git repository.
Service-specific Parameters
Parameter | Type | Default Value | Description | |||||
---|---|---|---|---|---|---|---|---|
| Integer | -1 | Controls the automated recalculation of the storage metric. If the value is -1, there is no automated recalculation. It has to be triggered via the DELETE /api/system/metrics/{metric} endpoint. If any value > 0 is configured, it is considered as time in seconds between two automated recalculation processes. As soon as the specified time is passed after the previous recalculation process, a new recalculation process is triggered.
| |||||
| Integer | 3600 | Controls the behavior of the storage metric recalculation processing in fail situations like, e.g., an unavailable service. The configured value is considered as maximum time in seconds that the process waits for progress in the database. The database reports a progress after the recalculation for one tenant is done. If the database does not report ongoing progress for a time period that exceeds the configured value, the recalculation is restarted. |
Parameters in Profile-related Configuration Files
The following parameters are referenced from the corresponding profiles. Click a profile in order to display descriptions and default values of the corresponding parameters.
Configuration File | ParameterParameters |
---|---|
application-dbs.yml | yuuvis.db storage |
The values for the parameters can be modified as described here.
>> Configuring Services using Profiles.
Parameters in Service Configuration File
The audit
section in the serviceConfiguration.json file can be used to skip the creation of audit entries for specific actions or for all actions.
Info | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
Read on
|
...