Skip to main content

Crate static_tr_plugin

Crate static_tr_plugin 

Source
Expand description

Static Tenant Resolver Plugin

This plugin provides tenant data and hierarchy from configuration. Useful for testing, development, and simple deployments.

§Configuration

modules:
  static_tr_plugin:
    vendor: "hyperspot"
    priority: 100
    tenants:
      - id: "550e8400-e29b-41d4-a716-446655440001"
        name: "Root Tenant"
        status: active
      - id: "550e8400-e29b-41d4-a716-446655440002"
        name: "Child Tenant"
        status: active
        parent_id: "550e8400-e29b-41d4-a716-446655440001"

Re-exports§

pub use module::StaticTrPlugin;

Modules§

config
Configuration for the static tenant resolver plugin.
domain
Domain layer for the static tenant resolver plugin.
module
Static tenant resolver plugin module.