1
0
mirror of https://github.com/pcvolkmer/mv64e-rest-to-kafka-gateway synced 2025-09-13 09:12:51 +00:00

feat: accept custom media type application/vnd.dnpm.v2.mtb+json

This commit is contained in:
2025-07-12 10:29:31 +02:00
parent 523ad89783
commit ea72454a79
3 changed files with 69 additions and 8 deletions

View File

@@ -93,10 +93,10 @@ date: Sat, 09 Mar 2024 11:16:44 GMT
Resultierender Kafka-Record:
* **Key**: `{"pid":"P1"}`
* **Key**: `{ "pid" : "P1" }`
* **Headers**:
* `requestId`: `1804d5c1-af3d-4f75-81a0-d9ca7c9739ef`
* **Value**: Inhalt des HTTP-Request-Bodies/Test-Files
* **Value**: `{ "patient": { "id": "fae56ea7-24a7-4556-82fb-2b5dde71bb4d", .... } }`
#### Löschen von Patienten
@@ -120,10 +120,10 @@ date: Sat, 09 Mar 2024 11:24:35 GMT
Resultierender Kafka-Record:
* **Key**: `{"pid":"P1"}`
* **Key**: `{ "pid" : "P1" }`
* **Headers**:
* `requestId`: `8473fa67-8b18-4e8f-aa89-874f74fcc672`
* **Value**: JSON-String mit Patienten-ID `P1` und ohne weitere Angaben.
* **Value**: JSON-String mit Patienten-ID `P1` und ohne weitere Angaben: * **Value**: `{ "patient": { "id": "P1", .... } }`
Es werden keine weiteren patientenbezogenen Daten übermittelt.