summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/resources/payloads/templates
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/src/test/resources/payloads/templates')
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/cloud-region-with-vserver.json32
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/configuration.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json46
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/customer-with-serviceinstance.json20
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/customer.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/dsl-query.json4
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/generic-vnf-to-configuration.json72
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/generic-vnf.json7
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/model-ver.json5
-rw-r--r--aai-traversal/src/test/resources/payloads/templates/model.json4
10 files changed, 200 insertions, 0 deletions
diff --git a/aai-traversal/src/test/resources/payloads/templates/cloud-region-with-vserver.json b/aai-traversal/src/test/resources/payloads/templates/cloud-region-with-vserver.json
new file mode 100644
index 0000000..08d5b02
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/cloud-region-with-vserver.json
@@ -0,0 +1,32 @@
+{
+ "cloud-owner": "${cloud-owner}",
+ "cloud-region-id": "${cloud-region-id}",
+ "tenants": {
+ "tenant": [
+ {
+ "tenant-id": "${tenant-id}",
+ "tenant-name": "${tenant-name}",
+ "vservers": {
+ "vserver": [
+ {
+ "vserver-id": "${vserver-id}",
+ "vserver-name": "${vserver-name}",
+ "vserver-name2": "vserver-name-2",
+ "vserver-selflink": "vserver-selflink-1",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "${pserver-uri}"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-traversal/src/test/resources/payloads/templates/configuration.json b/aai-traversal/src/test/resources/payloads/templates/configuration.json
new file mode 100644
index 0000000..d40b2b8
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/configuration.json
@@ -0,0 +1,5 @@
+{
+ "configuration-id": "US-11821-conf-id2-vk250x",
+ "configuration-type": "US-12001-configuration-type2",
+ "configuration-sub-type": "configuration-sub-type2"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json b/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json
new file mode 100644
index 0000000..c77eeea
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/customer-with-configurations.json
@@ -0,0 +1,46 @@
+{
+ "global-customer-id": "${customer-id}",
+ "subscriber-name": "customer-subscriber-name",
+ "subscriber-type": "CUST",
+ "service-subscriptions": {
+ "service-subscription": [
+ {
+ "service-type": "VVIG",
+ "service-instances": {
+ "service-instance": [
+ {
+ "service-instance-id": "${service-instance-id}",
+ "service-instance-name": "${service-instance-name}",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "configuration",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v13/network/configurations/configuration/${configuration-id1}",
+ "relationship-data": [
+ {
+ "relationship-key": "configuration.configuration-id",
+ "relationship-value": "${configuration-id1}"
+ }
+ ]
+ },
+ {
+ "related-to": "configuration",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v13/network/configurations/configuration/${configuration-id2}",
+ "relationship-data": [
+ {
+ "relationship-key": "configuration.configuration-id",
+ "relationship-value": "${configuration-id2}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/customer-with-serviceinstance.json b/aai-traversal/src/test/resources/payloads/templates/customer-with-serviceinstance.json
new file mode 100644
index 0000000..b60a8b5
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/customer-with-serviceinstance.json
@@ -0,0 +1,20 @@
+{
+ "global-customer-id": "${customer-id}",
+ "subscriber-name": "customer-subscriber-name",
+ "subscriber-type": "CUST",
+ "service-subscriptions": {
+ "service-subscription": [
+ {
+ "service-type": "VVIG",
+ "service-instances": {
+ "service-instance": [
+ {
+ "service-instance-id": "${service-instance-id}",
+ "service-instance-name": "${service-instance-name}"
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/customer.json b/aai-traversal/src/test/resources/payloads/templates/customer.json
new file mode 100644
index 0000000..a4b967c
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/customer.json
@@ -0,0 +1,5 @@
+{
+ "global-customer-id": "global-cust-id1",
+ "subscriber-name": "customer-subscriber-name",
+ "subscriber-type": "CUST"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/dsl-query.json b/aai-traversal/src/test/resources/payloads/templates/dsl-query.json
new file mode 100644
index 0000000..60057b4
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/dsl-query.json
@@ -0,0 +1,4 @@
+{
+ "dsl": "${dsl-query}"
+}
+
diff --git a/aai-traversal/src/test/resources/payloads/templates/generic-vnf-to-configuration.json b/aai-traversal/src/test/resources/payloads/templates/generic-vnf-to-configuration.json
new file mode 100644
index 0000000..c617412
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/generic-vnf-to-configuration.json
@@ -0,0 +1,72 @@
+{
+ "vnf-id": "${vnf-id}",
+ "vnf-name": "vnf-name1",
+ "vnf-type": "vnf-type1",
+ "prov-status": "PROV",
+ "license-key": "1123456",
+ "equipment-role": "Test123-Eq-Role",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "configuration",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v13/network/configurations/configuration/${configuration-id}",
+ "relationship-data": [
+ {
+ "relationship-key": "configuration.configuration-id",
+ "relationship-value": "${configuration-id}"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "${interface-name}",
+ "interface-role": "ijWc",
+ "network-name": "network-name1",
+ "interface-description": "3W6lisag9rH",
+ "is-port-mirrored": false,
+ "in-maint": true,
+ "is-ip-unnumbered": false,
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "configuration",
+ "relationship-label": "org.onap.relationships.inventory.AppliesTo",
+ "related-link": "/aai/v13/network/configurations/configuration/${configuration-id}",
+ "relationship-data": [
+ {
+ "relationship-key": "configuration.configuration-id",
+ "relationship-value": "${configuration-id}"
+ }
+ ]
+ }
+ ]
+ },
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "${vlan-interface}",
+ "in-maint": false,
+ "is-ip-unnumbered": false,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "135.190.177.164"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "135.190.177.165"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/generic-vnf.json b/aai-traversal/src/test/resources/payloads/templates/generic-vnf.json
new file mode 100644
index 0000000..7b59251
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/generic-vnf.json
@@ -0,0 +1,7 @@
+{
+ "vnf-id": "${vnf-id}",
+ "vnf-type": "someval",
+ "vnf-name": "someval",
+ "model-invariant-id": "${model-invariant-id}",
+ "model-version-id": "${model-version-id}"
+}
diff --git a/aai-traversal/src/test/resources/payloads/templates/model-ver.json b/aai-traversal/src/test/resources/payloads/templates/model-ver.json
new file mode 100644
index 0000000..e20e0a3
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/model-ver.json
@@ -0,0 +1,5 @@
+{
+ "model-version-id": "${model-version-id}",
+ "model-name": "${model-name}",
+ "model-version": "${model-version}"
+} \ No newline at end of file
diff --git a/aai-traversal/src/test/resources/payloads/templates/model.json b/aai-traversal/src/test/resources/payloads/templates/model.json
new file mode 100644
index 0000000..7eaa4c6
--- /dev/null
+++ b/aai-traversal/src/test/resources/payloads/templates/model.json
@@ -0,0 +1,4 @@
+{
+ "model-invariant-id": "${model-invariant-id}",
+ "model-type": "some-type"
+} \ No newline at end of file