3 Gizmo has two modes, a Synchoronous (sync) mode and an Asynchronous (async) mode.
5 In the Async mode, Gizmo uses the consumer/producer model where when a
6 client makes a request, Gizmo will generate an event payload and
7 publish it on the async event stream. It will then wait for a
8 response for that particular event on a different event stream. Once it recieves a
9 response, gizmo will send a response back to the client which made the
12 ## Here are a few examples of the events published by Gizmo
19 "timestamp": 1514927928167,
20 "operation": "CREATE",
23 "ipv4-oam-address": "1.2.3.4",
24 "resource-version": "1477013499",
25 "purpose": "my-purpose",
26 "fqdn": "myhost.onap.net",
28 "equip-model": "DL380p-nd",
30 "equip-type": "server",
32 "ptnii-equip-name": "e-name"
36 "schema-version": "vX"
38 "transaction-id": "c0a81fa7-5ef4-49cd-ab39-e42c53c9b9a4"
41 #### Updating a Vertex
44 "timestamp": 1514929776429,
45 "operation": "UPDATE",
48 "ipv4-oam-address": "1.2.3.4",
49 "resource-version": "1477013499",
50 "purpose": "my-purpose",
51 "fqdn": "updated.myhost.onap.net",
53 "equip-model": "DELL380p-nd",
54 "equip-vendor": "DELL",
55 "equip-type": "updated-server",
56 "hostname": "updated-myhost",
57 "ptnii-equip-name": "name-has-been-updated"
59 "key": "84bf7b3f-81f5-4c34-ab5c-207281cb71bd",
61 "schema-version": "vX"
63 "transaction-id": "3b8df1d5-4c51-47e3-bbef-c27b47e11149"
66 #### Deleting a Vertex
69 "timestamp": 1514930052327,
70 "operation": "DELETE",
72 "key": "84bf7b3f-81f5-4c34-ab5c-207281cb71bd",
74 "schema-version": "vX"
76 "transaction-id": "6bb7a27b-a942-4cac-9b2b-0fa1f3897b8c"
83 "timestamp": 1515005153863,
84 "operation": "CREATE",
87 "key": "febd8996-62ec-4ce6-ba8e-d2fa1609e13b",
91 "contains-other-v": "NONE",
92 "delete-other-v": "NONE",
93 "prevent-delete": "IN",
97 "type": "tosca.relationships.HostedOn",
98 "schema-version": "v11",
100 "key": "7beade35-19f1-4c1d-a1bd-bfba59e0b582",
104 "transaction-id": "63a8994d-1118-4e65-ab06-fff40f6f48ef"
110 "timestamp": 1515005301622,
111 "operation": "UPDATE",
114 "key": "febd8996-62ec-4ce6-ba8e-d2fa1609e13b",
118 "contains-other-v": "NOPE",
119 "delete-other-v": "YES",
120 "prevent-delete": "MAYBE",
123 "key": "9727a0ea-559e-497c-98e4-0cbdaede0346",
124 "type": "tosca.relationships.HostedOn",
125 "schema-version": "v11",
127 "key": "7beade35-19f1-4c1d-a1bd-bfba59e0b582",
131 "transaction-id": "ed284991-6c2f-4c94-a592-76fed17a2f14"
135 #### Deleting an Edge
138 "timestamp": 1515005579837,
139 "operation": "DELETE",
141 "key": "9727a0ea-559e-497c-98e4-0cbdaede0346",
142 "type": "tosca.relationships.HostedOn",
143 "schema-version": "v11"
145 "transaction-id": "b4583bc9-dd96-483f-ab2d-20c1c6e5622f"