aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service/src/test/resources/event
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-03-28 19:07:34 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-03-28 19:07:34 +0100
commit282a3420f6a8e2174034fcfa98b5a3ece28023a7 (patch)
tree558d1d3d559acf291e325769e987ce82ce44a117 /champ-service/src/test/resources/event
parent533b090aa92f5eaa6c674fd63940fcacf4dc811e (diff)
Update to consume and publish events in new format
The new format includes: - the graph request/response encapsulated in a body property - new event header with details such as timestamp, request-id, event-type Issue-ID: AAI-960 Change-Id: Ib84ddd54352ca95c3968d2d2936f6348951c2d2c Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'champ-service/src/test/resources/event')
-rw-r--r--champ-service/src/test/resources/event/event-envelope.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/champ-service/src/test/resources/event/event-envelope.json b/champ-service/src/test/resources/event/event-envelope.json
new file mode 100644
index 0000000..68888c0
--- /dev/null
+++ b/champ-service/src/test/resources/event/event-envelope.json
@@ -0,0 +1,19 @@
+{
+ "header": {
+ "request-id": "2253f351-d9b6-4638-9fe3-2c194bee1b29",
+ "timestamp": "20180316T092301Z",
+ "source-name": "CHAMP",
+ "event-type": "db-update-result"
+ },
+ "body": {
+ "operation": "CREATE",
+ "transaction-id": "2253f351-d9b6-4638-9fe3-2c194bee1b29",
+ "timestamp": 1521198075620,
+ "vertex": {
+ "key": "",
+ "schema-version": "v13",
+ "type": "pserver",
+ "properties": {}
+ }
+ }
+} \ No newline at end of file