diff options
Diffstat (limited to 'src/test/resources/event')
-rw-r--r-- | src/test/resources/event/champ-update-notification-raw.json | 35 | ||||
-rw-r--r-- | src/test/resources/event/gizmo-graph-event.json | 26 | ||||
-rw-r--r-- | src/test/resources/event/spike-event.json | 35 |
3 files changed, 96 insertions, 0 deletions
diff --git a/src/test/resources/event/champ-update-notification-raw.json b/src/test/resources/event/champ-update-notification-raw.json new file mode 100644 index 0000000..5ad450b --- /dev/null +++ b/src/test/resources/event/champ-update-notification-raw.json @@ -0,0 +1,35 @@ +{ + "header": { + "event-type": "update-notification-raw", + "request-id": "addfff68-fff3-4084-909d-7d55787c2468", + "source-name": "CHAMP", + "timestamp": "20180611T105705Z" + }, + "body": { + "transaction-id": "addfff68-fff3-4084-909d-7d55787c2468", + "vertex": { + "type": "pserver", + "key": 327684296, + "properties": { + "ptnii-equip-name": "e-name", + "aai-last-mod-ts": 1528714624711, + "equip-type": "server", + "equip-vendor": "HP", + "fqdn": "myhost.onap.net", + "purpose": "my-purpose", + "aai-created-ts": 1528714624711, + "ipv4-oam-address": "1.2.3.4", + "source-of-truth": "ma-postman", + "aai-node-type": "pserver", + "hostname": "ma-host2-20180611-01", + "equip-model": "DL380p-nd", + "in-maint": "false", + "aai-uuid": "f62b8fb4-506b-48a8-8578-56bb95ad64ae", + "resource-version": "1477013499", + "last-mod-source-of-truth": "ma-postman" + } + }, + "operation": "STORE", + "timestamp": 1528714625713 + } +}
\ No newline at end of file diff --git a/src/test/resources/event/gizmo-graph-event.json b/src/test/resources/event/gizmo-graph-event.json new file mode 100644 index 0000000..f1e2dfc --- /dev/null +++ b/src/test/resources/event/gizmo-graph-event.json @@ -0,0 +1,26 @@ +{ + "operation": "STORE", + "transaction-id": "addfff68-fff3-4084-909d-7d55787c2468", + "timestamp": 1528714625713, + "vertex": { + "key": "f62b8fb4-506b-48a8-8578-56bb95ad64ae", + "type": "pserver", + "properties": { + "hostname": "ma-host2-20180611-01", + "ptnii-equip-name": "e-name", + "equip-type": "server", + "equip-vendor": "HP", + "equip-model": "DL380p-nd", + "fqdn": "myhost.onap.net", + "ipv4-oam-address": "1.2.3.4", + "in-maint": "false", + "resource-version": "1477013499", + "purpose": "my-purpose", + "last-mod-source-of-truth": "ma-postman", + "aai-node-type": "pserver", + "aai-created-ts": 1528714624711, + "aai-last-mod-ts": 1528714624711, + "source-of-truth": "ma-postman" + } + } +}
\ No newline at end of file diff --git a/src/test/resources/event/spike-event.json b/src/test/resources/event/spike-event.json new file mode 100644 index 0000000..1b9b45f --- /dev/null +++ b/src/test/resources/event/spike-event.json @@ -0,0 +1,35 @@ +{ + "header": { + "request-id": "addfff68-fff3-4084-909d-7d55787c2468", + "timestamp": "20180611T144752Z", + "source-name": "SPIKE", + "event-type": "update-notification" + }, + "body": { + "operation": "CREATE", + "transaction-id": "addfff68-fff3-4084-909d-7d55787c2468", + "timestamp": 1528714625713, + "vertex": { + "key": "f62b8fb4-506b-48a8-8578-56bb95ad64ae", + "schema-version": "V13", + "type": "pserver", + "properties": { + "hostname": "ma-host2-20180611-01", + "ptnii-equip-name": "e-name", + "equip-type": "server", + "equip-vendor": "HP", + "equip-model": "DL380p-nd", + "fqdn": "myhost.onap.net", + "ipv4-oam-address": "1.2.3.4", + "in-maint": "false", + "resource-version": "1477013499", + "purpose": "my-purpose", + "last-mod-source-of-truth": "ma-postman", + "aai-node-type": "pserver", + "aai-created-ts": 1528714624711, + "aai-last-mod-ts": 1528714624711, + "source-of-truth": "ma-postman" + } + } + } +}
\ No newline at end of file |