cursus.step_catalog.adapters.workspace_discovery¶
Workspace discovery adapters for backward compatibility.
This module provides adapters that maintain existing workspace discovery APIs during the migration from legacy discovery systems to the unified StepCatalog system.
- class WorkspaceDiscoveryManagerAdapter(workspace_root)[source]¶
Bases:
objectAdapter maintaining backward compatibility with WorkspaceDiscoveryManager.
Replaces: src/cursus/workspace/core/discovery.py
- discover_workspaces(workspace_root)[source]¶
Legacy method: discover available workspaces with simplified structure.
- discover_components(workspace_ids=None, developer_id=None)[source]¶
Enhanced method: discover ALL component types with workspace-specific functionality.
When workspace_ids is None: focuses on shared package (cursus/steps - “core” workspace) When workspace_ids specified: discovers from those specific workspaces
Returns comprehensive inventory of all 5 component types: - builders, configs, contracts, specs, scripts
- list_available_developers()[source]¶
Legacy method: list available developers with simplified structure.