From e9c94429a8ada3e55854515060df817945b73d87 Mon Sep 17 00:00:00 2001 From: Shwetank Dave Date: Wed, 2 Aug 2017 17:10:38 -0400 Subject: [AAI-26] Adding gizmo data to the repository. Change-Id: I183f837d45acbfe3c673fde1acf8768d5e3fd37b Signed-off-by: Shwetank Dave --- .../gremlin/gremlinResponseEmptyVertex.json | 15 +++ .../gremlin/gremlinResponseMultipleVertex.json | 108 +++++++++++++++++++++ .../resources/gremlin/gremlinResponseVertex.json | 76 +++++++++++++++ 3 files changed, 199 insertions(+) create mode 100644 src/test/resources/gremlin/gremlinResponseEmptyVertex.json create mode 100644 src/test/resources/gremlin/gremlinResponseMultipleVertex.json create mode 100644 src/test/resources/gremlin/gremlinResponseVertex.json (limited to 'src/test/resources/gremlin') diff --git a/src/test/resources/gremlin/gremlinResponseEmptyVertex.json b/src/test/resources/gremlin/gremlinResponseEmptyVertex.json new file mode 100644 index 0000000..0e4b9f6 --- /dev/null +++ b/src/test/resources/gremlin/gremlinResponseEmptyVertex.json @@ -0,0 +1,15 @@ +{ + "requestId": "54275f43-4cf5-491d-ad53-a9dada9c0fbf", + "status": { + "message": "", + "code": 200, + "attributes": { + } + }, + "result": { + "data": [ + ], + "meta": { + } + } +} \ No newline at end of file diff --git a/src/test/resources/gremlin/gremlinResponseMultipleVertex.json b/src/test/resources/gremlin/gremlinResponseMultipleVertex.json new file mode 100644 index 0000000..5809be3 --- /dev/null +++ b/src/test/resources/gremlin/gremlinResponseMultipleVertex.json @@ -0,0 +1,108 @@ +{ + "requestId":"54275f43-4cf5-491d-ad53-a9dada9c0fbf", + "status":{ + "message":"", + "code":200, + "attributes":{ + } + }, + "result":{ + "data":[ + { + "id":100, + "label":"vertex", + "type":"vertex", + "properties":{ + "aai-last-mod-ts":[ + { + "id":"j2mu-cwq8-sl", + "value":1477013842 + } + ], + "speed-value":[ + { + "id":"j312-cwq8-rnp", + "value":"50000000" + } + ], + "source-of-truth":[ + { + "id":"j5ee-cwq8-6bp", + "value":"SOT2" + } + ], + "aai-node-type":[ + { + "id":"j5sm-cwq8-8p1", + "value":"physical-link" + } + ] + } + }, + { + "id":200, + "label":"vertex", + "type":"vertex", + "properties":{ + "aai-last-mod-ts":[ + { + "id":"j2mu-cwq8-sl", + "value":1477013842 + } + ], + "speed-value":[ + { + "id":"j312-cwq8-rnp", + "value":"10000000" + } + ], + "source-of-truth":[ + { + "id":"j5ee-cwq8-6bp", + "value":"RCT" + } + ], + "aai-node-type":[ + { + "id":"j5sm-cwq8-8p1", + "value":"physical-link" + } + ] + } + }, + { + "id":300, + "label":"vertex", + "type":"vertex", + "properties":{ + "aai-last-mod-ts":[ + { + "id":"j2mu-cwq8-sl", + "value":1477013842 + } + ], + "speed-value":[ + { + "id":"j312-cwq8-rnp", + "value":"9999" + } + ], + "source-of-truth":[ + { + "id":"j5ee-cwq8-6bp", + "value":"RCT" + } + ], + "aai-node-type":[ + { + "id":"j5sm-cwq8-8p1", + "value":"physical-link" + } + ] + } + } + ], + "meta":{ + } + } +} \ No newline at end of file diff --git a/src/test/resources/gremlin/gremlinResponseVertex.json b/src/test/resources/gremlin/gremlinResponseVertex.json new file mode 100644 index 0000000..2e3a290 --- /dev/null +++ b/src/test/resources/gremlin/gremlinResponseVertex.json @@ -0,0 +1,76 @@ +{ + "requestId":"54275f43-4cf5-491d-ad53-a9dada9c0fbf", + "status":{ + "message":"", + "code":200, + "attributes":{ + } + }, + "result":{ + "data":[ + { + "id":602288, + "label":"vertex", + "type":"vertex", + "properties":{ + "aai-last-mod-ts":[ + { + "id":"j2mu-cwq8-sl", + "value":1477013842 + } + ], + "speed-value":[ + { + "id":"j312-cwq8-rnp", + "value":"10000000" + } + ], + "link-name":[ + { + "id":"j3fa-cwq8-u11", + "value":"ldouk116sd9:vmnic11-6/2|ldouktax102:xe-1/0/66" + } + ], + "resource-version":[ + { + "id":"j3ti-cwq8-1l1", + "value":"1477013842" + } + ], + "speed-units":[ + { + "id":"j47q-cwq8-t8l", + "value":"kbps" + } + ], + "aai-created-ts":[ + { + "id":"j4ly-cwq8-4qt", + "value":1476927322 + } + ], + "last-mod-source-of-truth":[ + { + "id":"j506-cwq8-5j9", + "value":"RCT" + } + ], + "source-of-truth":[ + { + "id":"j5ee-cwq8-6bp", + "value":"RCT" + } + ], + "aai-node-type":[ + { + "id":"j5sm-cwq8-8p1", + "value":"physical-link" + } + ] + } + } + ], + "meta":{ + } + } +} \ No newline at end of file -- cgit 1.2.3-korg