Skip to content

Data Scrubber & Idempotency Key Management Page #317

@ElioNeto

Description

@ElioNeto

Data Scrubber & Idempotency Key Management Page

Create an Angular page for managing data integrity scrubbing operations and idempotency keys using the existing scrubber and idempotency infrastructure.

Backend Endpoints Needed

GET    /admin/scrubber/status          — Current scrubber status & last results
POST   /admin/scrubber/start           — Start a data scrub operation
GET    /admin/scrubber/results         — Past scrub results
GET    /admin/scrubber/config          — Scrubber configuration
PUT    /admin/scrubber/config          — Update scrubber config

GET    /admin/idempotency/keys         — List active idempotency keys
DELETE /admin/idempotency/keys/{key}   — Remove an idempotency key
GET    /admin/idempotency/config       — Idempotency configuration

UI Requirements

Scrubber Panel

  • Status Display: Idle / Running / Completed / Failed
  • Last Scrub: Timestamp, keys checked, errors found, errors fixed
  • Start Scrub: Button with confirmation
  • Schedule: Enable/disable scheduled scrubbing, interval config
  • Results History: Table with date, duration, keys checked, errors
  • Error Details: Expandable row showing specific errors found

Idempotency Panel

  • Active Keys: Table with key, created at, expires at, operation
  • Key Count: Total active keys
  • Expired Keys: Number of expired (auto-cleaned) keys
  • Manual Cleanup: Remove specific key or purge expired
  • TTL Config: Default TTL for idempotency keys

Acceptance Criteria

  • Scrubber status displays correctly
  • Manual scrub can be triggered
  • Scrub results show errors found
  • Idempotency keys list loads
  • Keys can be removed manually
  • Error states for API failures

Parent Epic

#290

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions