Register Ingester DK is a data ingester for the OpenOwnership Register project. It processes bulk data published in the Central Business Register published by the Danish Business Authority in Denmark, 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.
Install and boot Register.
Configure your environment using the example file:
cp .env.example .env
DK_CVR_PASSWORD
: DK Elasticsearch source passwordDK_CVR_USERNAME
: DK Elasticsearch source usernameDK_STREAM
: AWS Kinesis stream to which to publish new records (optional)
Create the Elasticsearch indexes:
docker compose run ingester-dk create-indexes
Run the tests:
docker compose run ingester-dk test
To ingest the bulk data:
docker compose run ingester-dk ingest-bulk