ores.variability.service

Table of Contents

Diagram

ores.variability.service component diagram

Figure 1: ores.variability.service

Summary

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

Inputs

  • Configuration file: NATS server URL, PostgreSQL connection string, and environment settings.
  • NATS request messages for system-setting queries and updates.

Outputs

  • A running NATS service handling all variability 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.variability.core — all NATS handlers, repositories, and services.
  • ores.variability.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)