static_tr_plugin/lib.rs
1//! Static Tenant Resolver Plugin
2//!
3//! This plugin provides tenant data and hierarchy from configuration.
4//! Useful for testing, development, and simple deployments.
5//!
6//! ## Configuration
7//!
8//! ```yaml
9//! modules:
10//! static_tr_plugin:
11//! vendor: "hyperspot"
12//! priority: 100
13//! tenants:
14//! - id: "550e8400-e29b-41d4-a716-446655440001"
15//! name: "Root Tenant"
16//! status: active
17//! - id: "550e8400-e29b-41d4-a716-446655440002"
18//! name: "Child Tenant"
19//! status: active
20//! parent_id: "550e8400-e29b-41d4-a716-446655440001"
21//! ```
22
23#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
24
25pub mod config;
26pub mod domain;
27pub mod module;
28
29pub use module::StaticTrPlugin;