Object data storage

🌐 This document is available in both English and Ukrainian. Use the language toggle in the top right corner to switch between versions.

1. General description

The Registry regulations modeling subsystem uses the Ceph object storage of the Distributed data storage subsystem for saving CSV files containing a list of officers scheduled for importing or already imported to the register.

2. Data structures

2.1. user-import

The bucket for storing CSV files with a list of officers for importing to the registry.

Read this article to learn about the CSV file structure.

Table 1. Description of object meta-data attributes
Attribute Data type Description

name

String (Base64)

The name of the file containing users for downloading

Table 2. Description of the stored document structure
Attribute Data type Description

vault:v1:

String

Encrypted content of the file containing users for downloading

Example of a stored document
vault:v1:q5Rd32QX1bg4CZAmCqeZtliQBZUVfmnqS4wMIXCi9lAp95FRf0Tzx0a7tyFom87ebEbPzR91Yoe2lbAaWbf+Gi547r7MI+YEiFEYXPNeWorO2XReVXJ8pMRdUOz8AxOPkmfOG2/gbDN2cYuWWOpqpXGHrz/QHmKSt7PdT66E7Dc49u3hDxbkiMVwfd0bYxph8ysV7XEkbmxZMK7OEPv07CKx93ePfdGVyQuvNOLNpmocDf

2.2. user-import-archive

The bucket for storing files with a list of officers imported to the registry. Documents have the same structure and meta-data as in the `user-import' bucket.