# prashanthsamidesi/cloudvault-test-framework architecture

> Architecture diagram of the GitHub repository prashanthsamidesi/cloudvault-test-framework, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/prashanthsamidesi/cloudvault-test-framework
- Repository: https://github.com/prashanthsamidesi/cloudvault-test-framework

## Overview

CloudVault is a PyTest automation framework around an in-memory cloud-and-edge file-system simulation. Its main workflow validates file uploads and edge-to-cloud synchronization, including end-to-end and regression scenarios; log analysis and report generation provide a results path. Service calls are evidenced by excerpts. Test-suite capabilities are taken from the README, so links from those suites to simulated services are documented rather than source-verified.

Main entry points: [`services/storage_manager.py`](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/storage_manager.py) (Storage coordinator), [`services/cloud_node.py`](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/cloud_node.py) (Cloud storage), [`tests/test_file_sync.py`](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_file_sync.py) (Sync tests), [`services/edge_node.py`](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/edge_node.py) (Edge cache)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_validation["Test validation"]
  node_upload_tests["Upload tests"]
  node_sync_tests["Sync tests<br/>[test_file_sync.py]"]
  node_integration_tests["Integration tests"]
  node_regression_tests["Regression tests<br/>[test_regression.py]"]
end

subgraph group_storage["Storage simulation"]
  node_storage_manager["Storage coordinator<br/>[storage_manager.py]"]
  node_edge_node["Edge cache<br/>[edge_node.py]"]
  node_cloud_node[("Cloud storage<br/>[cloud_node.py]")]
end

subgraph group_results["Results analysis"]
  node_log_file["CloudVault log"]
  node_log_analyzer["Log analyzer<br/>[log_analyzer.py]"]
  node_report_generator["Report generator"]
  node_reports["Generated reports"]
end

node_engineer(("Test runner"))

node_engineer -->|"runs"| node_upload_tests
node_engineer -->|"runs"| node_sync_tests
node_engineer -->|"runs"| node_integration_tests
node_engineer -->|"runs"| node_regression_tests
node_upload_tests -->|"tests uploads"| node_cloud_node
node_sync_tests -->|"tests sync"| node_edge_node
node_sync_tests -->|"tests sync"| node_cloud_node
node_integration_tests -->|"tests system"| node_storage_manager
node_regression_tests -->|"guards behavior"| node_storage_manager
node_storage_manager -->|"caches and syncs"| node_edge_node
node_storage_manager -->|"uploads and downloads"| node_cloud_node
node_edge_node -->|"uploads synced files"| node_cloud_node
node_report_generator -->|"analyzes logs"| node_log_analyzer
node_log_analyzer -->|"reads"| node_log_file
node_report_generator -->|"writes"| node_reports

click node_upload_tests "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_file_upload.py"
click node_sync_tests "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_file_sync.py"
click node_integration_tests "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_integration.py"
click node_regression_tests "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_regression.py"
click node_storage_manager "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/storage_manager.py"
click node_edge_node "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/edge_node.py"
click node_cloud_node "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/cloud_node.py"
click node_log_analyzer "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/utils/log_analyzer.py"
click node_report_generator "https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/utils/report_generator.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_upload_tests,node_sync_tests,node_integration_tests,node_regression_tests toneBlue
class node_storage_manager,node_edge_node,node_cloud_node toneAmber
class node_log_file,node_log_analyzer,node_report_generator,node_reports toneMint
class node_engineer toneIndigo
```

## Components

### Test validation

- [Upload tests](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_file_upload.py): `tests/test_file_upload.py`
- [Sync tests](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_file_sync.py): `tests/test_file_sync.py`
- [Integration tests](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_integration.py): `tests/test_integration.py`
- [Regression tests](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/tests/test_regression.py): `tests/test_regression.py`

### Storage simulation

- [Storage coordinator](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/storage_manager.py): `services/storage_manager.py`
- [Edge cache](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/edge_node.py): `services/edge_node.py`
- [Cloud storage](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/services/cloud_node.py): `services/cloud_node.py`

### Results analysis

- **CloudVault log**
- [Log analyzer](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/utils/log_analyzer.py): `utils/log_analyzer.py`
- [Report generator](https://github.com/prashanthsamidesi/cloudvault-test-framework/blob/main/utils/report_generator.py): `utils/report_generator.py`
- **Generated reports**

### Other components

- **Test runner**

## Connections

- Test runner → Upload tests: runs (evidence: `README.md`)
- Test runner → Sync tests: runs (evidence: `README.md`)
- Test runner → Integration tests: runs (evidence: `README.md`)
- Test runner → Regression tests: runs (evidence: `README.md`)
- Upload tests → Cloud storage: tests uploads (evidence: `README.md`)
- Sync tests → Edge cache: tests sync (evidence: `README.md`)
- Sync tests → Cloud storage: tests sync (evidence: `README.md`)
- Integration tests → Storage coordinator: tests system (evidence: `README.md`)
- Regression tests → Storage coordinator: guards behavior (evidence: `README.md`)
- Storage coordinator → Edge cache: caches and syncs (evidence: `services/storage_manager.py`)
- Storage coordinator → Cloud storage: uploads and downloads (evidence: `services/storage_manager.py`)
- Edge cache → Cloud storage: uploads synced files (evidence: `services/edge_node.py`)
- Report generator → Log analyzer: analyzes logs (evidence: `utils/report_generator.py`)
- Log analyzer → CloudVault log: reads (evidence: `utils/log_analyzer.py`)
- Report generator → Generated reports: writes (evidence: `utils/report_generator.py`)
