Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.88 KB

File metadata and controls

32 lines (23 loc) · 1.88 KB

Local Development Setup

Real Time Reporting diagram

Docker Containers

  1. mssql - Restored MSSQL Server database pre-configured to work with RTR. Notable configurations
    1. NBS_ODSE.NBS_Configuration entry added with config_key = 'ENV', config_value = 'UAT'
    2. RTR User creation scripts applied
    3. Change Data Capture (CDC) enabled for relevant databases and tables
  2. liquibase - Liquibase container with all migration scripts copied from ../liquibase-service/src/main/resources/db/. Configured to automatically apply migrations and 1 time onboarding scripts and then close. Entrypoint: migrate.sh
  3. kafka - Message broker
  4. kafka-connect - Reads from the nrt_* topics and inserts into rdb_modern tables. Requires POST of mssql-connector.json after container start up.
  5. debezium - Reads Change Data Capture logs and posts messages to Kafka. Requires POST for each connector to be sent after container start up.
  6. reporting-pipeline-service - Process Kafka messages for investigation, ldf, observation, organization, and person data (also handles key-uid mappings)

Prerequisites:

Build and run the RTR services

docker compose up -d

Verifying functionality

  1. Log into NBS 6 using the user: superuser. No password is required
  2. Create a new patient
  3. Add an investigation to the patient
  4. View RDB_MODERN.D_PATIENT and RDB_MODERN.INVESTIGATION tables and verify the newly created patient and investigation are present.