Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.26 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.26 KB

Register Ingester DK

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.

Installation

Install and boot Register.

Configure your environment using the example file:

cp .env.example .env
  • DK_CVR_PASSWORD: DK Elasticsearch source password
  • DK_CVR_USERNAME: DK Elasticsearch source username
  • DK_STREAM: AWS Kinesis stream to which to publish new records (optional)

Create the Elasticsearch indexes:

docker compose run ingester-dk create-indexes

Testing

Run the tests:

docker compose run ingester-dk test

Usage

To ingest the bulk data:

docker compose run ingester-dk ingest-bulk