ANW-20 hurl HTTP contract-test harness

This commit is contained in:
Andreas Brenner 2026-05-14 19:04:03 +02:00
parent ec650e6c66
commit b4a33abd71
50 changed files with 415 additions and 2 deletions

View file

@ -0,0 +1,14 @@
# GET /health returns 200, JSON, and the shape promised by the User Manual.
GET {{host}}/health
HTTP 200
[Asserts]
header "Content-Type" startsWith "application/json"
jsonpath "$.note_count" exists
jsonpath "$.note_count" >= 14
jsonpath "$.watcher_state" matches "^(running|degraded)$"
jsonpath "$.in_flight_rescan" isBoolean
jsonpath "$.vault_path" exists
jsonpath "$.supervisor.restarts.vault_scanner" exists
jsonpath "$.supervisor.restarts.filesystem_watcher" exists
jsonpath "$.supervisor.restarts.index_writer" exists
jsonpath "$.supervisor.restarts.http_server" exists