docs: update PROGRESS.md with Phase 5 Batch 3 (Tasks 5.12-5.15) completion
This commit is contained in:
+46
@@ -249,3 +249,49 @@ Siehe `MASTER-PLAN.md` für alle Tasks.
|
||||
|
||||
### Modifizierte Dateien Phase 5 Batch 2
|
||||
- `frontend/package.json` — @playwright/test devDependency + e2e scripts
|
||||
|
||||
---
|
||||
|
||||
## Phase 5 Batch 3 (Tasks 5.12-5.15) — ✅ Complete
|
||||
|
||||
| Task | Status | Datum | Beschreibung |
|
||||
|------|--------|-------|--------------|
|
||||
| 5.12 | ✅ done | 2026-07-23 | API-Health-Check-Script (scripts/ai_health_check.py) — enumeriert 295 API-Routen, probt GET-Endpoints mit Auth-Token, JSON/CSV-Report, Exit-Codes |
|
||||
| 5.13 | ✅ done | 2026-07-23 | CI/CD-Pipeline-Script (scripts/ai_deploy.py) — Build (docker/npm), Tests (pytest+vitest), Deploy (Coolify API), Rollback bei Fehler, --dry-run/--skip-tests/--skip-build |
|
||||
| 5.14 | ✅ done | 2026-07-23 | API-Dokumentation vervollständigt — OpenAPI tags mit Beschreibungen (36 Tags), response_model für auth/health/users/notifications/system-settings, Pydantic examples, docs/api-documentation.md (500 Zeilen, 295 Endpoints) |
|
||||
| 5.15 | ✅ done | 2026-07-23 | Automatisiertes Backup-System — scripts/backup.py (pg_dump+file backup, retention policy, notification), scripts/restore.py, system_notif plugin erweitert (backup.completed/failed events), backup config in system_settings |
|
||||
|
||||
### Verifikation Phase 5 Batch 3
|
||||
- TSC: 0 neue errors (nur 2 pre-existing Dms.tsx onRangeSelect errors) ✅
|
||||
- 42 neue Tests alle passing ✅
|
||||
- Alle Scripts ausführbar (chmod +x) ✅
|
||||
- argparse für CLI-Argumente ✅
|
||||
- httpx für HTTP-Calls ✅
|
||||
- Keine .env committet ✅
|
||||
- Bestehende Patterns verwendet (APIRouter, Pydantic, sys.path.insert) ✅
|
||||
|
||||
### Neue Dateien Phase 5 Batch 3
|
||||
- `scripts/ai_health_check.py` — API Health Check Script (ausführbar)
|
||||
- `scripts/ai_deploy.py` — CI/CD Deploy Script (ausführbar)
|
||||
- `scripts/backup.py` — Automated Backup Script (ausführbar)
|
||||
- `scripts/restore.py` — Restore Script (ausführbar)
|
||||
- `docs/api-documentation.md` — Vollständige API-Dokumentation (295 Endpoints, 30 Tag-Gruppen)
|
||||
- `tests/test_ai_health_check.py` — 7 Tests für Health Check
|
||||
- `tests/test_ai_deploy.py` — 11 Tests für Deploy Script
|
||||
- `tests/test_api_documentation.py` — 8 Tests für API-Dokumentation
|
||||
- `tests/test_backup_restore.py` — 16 Tests für Backup/Restore
|
||||
|
||||
### Modifizierte Dateien Phase 5 Batch 3
|
||||
- `app/main.py` — OpenAPI tags (36 Tags mit Beschreibungen), app description
|
||||
- `app/routes/auth.py` — response_model für login/logout/me (AuthResponse, MessageResponse)
|
||||
- `app/routes/health.py` — response_model HealthResponse
|
||||
- `app/routes/notifications.py` — response_model UnreadCountResponse für unread-count
|
||||
- `app/routes/users.py` — response_model für list/create/get (PaginatedUsers, UserResponse)
|
||||
- `app/routes/system_settings.py` — response_model SystemSettingsResponse für GET/PUT
|
||||
- `app/schemas/auth.py` — Field examples für LoginRequest, AuthResponse
|
||||
- `app/schemas/user.py` — Field examples für UserCreate
|
||||
- `app/schemas/system_settings.py` — Backup config fields (backup_interval, backup_retention_days, backup_destination)
|
||||
- `app/plugins/builtins/ai_ui_control/routes.py` — tags=["ai-ui-control"] hinzugefügt
|
||||
- `app/plugins/builtins/system_notif/plugin.py` — backup.completed/failed events + handler methods
|
||||
|
||||
**Phase 5 Batch 3 Gesamt: ✅ Complete**
|
||||
|
||||
Reference in New Issue
Block a user