From 4e0f76b5746ac333907a1415b135ffee89f21fa4 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Fri, 9 Jun 2023 09:56:49 +0100 Subject: Add AVRO example for MyFirstPolicy - Avro example added for MFP - Documentation review to follow - Avro schemaTypes created individally in .avsc files Issue-ID: POLICY-4691 Change-Id: I6be22763eeac9251d75b80f67052ba4ae7274f75 Signed-off-by: waynedunican (cherry picked from commit 6b9adb56fe3af31b06a5d5a218d016e0d8780121) --- .../MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/examples-myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json (limited to 'examples/examples-myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json') diff --git a/examples/examples-myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json b/examples/examples-myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json new file mode 100644 index 000000000..2b760d5f1 --- /dev/null +++ b/examples/examples-myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/4/EventOut_BoozeItem_201713GMT.json @@ -0,0 +1,17 @@ +{ + "name": "SALE_AUTH", + "version": "0.0.1", + "nameSpace": "com.hyperm", + "source": "", + "target": "", + "amount": 4799, + "assistant_ID": 9, + "authorised": true, + "branch_ID": 3, + "item_ID": 1943, + "message": "Sale authorised by policy task MorningBoozeCheck for time 20:17:13 GMT", + "notes": null, + "quantity": 2, + "sale_ID": 99999993, + "time": 1482265033000 +} \ No newline at end of file -- cgit 1.2.3-korg