Skip to content

Commit c5b5ad0

Browse files
committed
refactor: remove '_infrastructure' suffix from infrastructure module files
- Rename apply_infrastructure.rs to apply.rs - Rename initialize_infrastructure.rs to initialize.rs - Rename plan_infrastructure.rs to plan.rs - Update module declarations in infrastructure/mod.rs Since these files are inside the infrastructure module, the '_infrastructure' suffix is redundant.
1 parent c85a556 commit c5b5ad0

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/e2e-tests-refactoring-plan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ src/
160160
// Level 1: Commands and their constituent Level 2: Steps
161161

162162
ProvisionCommand:
163-
├── ✅ RenderOpenTofuTemplatesStep // Template rendering - COMPLETED & INTEGRATED INTO E2E TESTS
164-
├── ✅ InitializeInfrastructureStep // tofu init - COMPLETED & INTEGRATED INTO E2E TESTS
165-
├── ✅ PlanInfrastructureStep // tofu plan - COMPLETED & INTEGRATED INTO E2E TESTS
166-
├── ✅ ApplyInfrastructureStep // tofu apply - COMPLETED & INTEGRATED INTO E2E TESTS
163+
├── ✅ RenderOpenTofuTemplatesStep // Template rendering - COMPLETED
164+
├── ✅ InitializeInfrastructureStep // tofu init - COMPLETED
165+
├── ✅ PlanInfrastructureStep // tofu plan - COMPLETED
166+
├── ✅ ApplyInfrastructureStep // tofu apply - COMPLETED
167167
├── GetInstanceInfoStep // Extract IP from tofu outputs
168168
├── WaitForSSHConnectivityStep // Validate SSH access
169169
└── WaitForCloudInitStep // Wait for cloud-init completion
170170

171171
ConfigureCommand:
172-
├── ✅ RenderAnsibleTemplatesStep // Template rendering with runtime vars - COMPLETED & INTEGRATED INTO E2E TESTS
172+
├── ✅ RenderAnsibleTemplatesStep // Template rendering with runtime vars - COMPLETED
173173
├── InstallDockerStep // Docker installation via Ansible
174174
├── InstallDockerComposeStep // Docker Compose installation via Ansible
175175
└── ValidateRemoteServicesStep // Validate installations
File renamed without changes.
File renamed without changes.

src/steps/infrastructure/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
pub mod apply_infrastructure;
2-
pub mod initialize_infrastructure;
3-
pub mod plan_infrastructure;
1+
pub mod apply;
2+
pub mod initialize;
3+
pub mod plan;
44

5-
pub use apply_infrastructure::ApplyInfrastructureStep;
6-
pub use initialize_infrastructure::InitializeInfrastructureStep;
7-
pub use plan_infrastructure::PlanInfrastructureStep;
5+
pub use apply::ApplyInfrastructureStep;
6+
pub use initialize::InitializeInfrastructureStep;
7+
pub use plan::PlanInfrastructureStep;
File renamed without changes.

0 commit comments

Comments
 (0)