cursus.mods.exe_doc.registration_helper¶
Registration Helper for execution document generation.
This module provides the RegistrationHelper class that extracts execution document configurations from registration step configurations.
- class RegistrationHelper[source]¶
Bases:
ExecutionDocumentHelperHelper for extracting execution document configurations from registration steps.
This helper ports the logic from DynamicPipelineTemplate._fill_registration_configurations() and _create_execution_doc_config() methods to generate execution document configurations.
- can_handle_step(step_name, config)[source]¶
Check if this helper can handle the given step configuration.
- get_execution_step_name(step_name, config)[source]¶
Get execution document step name following step builder naming convention.
Transforms step names from DAG format to execution document format: - “Registration” -> “Registration-NA” (adds region suffix)
This follows the same logic as RegistrationStepBuilder.create_step(): step_name = self._get_step_name() + “-” + self.config.region
- extract_step_config(step_name, config, all_configs=None)[source]¶
Extract execution document configuration from registration step config.
- Parameters:
- Returns:
Dictionary containing the execution document configuration
- Raises:
ExecutionDocumentGenerationError – If configuration extraction fails
- Return type:
Create execution document configuration with related payload and package configs.
This method extends the basic execution document configuration with load testing information from payload and package configurations.