ores.analytics.service
Table of Contents
2. Summary
ores.analytics.service is the NATS service entrypoint for the analytics
domain. It reads configuration, opens database and NATS connections, registers
all message handlers from ores.analytics.core, and runs the event loop.
All business logic lives in ores.analytics.core.
3. Inputs
- Configuration file: NATS server URL, PostgreSQL connection string.
- NATS request messages for analytics configuration operations.
4. Outputs
- A running NATS service for analytics 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.src/config/— configuration parsing.
6. Dependencies
ores.analytics.core— all NATS handlers, repositories, and services.ores.analytics.api— shared protocol types.ores.logging— structured logging.nats.c— NATS client.
7. Build dependencies
What the shared profile cannot know, declared here rather than hand-edited into the generated build file. Each block is spliced into its generated file after the profile's baseline.
8. See also
- ores.analytics — component group overview.
- ores.analytics.core — all business logic for the analytics domain.
9. Test dependencies
The suites link what the profile cannot know about.
target_link_libraries(${lib_target_name}
PUBLIC
ores.service.lib
ores.security.lib
ores.analytics.core.lib
ores.eventing.core.lib
ores.nats.lib
ores.database.lib
ores.utility.lib
ores.telemetry.core.lib)
target_link_libraries(${tests_target_name}
PRIVATE
${lib_target_name}
ores.utility.lib
ores.testing.lib
ores.logging.lib
Catch2::Catch2
faker-cxx::faker-cxx
Threads::Threads)
