Phase 9 - Troubleshooting Docs: - TROUBLESHOOTING.md: Comprehensive guide for common issues - Covers all 5 labs with specific solutions - General Docker problems and diagnostics Phase 10 - Final Validation: - FINAL_VALIDATION.md: Complete project validation report - All 5 labs verified: 100% PASS rate - All INF requirements (01-04) compliant - 44 documentation files, 35+ test scripts - 15,000+ lines of code PROJECT STATUS: ✅ COMPLETATO (100% - 10/10 Phase) All deliverables: ✓ 5 complete labs with infrastructure ✓ TDD test coverage for all labs ✓ Diátaxis documentation (44 files) ✓ Integration tests cross-lab ✓ Repository structure ✓ Troubleshooting guide ✓ Final validation report Parallelismi cloud completi: - Lab 01 → AWS IAM - Lab 02 → VPC/Subnets - Lab 03 → EC2 - Lab 04 → S3/EBS - Lab 05 → RDS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
95 lines
3.4 KiB
Markdown
95 lines
3.4 KiB
Markdown
---
|
|
phase: 07-integration-testing
|
|
plan: 01
|
|
type: execute
|
|
wave: 0
|
|
depends_on: [02-lab-01-iam-sicurezza, 03-lab-02-network-vpc, 04-lab-03-compute-ec2, 05-lab-04-storage-s3, 06-lab-05-database-rds]
|
|
files_modified:
|
|
- tests/integration/01-cross-lab-test.sh
|
|
- tests/integration/02-security-compliance-test.sh
|
|
- tests/integration/03-architecture-validation-test.sh
|
|
- tests/integration/99-final-integration-test.sh
|
|
autonomous: true
|
|
requirements: [TEST-02, TEST-03, TEST-04, INF-01, INF-02, INF-03, INF-04]
|
|
user_setup: []
|
|
|
|
must_haves:
|
|
truths:
|
|
- "Integration tests validate all INF requirements across all labs"
|
|
- "Tests verify cross-lab functionality (app → database → storage)"
|
|
- "Security compliance verified across entire architecture"
|
|
- "Troubleshooting sections documented for each lab"
|
|
artifacts:
|
|
- path: "tests/integration/01-cross-lab-test.sh"
|
|
provides: "Cross-lab functionality testing"
|
|
min_lines: 100
|
|
- path: "tests/integration/02-security-compliance-test.sh"
|
|
provides: "Security compliance across all labs"
|
|
min_lines: 150
|
|
- path: "tests/integration/03-architecture-validation-test.sh"
|
|
provides: "Architecture validation (multi-tier)"
|
|
min_lines: 100
|
|
- path: "tests/integration/99-final-integration-test.sh"
|
|
provides: "End-to-end integration validation"
|
|
min_lines: 150
|
|
key_links:
|
|
- from: "tests/integration/*"
|
|
to: "labs/*/tests/"
|
|
via: "Orchestration of individual lab tests"
|
|
pattern: "docker-compose.*-f"
|
|
---
|
|
|
|
<objective>
|
|
Create comprehensive integration tests that validate the complete architecture across all labs, ensuring security compliance (INF-01 through INF-04), cross-lab functionality, and proper multi-tier architecture.
|
|
|
|
Purpose: Verify that all labs work together as a cohesive cloud simulation, with proper isolation, security, and data flow between components.
|
|
|
|
Output: 4 integration test scripts that validate end-to-end scenarios.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@/home/luca/.claude/get-shit-done/workflows/execute-plan.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
@.planning/REQUIREMENTS.md
|
|
@.planning/phases/02-lab-01-iam-sicurezza/02-01-SUMMARY.md
|
|
@.planning/phases/03-lab-02-network-vpc/03-01-SUMMARY.md
|
|
@.planning/phases/04-lab-03-compute-ec2/04-01-SUMMARY.md
|
|
@.planning/phases/05-lab-04-storage-s3/05-SUMMARY.md
|
|
@.planning/phases/06-lab-05-database-rds/06-SUMMARY.md
|
|
|
|
# Integration Testing Strategy
|
|
|
|
Integration tests verify that:
|
|
1. All labs work together cohesively
|
|
2. Security requirements are met across the board
|
|
3. Multi-tier architecture is properly implemented
|
|
4. Data flows correctly between tiers
|
|
|
|
# Test Scenarios
|
|
|
|
## 1. Cross-Lab Functionality (01-cross-lab-test.sh)
|
|
- Deploy multi-tier application (web → app → db → storage)
|
|
- Verify connectivity between tiers
|
|
- Verify data persistence end-to-end
|
|
- Verify network isolation
|
|
|
|
## 2. Security Compliance (02-security-compliance-test.sh)
|
|
- INF-01: No containers run as root (all labs)
|
|
- INF-02: Private networks don't expose ports (Lab 02, 05)
|
|
- INF-03: All containers have resource limits (Lab 03, 05)
|
|
- INF-04: Data persists in named volumes (Lab 04, 05)
|
|
|
|
## 3. Architecture Validation (03-architecture-validation-test.sh)
|
|
- Multi-tier architecture: web → app → db → storage
|
|
- Proper network segmentation
|
|
- Resource allocation per tier
|
|
- Data flow verification
|
|
|
|
## 4. Final Integration (99-final-integration-test.sh)
|
|
- End-to-end student validation
|
|
- All INF requirements verified
|
|
- All labs functional
|
|
- Complete architecture test
|