ores.refdata.service
Table of Contents
2. Summary
ores.refdata.service is the NATS service entrypoint for the reference-data
domain. It reads configuration, opens database and NATS connections, registers
all message handlers from ores.refdata.core, and runs the event loop. All
business logic lives in ores.refdata.core; this component is responsible only
for bootstrap, dependency injection, and graceful shutdown.
3. Inputs
- Configuration file: NATS server URL, PostgreSQL connection string, and environment settings.
- NATS request messages from UI clients and peer services on the
ores.refdata.*subject hierarchy (0x3000–0x3FFF range).
4. Outputs
- A running NATS service handling all reference-data operations.
- NATS response messages returned to callers.
- Structured logs via
ores.logging.
5. Entry points
src/main.cpp— process entry point.src/app/— application bootstrap and dependency injection.src/config/— configuration parsing and validation.
6. Dependencies
ores.refdata.core— all NATS handlers, repositories, and domain services.ores.refdata.api— shared protocol types.ores.logging— structured logging infrastructure.nats.c— NATS client for connection management.
7. See also
- ores.refdata — component group overview.
- ores.refdata.core — all business logic for the reference-data domain.
