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. Overview

Registry excerpts generation subsystem utilizes the Ceph object storage from the Distributed data storage subsystem to store templates for excerpt generation and files containing generated/signed registry excerpts.

2. Data structures

2.1. file-excerpt-bucket

A bucket for storing generated and signed registry excerpts.

Table 1. Description of the document structure for storage
Data type Description

byte[]

Registry excerpt file

2.2. excerpt-templates

A bucket for storing templates for excerpts in .csv or .docx formats.

Object key generation pattern with template for the DOCX excerpt
docx/{name}/** // Вміст архіву DOCX зберігається як окремі файли
Object key generation pattern with template for the CSV excerpt
csv/{name}
Table 2. Description of the JSON document structure for storing the CSV template
Attribute (JSON-path) Data type Description

$.attribute

String

Technical name of the column in the database

$.value

String

Name of the technical column to be displayed in the excerpt

Example JSON document for storing
{
  "columnName": "Column name"
}

2.3. excerpt-signature-bucket [deprecated]

A bucket for storing data for registry excerpts.

Table 3. Description of the JSON document structure for storing
Attribute (JSON-path) Data type Description

signature

String (Base64)

Qualified electronic signature (Digital signature) of the User

data

JSON Object

Data structure that was signed

x-access-token

String

JWT token of the user who signed the data