Openframe Services
OpenFrame Documentation
Get the most out of OpenFrame · Book 30 minutes with Conrad, 25 years in IT. He'll show you what Mingo and Fae can take off your list.
OpenFrame Documentation
Openframe Services is the deployable Spring Boot layer of the OpenFrame OSS Tenant distribution. It assembles service implementations supplied by the OpenFrame OSS Library with tenant-specific application entry points, component scanning, messaging activation, and distribution defaults.
The repository publishes the service artifacts at version 1.0.0-SNAPSHOT. The applications consume OpenFrame OSS Library Maven modules pinned to 7.0.11; the Rust endpoint client library is consumed separately by the platform and is not launched by these Spring Boot applications.
flowchart LR
User["Browser, API consumer, or managed endpoint"] --> Gateway["Openframe Gateway"]
Gateway --> Authz["Authorization Server"]
Gateway --> Api["Openframe API"]
Gateway --> External["External API"]
Gateway --> Client["Client Service"]
Api --> Data["MongoDB, Redis, Cassandra, and Pinot"]
External --> Data
Client --> Nats["NATS"]
Client --> Kafka["Kafka"]
Stream["Openframe Stream"] --> Kafka
Stream --> Data
Management["Openframe Management"] --> Nats
Management --> Kafka
Config["Openframe Config"] --> Gateway
Config --> Api
Config --> Client
Config --> Stream
The gateway configuration routes /sas/** to the authorization server, /api-docs/** to the external API, /api/** to the API service, /clients/** to the client service, and all remaining paths to the frontend. The tenant deployment also includes MongoDB, Redis, Cassandra, Pinot, Kafka, NATS, Fleet MDM, and MeshCentral.
| Service | Tenant entry point | Runtime role |
|---|---|---|
| Openframe API | ApiApplication |
Main API application. Scans API, data, core, notification, and Kafka components. |
| Authorization Server | OpenFrameAuthorizationServerApplication |
OAuth and tenant-aware authentication application with discovery enabled. |
| Client Service | ClientApplication |
Receives and coordinates managed-client registration, telemetry, command delivery, remote management, and client update flows. |
| Config Server | ConfigServerApplication |
Starts the configuration service used by the deployment. |
| External API | ExternalApiApplication |
Provides integration-oriented REST APIs and scans external, data, core, API, and Kafka components. |
| Gateway | GatewayApplication |
Edge routing and security boundary for browser, API, and WebSocket traffic. |
| Management | ManagementApplication |
Initializes and maintains platform state, releases, integrated tools, stream configuration, and scheduled operations. |
| Stream | StreamApplication |
Kafka-enabled event processing service for logs, RMM outcomes, software projection, enrichment, and storage workflows. |
The entry points in this repository are intentionally thin. Their primary responsibility is to establish each deployable application's Spring Boot context and select the packages contributed by the OpenFrame OSS Library. Business endpoints, authentication flows, persistence repositories, Kafka stream processors, and client-delivery behavior reside in the corresponding library modules.
flowchart TD
TenantApps["Tenant application entry points"] --> LibraryModules["OpenFrame OSS Library modules"]
LibraryModules --> ApiCore["API, authorization, client, gateway, management, and stream cores"]
LibraryModules --> DataCore["Mongo, Redis, device, and shared data modules"]
TenantApps --> TenantConfig["Tenant configuration files"]
TenantConfig --> Runtime["Kubernetes services and data sources"]
ApiCore --> Runtime
DataCore --> Runtime
Each application is launched through SpringApplication.run. Package scans differ deliberately:
Service configuration is distributed through the configuration service and deployment manifests. Shared configuration declares MongoDB, Redis, Cassandra, and Pinot targets. API, Client, External API, Management, and Stream additionally use Kafka or NATS according to their service-specific settings.
The Stream service contains the tenant-specific LogsEventListener. It is enabled only when the inbound logs-events topic name is configured. The listener consumes CommonDebeziumMessage records from that topic under the openframe-oss-logs-events-group consumer group, reads the message type from the Kafka header, and delegates processing to GenericJsonMessageProcessor. Processing errors are logged rather than escaping the listener method.
sequenceDiagram
participant Producer as "Event Producer"
participant Kafka as "Kafka"
participant Listener as "Logs Event Listener"
participant Processor as "Generic JSON Message Processor"
Producer->>Kafka: Publish Debezium message with type header
Kafka->>Listener: Deliver logs-events record
Listener->>Processor: Process message and message type
alt processing succeeds
Processor-->>Listener: Processing completes
else processing fails
Listener->>Listener: Log error with message type
end
Management contributes NoAdditionalStreamConfigurationProvider, an implementation of the library's additional-stream configuration extension. It returns an empty list, so this distribution does not add JetStream streams beyond those initialized by the standard NATS stream initializer. The source comment attributes this to the absence of AI chat functionality in this distribution.