aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/gremlin/gremlinResponseEmptyVertex.json15
-rw-r--r--src/test/resources/gremlin/gremlinResponseMultipleVertex.json108
-rw-r--r--src/test/resources/gremlin/gremlinResponseVertex.json76
3 files changed, 199 insertions, 0 deletions
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