docling-studio/e2e/src/test/resources/common/data/schemas/health.json
Pier-Jean Malandrino cfc5bb5c35 feat: add E2E API tests with Karate V2
Set up a full E2E test suite (39 scenarios) using Karate against
the real API stack. Hybrid architecture: domain-based features +
cross-domain workflows, with data-driven testing and callable helpers.

Structure:
- e2e/pom.xml: Maven + karate-core 1.5
- 3 helpers (upload, analyze+poll, cleanup)
- 3 JSON schemas (health, document, analysis)
- 12 feature files across health, documents, analyses, workflows
- Tags: @smoke (2), @regression (35), @e2e (2)
- generate-test-data.py: fpdf2-based PDF generation (no binaries)

Also adds:
- RATE_LIMIT_RPM env var to make rate limiter configurable (0=disabled)
- CI job e2e with needs: [backend, frontend]
- e2e/ in .dockerignore

Closes #119
2026-04-08 13:47:03 +02:00

7 lines
235 B
JSON

{
"status": "#? _ == 'ok' || _ == 'degraded'",
"version": "#string",
"engine": "#? _ == 'local' || _ == 'remote'",
"deploymentMode": "#? _ == 'self-hosted' || _ == 'huggingface'",
"database": "#? _ == 'ok' || _ == 'error'"
}