test(ingest): http golden extraction, byte-deterministic (I6)

This commit is contained in:
Kjell Tore Guttormsen 2026-07-04 17:12:34 +02:00
commit 24e73f47f6
9 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Golden extraction case: two HTTP extracts from a local mock endpoint (http source type).
- [Service status](ingest-status.md)
- [Ops report](ingest-report.md)

View file

@ -0,0 +1,15 @@
---
type: reference
title: Ops report
source_system: status-api
source_query: report
ingested_at: 2026-07-04T12:00:00Z
ingest_manifest: manifest@8a8ae7a7a4d1cfc2
generated: true
---
```
baseline ok
pipe | and backslash \ kept verbatim
end of report
```

View file

@ -0,0 +1,13 @@
---
type: dataset
title: Service status
source_system: status-api
source_query: status
ingested_at: 2026-07-04T12:00:00Z
ingest_manifest: manifest@8a8ae7a7a4d1cfc2
generated: true
---
```
{"service": "billing", "state": "degraded | partial", "path": "c:\temp\cache"}
```

View file

@ -0,0 +1,3 @@
baseline ok
pipe | and backslash \ kept verbatim
end of report

View file

@ -0,0 +1 @@
{"service": "billing", "state": "degraded | partial", "path": "c:\temp\cache"}

View file

@ -0,0 +1 @@
2026-07-04T12:00:00Z

View file

@ -0,0 +1,21 @@
{
"manifest_version": 1,
"source": {"type": "http", "id": "status-api", "base_url": "https://api.example.test/v1", "credential_ref": null},
"bundle_summary": "Golden extraction case: two HTTP extracts from a local mock endpoint (http source type).",
"extractions": [
{
"id": "status",
"title": "Service status",
"query": "status",
"okf_type": "dataset",
"max_rows": 10
},
{
"id": "report",
"title": "Ops report",
"query": "report",
"okf_type": "reference",
"max_rows": 10
}
]
}