Skip to content
项目

关于

OSS OpenFrame 单租户版本的代码库。

网站与应用开发

这些数字如何统计

可以做什么

  • Unified MSP service surface — a single tenant deployment exposes API, authorization, gateway, client, management, external API, configuration, and stream services, so devices, tickets, RMM operations, and tenant administration are handled by one coherent system.
  • Reusable OpenFrame OSS Library foundation — core domain behavior (API services, authorization, client runtime, data access, security, streaming) is pinned from the shared library at version 7.0.11 (Java) and v0.0.5 (Rust agent library).
  • Cross-platform device client — the openframe-client Rust binary (crate openframe_client, built from clients/openframe-client/src/main.rs) runs on managed endpoints across Windows, macOS, and Unix-like systems, handling registration, authentication, command execution, tool management, and OS updates.
  • GraphQL and REST APIs — openframe-api and openframe-external-api expose internal GraphQL/REST operations and an external, API-key-protected REST surface for devices, tickets, RMM, and knowledge-base content.

实测星标增长

24小时
0
7天
+2
15天
-6
1个月
-135

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
OpenFrame

License

OpenFrame OSS Tenant

OpenFrame OSS Tenant is the deployable, multi-service tenant platform behind OpenFrame (flamingo.run/openframe), the unified, AI-driven MSP (Managed Service Provider) operations platform built by Flamingo. It assembles Spring Boot services, a Rust-based device client, shared OpenFrame OSS Library modules, data stores, messaging systems, and Helm-based deployment manifests into an end-to-end platform that lets an MSP manage devices, tickets, remote monitoring and management (RMM) workflows, and tenant identity from a single stack.

OpenFrame Walkthrough: One Platform for Your Entire MSP Stack

This repository is the tenant runtime: it pins and assembles reusable modules published by OpenFrame OSS Library (Maven artifacts at version 7.0.11, the Rust agent library at v0.0.5), wraps them in runnable Spring Boot services and a Rust client binary, and ships the Kubernetes/Argo CD manifests needed to run the whole platform. Flamingo's broader mission is to replace expensive proprietary MSP tooling with open-source alternatives enhanced by AI automation (Mingo AI for technicians, Fae for clients), and OpenFrame is the platform that ties those integrations together.

Per the current ecosystem graph, no other repository is recorded as a consumer of this one — it sits at the end of the dependency chain, consuming OpenFrame OSS Library and assembling the deployable platform.

Features

  • Unified MSP service surface — a single tenant deployment exposes API, authorization, gateway, client, management, external API, configuration, and stream services, so devices, tickets, RMM operations, and tenant administration are handled by one coherent system.
  • Reusable OpenFrame OSS Library foundation — core domain behavior (API services, authorization, client runtime, data access, security, streaming) is pinned from the shared library at version 7.0.11 (Java) and v0.0.5 (Rust agent library).
  • Cross-platform device client — the openframe-client Rust binary (crate openframe_client, built from clients/openframe-client/src/main.rs) runs on managed endpoints across Windows, macOS, and Unix-like systems, handling registration, authentication, command execution, tool management, and OS updates.
  • GraphQL and REST APIs — openframe-api and openframe-external-api expose internal GraphQL/REST operations and an external, API-key-protected REST surface for devices, tickets, RMM, and knowledge-base content.
  • Centralized configuration — openframe-config is a Spring Cloud Config Server that serves Git-backed configuration and shared Logback logging resources to every other service.
  • Event-driven architecture — Kafka, NATS, and Debezium-based change-data-capture move device, ticket, and RMM events through the stack, with openframe-stream normalizing and projecting events into Apache Pinot for analytics.
  • Kubernetes-native delivery — Helm charts and Argo CD applications under manifests/ deploy platform infrastructure (ingress, datasources), tenant services, and third-party components (Fleet MDM, MeshCentral) as a single app-of-apps release.
  • Integrated third-party MSP tools — Fleet MDM and MeshCentral are wired in as tenant-level Helm dependencies, giving the platform device management and remote-access capability out of the box.

Architecture Overview

The platform's entry point is openframe-gateway, which routes requests to the authorization server, internal API, external API, client service, and frontend. openframe-config supplies centralized configuration to every service, while openframe-management handles startup initialization and scheduled jobs. Managed device agents communicate through the client service into Kafka and NATS, with Fleet MDM and MeshCentral integrated as managed tools.

flowchart LR
    User["Browser, API Client, or Agent"] --> Gateway["OpenFrame Gateway"]
    Gateway --> Auth["Authorization Server"]
    Gateway --> Api["OpenFrame API"]
    Gateway --> External["External API"]
    Gateway --> Client["OpenFrame Client Service"]
    Gateway --> Frontend["OpenFrame Frontend"]

    Config["OpenFrame Config"] --> Api
    Config --> Auth
    Config --> Client
    Config --> External
    Config --> Management
    Config --> Stream

    Management["OpenFrame Management"] --> Mongo["MongoDB"]
    Management --> Redis["Redis"]
    Management --> Nats["NATS"]
    Management --> Kafka["Kafka"]

    Api --> Mongo
    Api --> Redis
    Api --> Kafka
    Api --> Nats

    Client --> Kafka
    Client --> Nats
    External --> Mongo
    External --> Redis
    Stream["OpenFrame Stream"] --> Kafka
    Stream --> Mongo
    Stream --> Pinot["Pinot"]

    Agent["Managed Device Agent"] --> Client
    Client --> Fleet["Fleet MDM"]
    Client --> Mesh["MeshCentral"]

Core Services

Service Role
openframe-api Internal API and GraphQL operations for devices, agents, tenants, tickets, and RMM workflows
openframe-authorization-server OAuth2, OIDC, tenant authentication, invitations, password flows, and signing keys
openframe-client Client-facing runtime integration for agent communication and client operations
openframe-config Centralized Spring Cloud configuration and shared logging-resource delivery
openframe-external-api External REST API for customers, devices, tickets, knowledge-base content, and tools
openframe-gateway Reactive HTTP/WebSocket gateway, routing, authentication, and API-key protection
openframe-management Startup initialization, scheduled jobs, tool configuration, and JetStream management
openframe-stream Kafka event ingestion, deserialization, enrichment, and projection into Pinot

Every service is built from openframe/services/<service-name> and is a Maven module declared in the root pom.xml, parented on spring-boot-starter-parent version 4.1.1 and targeting Java 25.

Technology Stack

  • Languages: Java 25, Rust, Bash
  • Application framework: Spring Boot 4.1.1, Spring Cloud 2025.1.3
  • Shared library: OpenFrame OSS Library — Maven artifacts pinned at 7.0.11, Rust openframe_agent_lib pinned at v0.0.5
  • Datastores and messaging: MongoDB, Redis Cluster, Cassandra, Kafka, ZooKeeper, NATS, Apache Pinot, MySQL (for Fleet MDM), Debezium Connect
  • Deployment: Helm charts and Argo CD applications under manifests/, packaged as an OCI app-of-apps chart
  • Container images: published to ghcr.io/flamingo-stack/openframe-oss-tenant/* by .github/workflows/release.yml
  • Integrated MSP tools: Fleet MDM and MeshCentral, deployed as Helm chart dependencies under manifests/tenant

This repository publishes nine Maven service artifacts at 1.0.0-SNAPSHOT (com.openframe:openframe-api, openframe-authorization-server, openframe-client, openframe-config, openframe-external-api, openframe-gateway, openframe-management, openframe-stream, openframe-test) and the Rust artifact openframe_client at 0.1.0, and pins more than twenty Maven artifacts plus one Cargo crate from OpenFrame OSS Library, all at 7.0.11 (Maven) or v0.0.5 (Cargo).

Quick Start

1. Clone the repository

git clone https://github.com/flamingo-stack/openframe-oss-tenant.git
cd openframe-oss-tenant

2. Build the Java services with Maven

The root pom.xml defines a multi-module reactor covering every service under openframe/services. Building requires a GITHUB_TOKEN with access to OpenFrame OSS Library packages, since the com.openframe.oss:* artifacts are resolved from there:

export GITHUB_TOKEN=<your-token>
mvn clean package -U --batch-mode --no-transfer-progress -Dmaven.test.skip=true

To build a single service only (mirroring what each service's Dockerfile does):

mvn clean package -U -pl openframe/services/openframe-api -am --batch-mode --no-transfer-progress -Dmaven.test.skip=true

3. Build service container images

Each service has its own Dockerfile at its module root, following a two-stage pattern: a Maven/JDK build stage producing target/*.jar, and a slim eclipse-temurin:25-jre-alpine-3.23 runtime stage running as a non-root appuser.

docker build \
  --secret id=GITHUB_TOKEN,env=GITHUB_TOKEN \
  -f openframe/services/openframe-api/Dockerfile \
  -t openframe-api:local .

4. Deploy via the Argo CD manifest tree

This platform is deployed as a set of Argo CD applications under manifests/, not via docker-compose:

manifests/
├── apps/          # Argo CD application composition
├── platform/      # namespace, ingress-nginx, dev-tools, openframe-config
├── datasources/   # cassandra, kafka, mongodb, mongodb-meshcentral, mysql-fleetmdm, nats, pinot, redis-cluster, zookeeper
└── tenant/        # the OpenFrame services, plus Fleet MDM and MeshCentral charts

manifests/apps/values.yaml composes, in wave order, the platform namespace and services, then the datasource namespace and datastores. The manifests/tenant chart deploys the OpenFrame services alongside the Fleet MDM and MeshCentral Helm chart dependencies. Point Argo CD at the manifests/apps application set to bring up the full platform.

5. Verify the gateway is routing correctly

Once the tenant namespace is up, confirm the gateway can reach the internal API's health endpoint:

curl -s https://<your-ingress-host>/api/management/v1/health

A healthy response looks like:

{
  "status": "UP"
}

Refer to your environment configuration for the exact ingress host and namespace.

For full prerequisites, environment variables, and verification commands, see the Prerequisites and Quick Start guides. For what to check and configure right after a first deployment, see First Steps.

External Tooling

The OpenFrame CLI used to bootstrap and operate an OpenFrame deployment is maintained in its own repository, separate from this one. See its installation instructions and documentation; it is not part of this repository's source tree.

Documentation

📚 See the Documentation for comprehensive guides, including the full architecture reference, ecosystem dependency graph, development setup, local development workflow, security, testing, and contributing guidelines.

Community

This project does not use GitHub Issues or GitHub Discussions. Questions, support, and discussion happen on the OpenMSP Slack community — join via this invite link.


Built with 💛 by the flamingo team

探索相关项目

加载中…