Fix serialization of the "key" property
[aai/champ.git] / champ-lib / champ-core / src / test / resources / event / edge-event-envelope.json
1 {
2     "header": {
3         "timestamp": "20180625T131609Z",
4         "request-id": "ad65331f-932e-4cce-acc5-97ad88ce0483",
5         "source-name": "CHAMP",
6         "event-type": "update-notification-raw"
7     },
8     "body": {
9         "timestamp": 1529932568889,
10         "relationship": {
11             "type": "test",
12             "properties": {},
13             "source": {
14                 "type": "vserver",
15                 "properties": {},
16                 "object": true,
17                 "relationship": false,
18                 "key": "1234"
19             },
20             "target": {
21                 "type": "pserver",
22                 "properties": {},
23                 "object": true,
24                 "relationship": false,
25                 "key": "5678"
26             },
27             "object": false,
28             "relationship": true,
29             "key": "{\"inVertexId\":5678,\"typeId\":1000,\"relationId\":2000,\"outVertexId\":1234}"
30         },
31         "transaction-id": "ad65331f-932e-4cce-acc5-97ad88ce0483"
32     }
33 }