ores.reporting.service

Table of Contents

Diagram

ores.reporting.service component diagram

Figure 1: ores.reporting.service

Summary

ores.reporting.service is the NATS service entrypoint for the reporting domain. It reads configuration, opens database and NATS connections, registers all message handlers from ores.reporting.core, and runs the event loop. All business logic lives in ores.reporting.core.

Inputs

  • Configuration file: NATS server URL, PostgreSQL connection string, and environment settings.
  • NATS request messages for report management operations.

Outputs

  • A running NATS service handling all reporting operations.
  • NATS response messages returned to callers.
  • Structured logs via ores.logging.

Entry points

  • src/main.cpp — process entry point.
  • src/app/ — application bootstrap and dependency injection.
  • src/config/ — configuration parsing and validation.

Dependencies

  • ores.reporting.core — all NATS handlers, repositories, and domain services.
  • ores.reporting.api — shared protocol types.
  • ores.logging — structured logging infrastructure.
  • nats.c — NATS client for connection management.

See also

Emacs 29.1 (Org mode 9.6.6)