bss_oss_pcf_nextgen/lib.rs
1//! Next-generation **Policy Control Function (PCF)** building blocks for 5G SBA-style deployments.
2//!
3//! **Manual (HTTP API, configuration, metrics, deployment):** see the repository file
4//! `docs/bss-oss-pcf-nextgen.md`, or the [ecosystem docs on GitHub](https://github.com/rabbittrix/BSS-OSS-Rust-Ecosystem/blob/main/docs/bss-oss-pcf-nextgen.md).
5//!
6//! **Swagger UI:** when running the `bss-oss-pcf-nextgen` binary, open **`/swagger-ui/`** (see crate README).
7//!
8//! This library composes the existing [`bss_oss_pcf`] engine with:
9//! - **Sub-10 ms decision path** (hot cache + in-process evaluation; measure with `/metrics`)
10//! - **Intent-based policy translation** (natural goals → concrete QoS / slice hints)
11//! - **Closed-loop automation** (telemetry → policy deltas, publishable to Kafka)
12//! - **Digital twin simulation** (shadow decisions without production side effects)
13//! - **Policy-as-a-Service** (multi-tenant enterprise rule overlays)
14//! - **Monetization quotes** (latency / bandwidth / service-class → CHF-friendly usage hints)
15//!
16//! HTTP serving lives in the `bss-oss-pcf-nextgen` binary (`src/main.rs`).
17
18pub mod adapters;
19pub mod application;
20pub mod config;
21pub mod domain;
22pub mod infrastructure;
23pub mod metrics;
24
25pub use application::orchestrator::NextGenPcfOrchestrator;
26pub use application::PolicyMarketplace;
27pub use config::RuntimeConfig;