Files
haproxy-openmanager/backend
taylanbakircioglu c2379bfa88 Fix: use_backend routing rules not displayed in Bulk Import UI
CRITICAL BUG - use_backend Rules Missing from UI:

Issue:
- Parser extracts use_backend rules
- Backend response includes them (after e3a6470 fix)
- But UI doesn't display them in parse preview
- User can't see routing rules before importing

Root Cause (BulkConfigImport.js Line 703-709):
  UI displays:
    ACL Rules ✓
    Request Headers ✓
    Response Headers ✓
    TCP Rules ✓
    use_backend Rules ✗ (MISSING!)

Fix Applied:
  Added use_backend_rules display section (Line 710-718)
  Shows: Backend Routing Rules (X)
  Format: Same as ACL rules (Text code display)

UI Preview Now Shows:
  ACL Rules (8):
    acl Elasticsearch hdr(host) -i elastic.com
    acl Kibana hdr(host) -i kibana.com

  Backend Routing Rules (8):
    use_backend Elasticsearch if Elasticsearch
    use_backend Kibana if Kibana

Complete Fix Summary (3 parts):
  1. e3a6470: Bulk-create INSERT query
  2. e3a6470: Parse-bulk response data
  3. THIS: Frontend UI display

All three parts now fixed - use_backend rules work end-to-end
2025-11-07 11:51:15 +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
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00