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.
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}
Attribute (JSON-path) | Data type | Description |
---|---|---|
|
String |
Technical name of the column in the database |
|
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.
Attribute (JSON-path) | Data type | Description |
---|---|---|
|
String (Base64) |
Qualified electronic signature (Digital signature) of the User |
|
JSON Object |
Data structure that was signed |
|
String |
JWT token of the user who signed the data |