1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Dispatcher-meta methods on `InfraContext`.
//!
//! `InfraContext<'a>` itself is defined in
//! [`crate::server::common::app_context`]; this file extends it with
//! the two helpers every service-layer module needs that aren't
//! per-domain trait methods on the backend dispatcher:
//!
//! - [`InfraContext::backend_kind`] — stable label for tracing /
//! diagnostics, no I/O.
//! - [`InfraContext::backend_clone`] — owned copy for use inside
//! `'static`-bound spawned tasks (`tokio::spawn`, `JoinSet::spawn`).
//!
//! Earlier revisions of this module hosted per-domain wrappers
//! (auth/bos/bss/cfs/delete_configurations/hsm/ims/migrate/pcs/redfish/
//! sat) that re-exported each backend trait method on `InfraContext`.
//! Those were removed; service code now imports the trait directly
//! and calls `infra.backend.<method>(...)`. The result is fewer
//! abstraction layers between a service function and the backend
//! contract it's actually targeting.
use crateInfraContext;