aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/gremlin
diff options
context:
space:
mode:
authorShwetank Dave <shwetank.dave@amdocs.com>2017-08-02 17:10:38 -0400
committerShwetank Dave <shwetank.dave@amdocs.com>2017-08-03 11:28:39 -0400
commite9c94429a8ada3e55854515060df817945b73d87 (patch)
tree3c5a9ac766d99570d542c1996f1321c99e5498e5 /src/test/resources/gremlin
parent27ff75c77611a8bdae37c7c0092787938c63a786 (diff)
[AAI-26] Adding gizmo data to the repository.
Change-Id: I183f837d45acbfe3c673fde1acf8768d5e3fd37b Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
Diffstat (limited to 'src/test/resources/gremlin')
-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