Files
haproxy-openmanager/backend/utils
taylanbakircioglu b9d618b4ac feat(snapshot): PHASE 2 & 3 - Entity snapshot integration + Reject rollback
PHASE 2: Entity Update Integration (ALL entities)
- Frontend update: Full snapshot with 27 fields
- Backend update: Full snapshot with 23 fields
- WAF rule update: Full snapshot with 11 fields
- SSL certificate update: Full snapshot with 16 fields
- Server update: Full snapshot with 23 fields
- ALL database fields included (no missing fields)

PHASE 3: Reject with Rollback Logic
- cluster.py - reject_all_pending_changes() enhanced
- Entity rollback before marking REJECTED
- Support for single entity snapshot
- Support for bulk snapshots (bulk import/restore)
- Entity status: REJECTED -> APPLIED (entities rolled back)
- Rollback statistics in response (success/failed/skipped)

Key Changes:
- entity_snapshot.py: All field schemas validated against migrations
- Backend rollback: 23 fields (including options, cookie_*, default_server_*)
- Server rollback: 23 fields (including ssl_certificate_id, haproxy_status)
- SSL rollback: 16 fields (including issuer, fingerprint, all_domains)
- WAF rollback: 11 fields (including enabled, cluster_id)
- No emoji in code (clean logging)
- Feature flag: ENTITY_SNAPSHOT_ENABLED (default: false)

Next: PHASE 4 (Bulk Import) + PHASE 5 (Restore) integration
2025-11-14 01:06:38 +03:00
..
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00