Managing registry settings (settings.yaml)

The registry-regulations/settings.yaml file is part of the registry regulations and is used to configure the technical parameters of the registry.

Registry regulations structure
Figure 1. Registry regulations structure
Example configuration of registry-regulations/settings.yaml:
settings:
  general:
    package: ua.gov.mdtu.ddm.dataplatform.template
    register: laboratory
    version: 1.0.1
  kafka:
    retention-policy-in-days:
      read: 1
      write: 1065
Table 1. Parameters description
Parameter name Description Comment

settings.general.package

The package in which the code will be generated.

settings.general.register

The name of the database that will be created.

settings.general.version

The version of the registry.

No version check is performed check during registry deployment. The registry administrator can use the atregulatiostribute settings.general.version at their own discretion.

Old versions of the API data are not preserved during the deployment of the MASTER-Build-registry-regulations publication pipeline.

kafka.retention-policy-in-days.read

The number of days for which messages will be retained for reading in Kafka.

By default — 3 years

kafka.retention-policy-in-days.write

The number of days for which messages will be retained for writing in Kafka.

By default — 3 years.