summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/resources
diff options
context:
space:
mode:
authorLamont, William (wl2432) <wl2432@att.com>2018-01-15 13:15:33 -0500
committerLamont, William (wl2432) <wl2432@att.com>2018-01-15 13:16:09 -0500
commit55e085c6b8fbac94207e0f69ac2b17c561dbc203 (patch)
treed1a677faf36f7241cc8a35d9249e712d33559092 /aai-traversal/src/test/resources
parent78c96d11932a849a1702ab134391918a723f01ef (diff)
Add ability to do optional params for custom query
Change-Id: I1e61bbee2def41db5e7064ad3a3e916b7afcc299 Issue-ID: AAI-652 Signed-off-by: Lamont, William (wl2432) <wl2432@att.com>
Diffstat (limited to 'aai-traversal/src/test/resources')
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/cloud-region.ComponentList-1.2.json4
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/cloud-region.closed-loop-named-query-1.0.json4
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/cloud-region2.closed-loop-named-query-1.0.json4
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/customer.ComponentList-1.2.json18
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/customer.SvcSubscriberModelInfo-1.0.json13
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/customer.closed-loop-named-query-1.0.json32
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.ComponentList-1.2.json27
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.closed-loop-named-query-1.0.json131
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/logical-link.DHVLogicalLinkByCircuitId-1.0.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/model.ComponentList-1.2.json22
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/model.SvcSubscriberModelInfo-1.0.json10
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/model.closed-loop-named-query-1.0.json22
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/query-payload.ComponentList-1.2.json23
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/query-payload.DHVLogicalLinkByCircuitId-1.0.json16
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/query-payload.SvcSubscriberModelInfo-1.0.json20
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/query-payload.closed-loop-named-query-1.0.json29
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/tenant.ComponentList-1.2.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/tenant.closed-loop-named-query-1.0.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/tenant2.closed-loop-named-query-1.0.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/vf-module.ComponentList-1.2.json6
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/vserver.ComponentList-1.2.json22
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/vserver.closed-loop-named-query-1.0.json7
-rw-r--r--aai-traversal/src/test/resources/payloads/named-queries/vserver2.closed-loop-named-query-1.0.json7
23 files changed, 437 insertions, 0 deletions
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.ComponentList-1.2.json
new file mode 100644
index 0000000..13a4552
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.ComponentList-1.2.json
@@ -0,0 +1,4 @@
+ {
+ "cloud-owner": "cloud-owner-component-list-junit",
+ "cloud-region-id": "cloud-region-id-component-list-junit"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..b1ed9fa
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region.closed-loop-named-query-1.0.json
@@ -0,0 +1,4 @@
+ {
+ "cloud-owner": "cloud-owner-closed-loop-junit",
+ "cloud-region-id": "cloud-region-id-closed-loop-junit"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/cloud-region2.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region2.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..b86ffe0
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/cloud-region2.closed-loop-named-query-1.0.json
@@ -0,0 +1,4 @@
+ {
+ "cloud-owner": "cloud-owner2-closed-loop-junit",
+ "cloud-region-id": "cloud-region-id2-closed-loop-junit"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/customer.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/customer.ComponentList-1.2.json
new file mode 100644
index 0000000..bff2f49
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/customer.ComponentList-1.2.json
@@ -0,0 +1,18 @@
+{
+ "global-customer-id": "customer-component-list-junit",
+ "subscriber-name": "subscriber-name-component-list-junit",
+ "subscriber-type": "subscriber-type-component-list",
+ "service-subscriptions": {
+ "service-subscription": [{
+ "service-type": "service-type-component-list-junit",
+ "service-instances": {
+ "service-instance": [{
+ "service-instance-id": "service-instance-id-component-list-junit",
+ "service-instance-name": "service-instance-name-component-list-junit",
+ "model-invariant-id": "model-invariant-id-component-list-junit",
+ "model-version-id": "model-version-id-component-list-junit"
+ }]
+ }
+ }]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/customer.SvcSubscriberModelInfo-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/customer.SvcSubscriberModelInfo-1.0.json
new file mode 100644
index 0000000..4f010bb
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/customer.SvcSubscriberModelInfo-1.0.json
@@ -0,0 +1,13 @@
+{
+ "global-customer-id": "junit-global-customer-id",
+ "subscriber-name": "junit-subscriber",
+ "subscriber-type": "CUST",
+ "service-subscriptions": {"service-subscription": [ {
+ "service-type": "junit-service-type",
+ "service-instances": {"service-instance": [ {
+ "service-instance-id": "junit-service-instance-id",
+ "model-invariant-id": "junit-model-invariant-id",
+ "model-version-id": "junit-model-version-id"
+ }]}
+ }]}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/customer.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/customer.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..21d4468
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/customer.closed-loop-named-query-1.0.json
@@ -0,0 +1,32 @@
+ {
+ "global-customer-id": "customer-closed-loop-junit",
+ "subscriber-name": "example-subscriber-name-val-closed-loop-junitcustomer-closed-loop-junit",
+ "subscriber-type": "example-subscriber-type-val-closed-loop-junit",
+ "service-subscriptions": {
+ "service-subscription": [
+ {
+ "service-type": "service-type-closed-loop-junit",
+ "temp-ub-sub-account-id": "example-temp-ub-sub-account-id-val-closed-loop-junit",
+ "service-instances": {
+ "service-instance": [
+ {
+ "service-instance-id": "service-instance-closed-loop-junit",
+ "service-instance-name": "example-service-instance-name-val-closed-loop-junit",
+ "model-invariant-id": "model-invariant-id-closed-loop-junit",
+ "model-version-id": "model-version-id-closed-loop-junit",
+ "widget-model-id": "example-widget-model-id-val-closed-loop-junit",
+ "widget-model-version": "example-widget-model-version-val-closed-loop-junit",
+ "bandwidth-total": "example-bandwidth-total-val-closed-loop-junit",
+ "bandwidth-up-wan1": "example-bandwidth-up-wan1-val-closed-loop-junit",
+ "bandwidth-down-wan1": "example-bandwidth-down-wan1-val-closed-loop-junit",
+ "bandwidth-up-wan2": "example-bandwidth-up-wan2-val-closed-loop-junit",
+ "bandwidth-down-wan2": "example-bandwidth-down-wan2-val-closed-loop-junit",
+ "vhn-portal-url": "example-vhn-portal-url-val-closed-loop-junit",
+ "service-instance-location-id": "example-service-instance-location-id-val-closed-loop-junit"
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.ComponentList-1.2.json
new file mode 100644
index 0000000..e85d7e9
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.ComponentList-1.2.json
@@ -0,0 +1,27 @@
+ {
+ "vnf-id": "vnf-id-component-list-junit",
+ "vnf-name": "vnf-id-component-list-junit",
+ "vnf-type": "vnf-type-component-list",
+ "equipment-role": "equipment-role-component-list",
+ "service-id": "service-id-component-list",
+ "prov-status": "prov-status-component-list",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "service-instance",
+ "relationship-data": [{
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "customer-component-list-junit"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "service-type-component-list-junit"
+ },
+ {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "service-instance-id-component-list-junit"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..17c39cd
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/generic-vnf.closed-loop-named-query-1.0.json
@@ -0,0 +1,131 @@
+{
+ "vnf-id": "generic-vnf-closed-loop-junit",
+ "vnf-name": "example-vnf-name-val-closed-loop",
+ "vnf-name2": "example-vnf-name2-val-closed-loop",
+ "vnf-type": "example-vnf-type-val-closed-loop",
+ "prov-status": "example-prov-status-val-closed-loop",
+ "service-id": "example-service-id-val-closed-loop",
+ "model-invariant-id": "model-invariant-id-closed-loop-junit",
+ "model-version-id": "model-version-id-closed-loop-junit",
+ "regional-resource-zone": "example-regional-resource-zone-val-closed-loop",
+ "license-key": "example-license-key-val-closed-loop",
+ "equipment-role": "example-equipment-role-val-closed-loop",
+ "orchestration-status": "example-orchestration-status-val-closed-loop",
+ "heat-stack-id": "example-heat-stack-id-val-closed-loop",
+ "mso-catalog-key": "example-mso-catalog-key-val-closed-loop",
+ "management-option": "example-management-option-val-closed-loop",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-closed-loop",
+ "ipv4-loopback0-address": "example-ipv4-loopback0-address-val-closed-loop",
+ "nm-lan-v6-address": "example-nm-lan-v6-address-val-closed-loop",
+ "management-v6-address": "example-management-v6-address-val-closed-loop",
+ "vcpu": 7957,
+ "vcpu-units": "example-vcpu-units-val-closed-loop",
+ "vmemory": 168,
+ "vmemory-units": "example-vmemory-units-val-closed-loop",
+ "vdisk": 3227,
+ "vdisk-units": "example-vdisk-units-val-closed-loop",
+ "l-interfaces": {
+ "l-interface": [{
+ "interface-name": "interface-name-generic-vnf-closed-loop-junit",
+ "interface-role": "example-interface-role-val-closed-loop",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-closed-loop",
+ "selflink": "example-selflink-val-closed-loop",
+ "interface-id": "example-interface-id-val-closed-loop",
+ "macaddr": "example-macaddr-val-closed-loop",
+ "network-name": "example-network-name-val-closed-loop",
+ "vlans": {
+ "vlan": [{
+ "vlan-interface": "vlan-interface-generic-vnf-closed-loop-junit",
+ "vlan-id-inner": 498,
+ "vlan-id-outer": 2746,
+ "l3-interface-ipv4-address-list": [{
+ "l3-interface-ipv4-address": "1.1.1.1",
+ "l3-interface-ipv4-prefix-length": 3722,
+ "vlan-id-inner": 6519,
+ "vlan-id-outer": 194,
+ "is-floating": true,
+ "neutron-network-id": "1.1.1.1",
+ "neutron-subnet-id": "1.1.1.1"
+ }],
+ "l3-interface-ipv6-address-list": [{
+ "l3-interface-ipv6-address": "1111:4444:2222:3333::5555:7777",
+ "l3-interface-ipv6-prefix-length": 9215,
+ "vlan-id-inner": 9602,
+ "vlan-id-outer": 5177,
+ "is-floating": true,
+ "neutron-network-id": "2.2.2.2",
+ "neutron-subnet-id": "2.2.2.2"
+ }]
+ }]
+ },
+ "l3-interface-ipv4-address-list": [{
+ "l3-interface-ipv4-address": "3.3.3.3",
+ "l3-interface-ipv4-prefix-length": 9797,
+ "vlan-id-inner": 5534,
+ "vlan-id-outer": 8820,
+ "is-floating": true,
+ "neutron-network-id": "3.3.3.3",
+ "neutron-subnet-id": "3.3.3.3"
+ }],
+ "l3-interface-ipv6-address-list": [{
+ "l3-interface-ipv6-address": "1111:4444:2222:3333::5555:6666",
+ "l3-interface-ipv6-prefix-length": 5983,
+ "vlan-id-inner": 747,
+ "vlan-id-outer": 7535,
+ "is-floating": true,
+ "neutron-network-id": "4.4.4.4",
+ "neutron-subnet-id": "4.4.4.4"
+ }]
+ }]
+ },
+ "lag-interfaces": {
+ "lag-interface": [{
+ "interface-name": "interface-name-generic-vnf-closed-loop-junit"
+ }]
+ },
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "service-instance",
+ "relationship-data": [{
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "service-instance-closed-loop-junit"
+ }, {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "service-type-closed-loop-junit"
+ }, {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "customer-closed-loop-junit"
+ }]
+ }, {
+ "related-to": "vserver",
+ "relationship-data": [{
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "vserver-closed-loop-junit"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "tenant-closed-loop-junit"
+ }, {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "cloud-owner-closed-loop-junit"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "cloud-region-id-closed-loop-junit"
+ }]
+ }, {
+ "related-to": "vserver",
+ "relationship-data": [{
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "vserver2-closed-loop-junit"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "tenant2-closed-loop-junit"
+ }, {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "cloud-owner2-closed-loop-junit"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "cloud-region-id2-closed-loop-junit"
+ }]
+ }]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/logical-link.DHVLogicalLinkByCircuitId-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/logical-link.DHVLogicalLinkByCircuitId-1.0.json
new file mode 100644
index 0000000..ad45b91
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/logical-link.DHVLogicalLinkByCircuitId-1.0.json
@@ -0,0 +1,5 @@
+{
+ "link-name": "junit-logical-link",
+ "link-type": "junit-link-type",
+ "circuit-id": "junit-circuit-id"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/model.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/model.ComponentList-1.2.json
new file mode 100644
index 0000000..6a15af7
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/model.ComponentList-1.2.json
@@ -0,0 +1,22 @@
+ {
+ "model-invariant-id": "model-invariant-id-component-list-junit",
+ "model-type": "example-model-type-val-component-list",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "model-version-id-component-list-junit",
+ "model-name": "example-model-name-val-component-list",
+ "model-version": "5.0",
+ "model-description": "example-model-description-val-component-list",
+ "metadata": {
+ "metadatum": [
+ {
+ "metaname": "metaname-component-list-junit",
+ "metaval": "example-metaval-val-component-list"
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/model.SvcSubscriberModelInfo-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/model.SvcSubscriberModelInfo-1.0.json
new file mode 100644
index 0000000..63cfdf5
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/model.SvcSubscriberModelInfo-1.0.json
@@ -0,0 +1,10 @@
+{
+ "model-invariant-id": "junit-model-invariant-id",
+ "model-type": "junit-model-type",
+ "model-vers": {"model-ver": [ {
+ "model-version-id": "junit-model-version-id",
+ "model-name": "junit-model-name",
+ "model-version": "1",
+ "model-description": "junit-model-description"
+ }]}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/model.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/model.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..f2b95dc
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/model.closed-loop-named-query-1.0.json
@@ -0,0 +1,22 @@
+ {
+ "model-invariant-id": "model-invariant-id-closed-loop-junit",
+ "model-type": "example-model-type-val-closed-loop",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "model-version-id-closed-loop-junit",
+ "model-name": "example-model-name-val-closed-loop",
+ "model-version": "5.0",
+ "model-description": "example-model-description-val-closed-loop",
+ "metadata": {
+ "metadatum": [
+ {
+ "metaname": "metaname-closed-loop-junit",
+ "metaval": "example-metaval-val-closed-loop"
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/query-payload.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.ComponentList-1.2.json
new file mode 100644
index 0000000..685c1c2
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.ComponentList-1.2.json
@@ -0,0 +1,23 @@
+ {
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "2a183f99-2c66-482b-ade5-7962efd801ef"
+ }
+ },
+ "instance-filters": {
+ "instance-filter": [
+ {
+
+ "customer": {
+ "global-customer-id": "customer-component-list-junit"
+ },
+ "service-subscription": {
+ "service-type": "service-type-component-list-junit"
+ },
+ "service-instance": {
+ "service-instance-id": "service-instance-id-component-list-junit"
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/query-payload.DHVLogicalLinkByCircuitId-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.DHVLogicalLinkByCircuitId-1.0.json
new file mode 100644
index 0000000..e16d9be
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.DHVLogicalLinkByCircuitId-1.0.json
@@ -0,0 +1,16 @@
+{
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "4028faed-b7d5-4059-9d49-7df06da9ebfb"
+ }
+ },
+ "instance-filters": {
+ "instance-filter": [
+ {
+ "logical-link": {
+ "circuit-id": "junit-circuit-id"
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/query-payload.SvcSubscriberModelInfo-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.SvcSubscriberModelInfo-1.0.json
new file mode 100644
index 0000000..9e39c2f
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.SvcSubscriberModelInfo-1.0.json
@@ -0,0 +1,20 @@
+{
+"instance-filters": {
+"instance-filter": [
+{
+"customer": {
+"global-customer-id": "junit-global-customer-id"
+},
+"service-subscription": {
+"service-type": "junit-service-type"
+}
+
+}
+]
+},
+"query-parameters": {
+"named-query": {
+"named-query-uuid": "6e806bc2-8f9b-4534-bb68-be91267ff6c8"
+}
+}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/query-payload.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..2aa3f3a
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/query-payload.closed-loop-named-query-1.0.json
@@ -0,0 +1,29 @@
+ {
+ "query-parameters": {
+ "named-query": {
+ "named-query-uuid": "4ff56a54-9e3f-46b7-a337-07a1d3c6b469"
+ }
+ },
+ "instance-filters": {
+ "instance-filter": [
+ {
+ "vserver": {
+ "vserver-name": "example-vserver-name-val-closed-loopvserver-closed-loop-junit"
+ }
+ }
+ ]
+ },
+ "secondary-filts": {
+ "secondary-filt": [
+ {
+ "cloud-region": {
+ "cloud-owner": "cloud-owner2-closed-loop-junit"
+ },
+ "cloud-region": {
+ "cloud-region-id": "cloud-region-id2-closed-loop-junit"
+ }
+ }
+ ]
+ },
+ "secondary-filter-cut-point": "cloud-region"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/tenant.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/tenant.ComponentList-1.2.json
new file mode 100644
index 0000000..7aeed9e
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/tenant.ComponentList-1.2.json
@@ -0,0 +1,5 @@
+ {
+ "tenant-id": "tenant-component-list-junit",
+ "tenant-name": "tenant-name-component-list",
+ "relationship-list": {}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/tenant.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/tenant.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..33b9598
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/tenant.closed-loop-named-query-1.0.json
@@ -0,0 +1,5 @@
+ {
+ "tenant-id": "tenant-closed-loop-junit",
+ "tenant-name": "tenant-name-closed-loop",
+ "relationship-list": {}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/tenant2.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/tenant2.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..5fa4d18
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/tenant2.closed-loop-named-query-1.0.json
@@ -0,0 +1,5 @@
+ {
+ "tenant-id": "tenant2-closed-loop-junit",
+ "tenant-name": "tenant-name2-closed-loop",
+ "relationship-list": {}
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/vf-module.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/vf-module.ComponentList-1.2.json
new file mode 100644
index 0000000..abc27bc
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/vf-module.ComponentList-1.2.json
@@ -0,0 +1,6 @@
+ {
+ "vf-module-id": "vf-module-id-component-list-junit",
+ "vf-module-name": "vf-module-name-component-list",
+ "orchestration-status": "orchestration-status-component-list",
+ "is-base-vf-module": true
+ } \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/vserver.ComponentList-1.2.json b/aai-traversal/src/test/resources/payloads/named-queries/vserver.ComponentList-1.2.json
new file mode 100644
index 0000000..edeb2a2
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/vserver.ComponentList-1.2.json
@@ -0,0 +1,22 @@
+ {
+ "vserver-id": "vserver-id-component-list-junit",
+ "vserver-name": "vserver-name-component-list-junit",
+ "vserver-name2": "vserver-name2-component-list",
+ "prov-status": "prov-status-component-list",
+ "vserver-selflink": "vserver-selflink-component-list",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "vf-module",
+ "relationship-data": [{
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "vnf-id-component-list-junit"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "vf-module-id-component-list-junit"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/vserver.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/vserver.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..f78f3d4
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/vserver.closed-loop-named-query-1.0.json
@@ -0,0 +1,7 @@
+ {
+ "vserver-id": "vserver-closed-loop-junit",
+ "vserver-name": "example-vserver-name-val-closed-loopvserver-closed-loop-junit",
+ "vserver-name2": "example-vserver-name2-val-closed-loop",
+ "prov-status": "example-prov-status-val-closed-loop",
+ "vserver-selflink": "example-vserver-selflink-val-closed-loop"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/named-queries/vserver2.closed-loop-named-query-1.0.json b/aai-traversal/src/test/resources/payloads/named-queries/vserver2.closed-loop-named-query-1.0.json
new file mode 100644
index 0000000..e4e131a
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/named-queries/vserver2.closed-loop-named-query-1.0.json
@@ -0,0 +1,7 @@
+ {
+ "vserver-id": "vserver2-closed-loop-junit",
+ "vserver-name": "example-vserver-name-val-closed-loopvserver-closed-loop-junit",
+ "vserver-name2": "example-vserver-name2-val-closed-loop",
+ "prov-status": "example-prov-status-val-closed-loop",
+ "vserver-selflink": "example-vserver-selflink-val-closed-loop"
+} \ No newline at end of file