Expand description
CFS configuration queries, layer-detail lookups, and cascading deletion of all dependent resources (sessions, BOS templates, IMS images).
The module is the service-layer counterpart to the
/configurations handlers. It wraps three backend trait families:
- [
CfsTrait] — list and filter CFS configurations, fetch CFS components for the post-list analysis pass. - [
DeleteConfigurationsAndDataRelatedTrait] — walk every CFS session, BOS session template, and IMS image that depends on a set of configurations, then issue the cascading delete. - [
GroupTrait] — derive the caller’s accessible-group set when no explicitgroup_nameis supplied (used for both listing and deletion scoping).
All public helpers funnel access checks through
crate::service::authorization so the response can’t leak rows
that belong to a group the caller can’t see.
Structs§
- Deletion
Candidates - Data gathered for deletion review and execution.
- GetConfiguration
Params - Typed parameters for fetching CFS configurations.
Functions§
- get_
configurations - List CFS configurations the caller may see.
- get_
configurations_ with_ analysis - Like
get_configurationsbut pairs every row with asafe_to_deleteverdict by fetching CFS components and running the purecrate::service::analysis::build_configuration_analysislinker. - validate_
date_ range - Validate that a
(since, until)date range is well-ordered.