ores.iam.service
Table of Contents
Summary
ores.iam.service is the NATS service entrypoint for the IAM domain. It reads
configuration, opens database and NATS connections, registers all message
handlers from ores.iam.core, and runs the event loop. All business logic
lives in ores.iam.core; this component is responsible only for bootstrap,
dependency injection, and graceful shutdown.
Inputs
- Configuration file: NATS server URL, PostgreSQL connection string, and environment settings.
- NATS request messages from Qt clients and peer services on the
ores.iam.*subject hierarchy (0x2000–0x2FFF range).
Outputs
- A running NATS service handling all IAM 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.iam.core— all NATS handlers, repositories, and domain services.ores.iam.api— shared protocol types.ores.logging— structured logging infrastructure.nats.c— NATS client for connection management.
See also
- ores.iam — component group overview.
- ores.iam.core — all business logic for the IAM domain.
