//! Provisioning API wiring for the feature slice.
//!
//! This module composes provisioning route registration from smaller feature
//! components while re-exporting the primary handlers for compatibility.

use actix_web::web;

mod dependencies;
mod instances;
mod local;
mod providers;
mod root;

pub use crate::api::provision::{admin_provision, admin_provision_status};

/// Register all provisioning endpoints through feature-local route groups.
pub fn services(cfg: &mut web::ServiceConfig) {
    root::register(cfg);
    local::register(cfg);
    dependencies::register(cfg);
    instances::register(cfg);
    providers::register(cfg);
}
