mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-21 01:53:24 +00:00
b9d618b4ac
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