Commit 472d91b
refactor(backend): Update services and remove old route files
Update backend services to use new modular routes and remove
deprecated flat route files.
Deleted Route Files (replaced by modular packages):
- routes/hosts.py -> routes/hosts/
- routes/host_discovery.py -> routes/hosts/discovery.py
- routes/host_compliance_discovery.py -> routes/hosts/discovery.py
- routes/host_network_discovery.py -> routes/hosts/discovery.py
- routes/host_security_discovery.py -> routes/hosts/discovery.py
- routes/host_groups.py -> routes/host_groups/
- routes/group_compliance.py -> routes/host_groups/
- routes/scans.py -> routes/scans/
- routes/scans_api.py -> routes/scans/
Updated Services:
- bulk_scan_orchestrator.py: Updated import paths
- error_classification.py: Updated error handling, removed unused import
- rule_service.py: Updated rule query logic
- models/error_models.py: Updated error model definitions
Updated Tasks:
- compliance_tasks.py: Updated task implementations
- scan_tasks.py: Updated scan execution tasks
Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 259e1a3 commit 472d91b
15 files changed
Lines changed: 555 additions & 8449 deletions
File tree
- backend/app
- models
- routes
- services
- tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
53 | 65 | | |
54 | 66 | | |
55 | 67 | | |
56 | | - | |
| 68 | + | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
| |||
0 commit comments