summaryrefslogtreecommitdiffstats
path: root/src/test/resources/junit
diff options
context:
space:
mode:
authorGeora Barsky <georab@amdocs.com>2018-10-12 11:46:52 -0400
committerPhillip Leigh <phillip.leigh@amdocs.com>2018-10-12 17:06:49 -0400
commit696b3aab041353afd74e26c0b9a569d0b1b9e254 (patch)
tree31830f0df17dc5c01bcf0eb72eeae845d8ed3257 /src/test/resources/junit
parenta2423cf3ba54da34bb865befd44d56bbb925a94b (diff)
Adding API Mapping infrastructure
Issue-ID: LOG-391 Change-Id: I30d954bcdf1cf0748bb5249cbf10defb8dbc8ff6 Signed-off-by: Geora Barsky <georab@amdocs.com>
Diffstat (limited to 'src/test/resources/junit')
-rw-r--r--src/test/resources/junit/aaiResourcesData-1.json8
-rw-r--r--src/test/resources/junit/customerData-1.json6
-rw-r--r--src/test/resources/junit/customerData-CustomerIdNotFound.json6
-rw-r--r--src/test/resources/junit/queryNodeData-1.json8
-rw-r--r--src/test/resources/junit/queryNodeData-nullResourceLink.json8
5 files changed, 36 insertions, 0 deletions
diff --git a/src/test/resources/junit/aaiResourcesData-1.json b/src/test/resources/junit/aaiResourcesData-1.json
new file mode 100644
index 0000000..66563d5
--- /dev/null
+++ b/src/test/resources/junit/aaiResourcesData-1.json
@@ -0,0 +1,8 @@
+{
+ "related-to": "vnfc",
+ "related-link": "/aai/v11/network/vnfcs/vnfc/zrdm5aepdg01vmg003",
+ "relationship-data": [
+ { "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "zrdm5aepdg01vmg003" }
+ ]
+} \ No newline at end of file
diff --git a/src/test/resources/junit/customerData-1.json b/src/test/resources/junit/customerData-1.json
new file mode 100644
index 0000000..31e6baa
--- /dev/null
+++ b/src/test/resources/junit/customerData-1.json
@@ -0,0 +1,6 @@
+{
+ "global-customer-id": "DemoCust_651800ed-2a3c-45f5-b920-85c1ed155fc2",
+ "subscriber-name": "DemoCust_651800ed-2a3c-45f5-b920-85c1ed155fc2",
+ "subscriber-type": "CUST",
+ "resource-version": "1526324315029"
+} \ No newline at end of file
diff --git a/src/test/resources/junit/customerData-CustomerIdNotFound.json b/src/test/resources/junit/customerData-CustomerIdNotFound.json
new file mode 100644
index 0000000..e2f71c6
--- /dev/null
+++ b/src/test/resources/junit/customerData-CustomerIdNotFound.json
@@ -0,0 +1,6 @@
+{
+ "global-customer-id": "dummy",
+ "subscriber-name": "dummy",
+ "subscriber-type": "CUST",
+ "resource-version": "1526324315029"
+} \ No newline at end of file
diff --git a/src/test/resources/junit/queryNodeData-1.json b/src/test/resources/junit/queryNodeData-1.json
new file mode 100644
index 0000000..e827391
--- /dev/null
+++ b/src/test/resources/junit/queryNodeData-1.json
@@ -0,0 +1,8 @@
+{
+ "result-data": [
+ {
+ "resource-type": "service-instance",
+ "resource-link": "/aai/v11/business/customers/customer/DemoCust_651800ed-2a3c-45f5-b920-85c1ed155fc2/service-subscriptions/service-subscription/vFW/service-instances/service-instance/7d518257-49bd-40ac-8d17-017a726ec12a"
+ }
+ ]
+} \ No newline at end of file
diff --git a/src/test/resources/junit/queryNodeData-nullResourceLink.json b/src/test/resources/junit/queryNodeData-nullResourceLink.json
new file mode 100644
index 0000000..36eb667
--- /dev/null
+++ b/src/test/resources/junit/queryNodeData-nullResourceLink.json
@@ -0,0 +1,8 @@
+{
+ "result-data": [
+ {
+ "resource-type": "service-instance",
+ "related-link": "/aai/v11/network/vnfcs/vnfc/zrdm5aepdg01vmg003"
+ }
+ ]
+}