/register-ingester-sk

Register Ingester SK is an application designed for use with beneficial ownership data from the Public Sector Partners Register collected by the Ministry of Justice of the Slovak Republic

Primary LanguageRubyApache License 2.0Apache-2.0

Register Ingester SK

Register Ingester SK is a data ingester for the OpenOwnership Register project. It processes bulk data published in the Public Sector Partners Register collected by the Ministry of Justice in Slovakia, and ingests records into Elasticsearch. Optionally, it can also publish new records to AWS Kinesis. It uses raw records only, and doesn't do any conversion into the Beneficial Ownership Data Standard (BODS) format.

Installation

Install and boot Register.

Configure your environment using the example file:

cp .env.example .env
  • SK_STREAM: AWS Kinesis stream to which to publish new records (optional)

Create the Elasticsearch indexes:

docker compose run ingester-sk create-indexes

Testing

Run the tests:

docker compose run ingester-sk test

Usage

To ingest the bulk data:

docker compose run ingester-sk ingest-bulk