Module configuration

Module configuration 

Source
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 explicit group_name is 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§

DeletionCandidates
Data gathered for deletion review and execution.
GetConfigurationParams
Typed parameters for fetching CFS configurations.

Functions§

get_configurations
List CFS configurations the caller may see.
get_configurations_with_analysis
Like get_configurations but pairs every row with a safe_to_delete verdict by fetching CFS components and running the pure crate::service::analysis::build_configuration_analysis linker.
validate_date_range
Validate that a (since, until) date range is well-ordered.