Updated Sparky to add ECOMP functionality Browse, Specialized Search, BYOQ, and the...
[aai/sparky-fe.git] / src / app / assets / stubs / CQDefault.json
diff --git a/src/app/assets/stubs/CQDefault.json b/src/app/assets/stubs/CQDefault.json
new file mode 100644 (file)
index 0000000..451d3d0
--- /dev/null
@@ -0,0 +1,107 @@
+{
+  "results": [
+    {
+      "id": "16632",
+      "node-type": "generic-vnf",
+      "url": "/aai/v15/network/generic-vnfs/generic-vnf/generic-vnf-test-0-ABC890",
+      "properties": {
+        "vnf-id": "generic-vnf-test-0-ABC890",
+        "vnf-name": "example-vnf-name-val-3979",
+        "vnf-type": "vnf-type-onap-sic",
+        "prov-status": "PROV",
+        "orchestration-status": "ACTIVE",
+        "ipv4-loopback0-address": "ipv4-loopback0-address-ALL-GOOD-one",
+        "in-maint": true,
+        "is-closed-loop-disabled": false,
+        "resource-version": "1559248669411"
+      },
+      "related-to": [
+        {
+          "id": "24712",
+          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+          "node-type": "entitlement",
+          "url": "/aai/v15/network/generic-vnfs/generic-vnf/generic-vnf-test-0-ABC890/entitlements/entitlement/entitlement-test-21-ABC890/entitlement-test-22-ABC890"
+        },
+        {
+          "id": "28696",
+          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+          "node-type": "license",
+          "url": "/aai/v15/network/generic-vnfs/generic-vnf/generic-vnf-test-0-ABC890/licenses/license/license-test-1-ABC890/license-test-2-ABC890"
+        },
+        {
+          "id": "16584",
+          "relationship-label": "tosca.relationships.HostedOn",
+          "node-type": "vserver",
+          "url": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/cr-test-5-ABC890/cr-test-6-ABC890/tenants/tenant/tenant-test-3-ABC890/vservers/vserver/vserver-test-3-ABC890"
+        },
+        {
+          "id": "28864",
+          "relationship-label": "tosca.relationships.HostedOn",
+          "node-type": "pserver",
+          "url": "/aai/v15/cloud-infrastructure/pservers/pserver/pserver-test-1-ABC890"
+        }
+      ]
+    },
+    {
+      "id": "28864",
+      "node-type": "pserver",
+      "url": "/aai/v15/cloud-infrastructure/pservers/pserver/pserver-test-1-ABC890",
+      "properties": {
+        "hostname": "pserver-test-1-ABC890",
+        "in-maint": false,
+        "resource-version": "1558031744715"
+      },
+      "related-to": [
+        {
+          "id": "16584",
+          "relationship-label": "tosca.relationships.HostedOn",
+          "node-type": "vserver",
+          "url": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/cr-test-5-ABC890/cr-test-6-ABC890/tenants/tenant/tenant-test-3-ABC890/vservers/vserver/vserver-test-3-ABC890"
+        },
+        {
+          "id": "16632",
+          "relationship-label": "tosca.relationships.HostedOn",
+          "node-type": "generic-vnf",
+          "url": "/aai/v15/network/generic-vnfs/generic-vnf/generic-vnf-test-0-ABC890"
+        },
+        {
+          "id": "24600",
+          "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+          "node-type": "complex",
+          "url": "/aai/v15/cloud-infrastructure/complexes/complex/complex-test-1-ABC890"
+        }
+      ]
+    },
+    {
+      "id": "24600",
+      "node-type": "complex",
+      "url": "/aai/v15/cloud-infrastructure/complexes/complex/complex-test-1-ABC890",
+      "properties": {
+        "physical-location-id": "complex-test-1-ABC890",
+        "data-center-code": "lisleil-test-11",
+        "complex-name": "complex-name-lisleil-test-11",
+        "resource-version": "1558031745028",
+        "physical-location-type": "lisle-lab",
+        "street1": "4513 Western Ave",
+        "street2": "CU-211",
+        "city": "Lisle",
+        "state": "IL",
+        "postal-code": "60532",
+        "country": "USA",
+        "region": "Midwest",
+        "latitude": "example-latitude-val-2652",
+        "longitude": "example-longitude-val-2652",
+        "elevation": "95",
+        "lata": "example-lata-val-2652"
+      },
+      "related-to": [
+        {
+          "id": "28864",
+          "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+          "node-type": "pserver",
+          "url": "/aai/v15/cloud-infrastructure/pservers/pserver/pserver-test-1-ABC890"
+        }
+      ]
+    }
+  ]
+}