summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/payloads/resource
diff options
context:
space:
mode:
Diffstat (limited to 'aai-core/src/test/resources/payloads/resource')
-rw-r--r--aai-core/src/test/resources/payloads/resource/complex_pserver_with_relation.json29
-rw-r--r--aai-core/src/test/resources/payloads/resource/customer_with_children_and_generic-vnf_with_children_and_edge_between_service-instance_vlan.json70
-rw-r--r--aai-core/src/test/resources/payloads/resource/generic-vnf-implied-delete.json26
-rw-r--r--aai-core/src/test/resources/payloads/resource/generic-vnf-notification.json6
-rw-r--r--aai-core/src/test/resources/payloads/resource/generic-vnf-with-vf-module.json17
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-child-on-existing-obj.json273
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json289
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json269
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-child-on-existing-obj.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-child-on-existing-obj.json12
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json48
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json28
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-child-on-existing-obj.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json9
-rw-r--r--aai-core/src/test/resources/payloads/resource/prevalidation/failed-response-with-violations.json28
-rw-r--r--aai-core/src/test/resources/payloads/resource/prevalidation/success-request-with-no-violations.json22
-rw-r--r--aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-empty-violations.json13
-rw-r--r--aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-exclude-violations.json12
-rw-r--r--aai-core/src/test/resources/payloads/resource/pserver-implied-delete.json23
-rw-r--r--aai-core/src/test/resources/payloads/resource/pserver-to-gvnf-relationship-notification.json4
-rw-r--r--aai-core/src/test/resources/payloads/resource/pserver-with-children-for-notification.json273
-rw-r--r--aai-core/src/test/resources/payloads/resource/transform-results-to-result.json61
-rw-r--r--aai-core/src/test/resources/payloads/resource/vnfc-related-to-vf-module.json19
26 files changed, 1576 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/payloads/resource/complex_pserver_with_relation.json b/aai-core/src/test/resources/payloads/resource/complex_pserver_with_relation.json
new file mode 100644
index 00000000..d6b1165f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/complex_pserver_with_relation.json
@@ -0,0 +1,29 @@
+{
+ "complex": {
+ "physical-location-id": "complex-1",
+ "data-center-code": "MiddletownNJ",
+ "complex-name": "complex-L-lisleil",
+ "physical-location-type": "uCPE Complex",
+ "street1": "4513 Western Ave",
+ "street2": "CU-L",
+ "city": "Middletown",
+ "state": "NJ",
+ "postal-code": "07748",
+ "country": "USA",
+ "region": "NA"
+ },
+ "pserver": {
+ "hostname": "pserver-1",
+ "ptnii-equip-name": "ptnii",
+ "number-of-cpus": 280,
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+ "related-link": "/aai/v14/cloud-infrastructure/complexes/complex/complex-1"
+ }
+ ]
+ }
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/customer_with_children_and_generic-vnf_with_children_and_edge_between_service-instance_vlan.json b/aai-core/src/test/resources/payloads/resource/customer_with_children_and_generic-vnf_with_children_and_edge_between_service-instance_vlan.json
new file mode 100644
index 00000000..d4c4f65b
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/customer_with_children_and_generic-vnf_with_children_and_edge_between_service-instance_vlan.json
@@ -0,0 +1,70 @@
+{
+ "generic-vnf": {
+ "vnf-id": "gvnf",
+ "vnf-name": "example-vnf-name-val-28303",
+ "vnf-name2": "example-vnf-name2-val-14743",
+ "vnf-type": "example-vnf-type-val-58866",
+ "service-id": "example-service-id-val-24831",
+ "regional-resource-zone": "example-regional-resource-zone-val-33255",
+ "prov-status": "example-prov-status-val-47870",
+ "operational-state": "example-operational-state-val-8419",
+ "equipment-role": "example-equipment-role-val-35736",
+ "orchestration-status": "example-orchestration-status-val-67542",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "lint",
+ "interface-role": "example-interface-role-val-61355",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-78314",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "vlan",
+ "vlan-id-inner": 90845777,
+ "vlan-id-outer": 23395650
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "customer": {
+ "global-customer-id": "cust",
+ "subscriber-name": "subscriber-name-022",
+ "subscriber-type": "subscriber-type-022",
+ "service-subscriptions": {
+ "service-subscription": {
+ "service-type": "ss",
+ "service-instances": {
+ "service-instance": [
+ {
+ "service-instance-id": "si",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vlan",
+ "relationship-data": [
+ {
+ "relationship-key": "vlan.vlan-interface",
+ "relationship-value": "vlan"
+ },
+ {
+ "relationship-key": "l-interface.interface-name",
+ "relationship-value": "lint"
+ },
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "gvnf"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/generic-vnf-implied-delete.json b/aai-core/src/test/resources/payloads/resource/generic-vnf-implied-delete.json
new file mode 100644
index 00000000..0c83c36a
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/generic-vnf-implied-delete.json
@@ -0,0 +1,26 @@
+{
+ "vnf-id": "generic-vnf-implied-delete",
+ "vnf-type": "sometype",
+ "in-maint": true,
+ "is-closed-loop-disabled": true,
+ "vf-modules": {
+ "vf-module": [
+ {
+ "vf-module-id": "vf-mod-id1",
+ "is-base-vf-module": true
+ },
+ {
+ "vf-module-id": "vf-mod-id2",
+ "is-base-vf-module": true
+ },
+ {
+ "vf-module-id": "vf-mod-id3",
+ "is-base-vf-module": true
+ },
+ {
+ "vf-module-id": "vf-mod-id4",
+ "is-base-vf-module": true
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/generic-vnf-notification.json b/aai-core/src/test/resources/payloads/resource/generic-vnf-notification.json
new file mode 100644
index 00000000..27b38d2e
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/generic-vnf-notification.json
@@ -0,0 +1,6 @@
+{
+ "vnf-id": "generic-vnf-notification",
+ "vnf-type": "sometype",
+ "in-maint": true,
+ "is-closed-loop-disabled": true
+}
diff --git a/aai-core/src/test/resources/payloads/resource/generic-vnf-with-vf-module.json b/aai-core/src/test/resources/payloads/resource/generic-vnf-with-vf-module.json
new file mode 100644
index 00000000..09c9b48f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/generic-vnf-with-vf-module.json
@@ -0,0 +1,17 @@
+{
+ "vnf-id": "test-vnf11",
+ "vnf-name": "example-vnf-name-val-37069",
+ "vnf-name2": "example-vnf-name2-val-58382",
+ "vnf-type": "example-vnf-type-val-95069",
+ "in-maint": true,
+ "is-closed-loop-disabled": true,
+ "vf-modules": {
+ "vf-module": [
+ {
+ "vf-module-id": "vf-module-test11",
+ "is-base-vf-module": true,
+ "automated-assignment": true
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-child-on-existing-obj.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-child-on-existing-obj.json
new file mode 100644
index 00000000..5cb33c82
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-child-on-existing-obj.json
@@ -0,0 +1,273 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672",
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "example-interface-name-val-46147",
+ "selflink": "example-selflink-val-81029",
+ "speed-value": "example-speed-value-val-47874",
+ "speed-units": "example-speed-units-val-10396",
+ "port-description": "example-port-description-val-53068",
+ "equipment-identifier": "example-equipment-identifier-val-63234",
+ "interface-role": "example-interface-role-val-49232",
+ "interface-type": "example-interface-type-val-21757",
+ "prov-status": "example-prov-status-val-19117",
+ "in-maint": true,
+ "inv-status": "example-inv-status-val-48715",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-13366",
+ "interface-role": "example-interface-role-val-29488",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-78396",
+ "selflink": "example-selflink-val-4757",
+ "interface-id": "example-interface-id-val-79486",
+ "macaddr": "example-macaddr-val-52194",
+ "network-name": "example-network-name-val-80678",
+ "management-option": "example-management-option-val-53535",
+ "interface-description": "example-interface-description-val-299",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-9736",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-62271",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-31470",
+ "vlan-id-inner": 61286171,
+ "vlan-id-outer": 64615174,
+ "speed-value": "example-speed-value-val-80457",
+ "speed-units": "example-speed-units-val-51587",
+ "vlan-description": "example-vlan-description-val-97575",
+ "backdoor-connection": "example-backdoor-connection-val-3179",
+ "vpn-key": "example-vpn-key-val-50069",
+ "orchestration-status": "example-orchestration-status-val-34071",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-62615",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-8171",
+ "l3-interface-ipv4-prefix-length": 39266592,
+ "vlan-id-inner": 91284707,
+ "vlan-id-outer": 80343467,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-52921",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-88134"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-70726",
+ "l3-interface-ipv6-prefix-length": 81422758,
+ "vlan-id-inner": 15099560,
+ "vlan-id-outer": 46643832,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-97954",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-23889"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-62086",
+ "interface-role": "example-interface-role-val-13107",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-32015",
+ "selflink": "example-selflink-val-31580",
+ "interface-id": "example-interface-id-val-57805",
+ "macaddr": "example-macaddr-val-54266",
+ "network-name": "example-network-name-val-38517",
+ "management-option": "example-management-option-val-8801",
+ "interface-description": "example-interface-description-val-88573",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-99164",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-14581",
+ "admin-status": "example-admin-status-val-29720"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-31324",
+ "l3-interface-ipv4-prefix-length": 36060646,
+ "vlan-id-inner": 62164959,
+ "vlan-id-outer": 93058593,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-39206",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-27746"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-72897",
+ "l3-interface-ipv6-prefix-length": 29592510,
+ "vlan-id-inner": 18402161,
+ "vlan-id-outer": 651158,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-6821",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-11217"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81745"
+ }
+ ]
+ }
+ },
+ {
+ "interface-name": "p-interface-1",
+ "in-maint": false
+ }
+ ]
+ },
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "example-interface-name-val-87366",
+ "interface-description": "example-interface-description-val-3722",
+ "speed-value": "example-speed-value-val-73546",
+ "speed-units": "example-speed-units-val-73658",
+ "interface-id": "example-interface-id-val-62385",
+ "interface-role": "example-interface-role-val-60746",
+ "prov-status": "example-prov-status-val-26239",
+ "in-maint": true,
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-69579",
+ "interface-role": "example-interface-role-val-64571",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-68385",
+ "selflink": "example-selflink-val-29611",
+ "interface-id": "example-interface-id-val-75464",
+ "macaddr": "example-macaddr-val-7285",
+ "network-name": "example-network-name-val-52284",
+ "management-option": "example-management-option-val-26028",
+ "interface-description": "example-interface-description-val-37641",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-56460",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-23301",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-56661",
+ "vlan-id-inner": 33305644,
+ "vlan-id-outer": 30871600,
+ "speed-value": "example-speed-value-val-1929",
+ "speed-units": "example-speed-units-val-71630",
+ "vlan-description": "example-vlan-description-val-63003",
+ "backdoor-connection": "example-backdoor-connection-val-41834",
+ "vpn-key": "example-vpn-key-val-16552",
+ "orchestration-status": "example-orchestration-status-val-95322",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-89886",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-69142",
+ "l3-interface-ipv4-prefix-length": 11099430,
+ "vlan-id-inner": 88996967,
+ "vlan-id-outer": 23003182,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-53091",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-41571"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-27490",
+ "l3-interface-ipv6-prefix-length": 20167688,
+ "vlan-id-inner": 40775405,
+ "vlan-id-outer": 75855907,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-9739",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-806"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-49266",
+ "interface-role": "example-interface-role-val-210",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-81668",
+ "selflink": "example-selflink-val-6356",
+ "interface-id": "example-interface-id-val-99531",
+ "macaddr": "example-macaddr-val-25092",
+ "network-name": "example-network-name-val-3319",
+ "management-option": "example-management-option-val-79883",
+ "interface-description": "example-interface-description-val-54501",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-48840",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-26846",
+ "admin-status": "example-admin-status-val-89244"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-61251",
+ "l3-interface-ipv4-prefix-length": 91875404,
+ "vlan-id-inner": 36470314,
+ "vlan-id-outer": 96344091,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-17339",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-86128"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-31476",
+ "l3-interface-ipv6-prefix-length": 11663872,
+ "vlan-id-inner": 28459412,
+ "vlan-id-outer": 9852622,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-15120",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-36088"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81055"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..79099538
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,289 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v14/network/generic-vnfs/generic-vnf/generic-vnf-notification",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "generic-vnf-notification"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name"
+ }
+ ]
+ }
+ ]
+ },
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "example-interface-name-val-46147",
+ "selflink": "example-selflink-val-81029",
+ "speed-value": "example-speed-value-val-47874",
+ "speed-units": "example-speed-units-val-10396",
+ "port-description": "example-port-description-val-53068",
+ "equipment-identifier": "example-equipment-identifier-val-63234",
+ "interface-role": "example-interface-role-val-49232",
+ "interface-type": "example-interface-type-val-21757",
+ "prov-status": "example-prov-status-val-19117",
+ "in-maint": true,
+ "inv-status": "example-inv-status-val-48715",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-13366",
+ "interface-role": "example-interface-role-val-29488",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-78396",
+ "selflink": "example-selflink-val-4757",
+ "interface-id": "example-interface-id-val-79486",
+ "macaddr": "example-macaddr-val-52194",
+ "network-name": "example-network-name-val-80678",
+ "management-option": "example-management-option-val-53535",
+ "interface-description": "example-interface-description-val-299",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-9736",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-62271",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-31470",
+ "vlan-id-inner": 61286171,
+ "vlan-id-outer": 64615174,
+ "speed-value": "example-speed-value-val-80457",
+ "speed-units": "example-speed-units-val-51587",
+ "vlan-description": "example-vlan-description-val-97575",
+ "backdoor-connection": "example-backdoor-connection-val-3179",
+ "vpn-key": "example-vpn-key-val-50069",
+ "orchestration-status": "example-orchestration-status-val-34071",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-62615",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-8171",
+ "l3-interface-ipv4-prefix-length": 39266592,
+ "vlan-id-inner": 91284707,
+ "vlan-id-outer": 80343467,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-52921",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-88134"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-70726",
+ "l3-interface-ipv6-prefix-length": 81422758,
+ "vlan-id-inner": 15099560,
+ "vlan-id-outer": 46643832,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-97954",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-23889"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-62086",
+ "interface-role": "example-interface-role-val-13107",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-32015",
+ "selflink": "example-selflink-val-31580",
+ "interface-id": "example-interface-id-val-57805",
+ "macaddr": "example-macaddr-val-54266",
+ "network-name": "example-network-name-val-38517",
+ "management-option": "example-management-option-val-8801",
+ "interface-description": "example-interface-description-val-88573",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-99164",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-14581",
+ "admin-status": "example-admin-status-val-29720"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-31324",
+ "l3-interface-ipv4-prefix-length": 36060646,
+ "vlan-id-inner": 62164959,
+ "vlan-id-outer": 93058593,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-39206",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-27746"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-72897",
+ "l3-interface-ipv6-prefix-length": 29592510,
+ "vlan-id-inner": 18402161,
+ "vlan-id-outer": 651158,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-6821",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-11217"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81745"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "example-interface-name-val-87366",
+ "interface-description": "example-interface-description-val-3722",
+ "speed-value": "example-speed-value-val-73546",
+ "speed-units": "example-speed-units-val-73658",
+ "interface-id": "example-interface-id-val-62385",
+ "interface-role": "example-interface-role-val-60746",
+ "prov-status": "example-prov-status-val-26239",
+ "in-maint": true,
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-69579",
+ "interface-role": "example-interface-role-val-64571",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-68385",
+ "selflink": "example-selflink-val-29611",
+ "interface-id": "example-interface-id-val-75464",
+ "macaddr": "example-macaddr-val-7285",
+ "network-name": "example-network-name-val-52284",
+ "management-option": "example-management-option-val-26028",
+ "interface-description": "example-interface-description-val-37641",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-56460",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-23301",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-56661",
+ "vlan-id-inner": 33305644,
+ "vlan-id-outer": 30871600,
+ "speed-value": "example-speed-value-val-1929",
+ "speed-units": "example-speed-units-val-71630",
+ "vlan-description": "example-vlan-description-val-63003",
+ "backdoor-connection": "example-backdoor-connection-val-41834",
+ "vpn-key": "example-vpn-key-val-16552",
+ "orchestration-status": "example-orchestration-status-val-95322",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-89886",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-69142",
+ "l3-interface-ipv4-prefix-length": 11099430,
+ "vlan-id-inner": 88996967,
+ "vlan-id-outer": 23003182,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-53091",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-41571"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-27490",
+ "l3-interface-ipv6-prefix-length": 20167688,
+ "vlan-id-inner": 40775405,
+ "vlan-id-outer": 75855907,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-9739",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-806"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-49266",
+ "interface-role": "example-interface-role-val-210",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-81668",
+ "selflink": "example-selflink-val-6356",
+ "interface-id": "example-interface-id-val-99531",
+ "macaddr": "example-macaddr-val-25092",
+ "network-name": "example-network-name-val-3319",
+ "management-option": "example-management-option-val-79883",
+ "interface-description": "example-interface-description-val-54501",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-48840",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-26846",
+ "admin-status": "example-admin-status-val-89244"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-61251",
+ "l3-interface-ipv4-prefix-length": 91875404,
+ "vlan-id-inner": 36470314,
+ "vlan-id-outer": 96344091,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-17339",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-86128"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-31476",
+ "l3-interface-ipv6-prefix-length": 11663872,
+ "vlan-id-inner": 28459412,
+ "vlan-id-outer": 9852622,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-15120",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-36088"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81055"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..cdcd3ee0
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,269 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672",
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "example-interface-name-val-46147",
+ "selflink": "example-selflink-val-81029",
+ "speed-value": "example-speed-value-val-47874",
+ "speed-units": "example-speed-units-val-10396",
+ "port-description": "example-port-description-val-53068",
+ "equipment-identifier": "example-equipment-identifier-val-63234",
+ "interface-role": "example-interface-role-val-49232",
+ "interface-type": "example-interface-type-val-21757",
+ "prov-status": "example-prov-status-val-19117",
+ "in-maint": true,
+ "inv-status": "example-inv-status-val-48715",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-13366",
+ "interface-role": "example-interface-role-val-29488",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-78396",
+ "selflink": "example-selflink-val-4757",
+ "interface-id": "example-interface-id-val-79486",
+ "macaddr": "example-macaddr-val-52194",
+ "network-name": "example-network-name-val-80678",
+ "management-option": "example-management-option-val-53535",
+ "interface-description": "example-interface-description-val-299",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-9736",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-62271",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-31470",
+ "vlan-id-inner": 61286171,
+ "vlan-id-outer": 64615174,
+ "speed-value": "example-speed-value-val-80457",
+ "speed-units": "example-speed-units-val-51587",
+ "vlan-description": "example-vlan-description-val-97575",
+ "backdoor-connection": "example-backdoor-connection-val-3179",
+ "vpn-key": "example-vpn-key-val-50069",
+ "orchestration-status": "example-orchestration-status-val-34071",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-62615",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-8171",
+ "l3-interface-ipv4-prefix-length": 39266592,
+ "vlan-id-inner": 91284707,
+ "vlan-id-outer": 80343467,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-52921",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-88134"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-70726",
+ "l3-interface-ipv6-prefix-length": 81422758,
+ "vlan-id-inner": 15099560,
+ "vlan-id-outer": 46643832,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-97954",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-23889"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-62086",
+ "interface-role": "example-interface-role-val-13107",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-32015",
+ "selflink": "example-selflink-val-31580",
+ "interface-id": "example-interface-id-val-57805",
+ "macaddr": "example-macaddr-val-54266",
+ "network-name": "example-network-name-val-38517",
+ "management-option": "example-management-option-val-8801",
+ "interface-description": "example-interface-description-val-88573",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-99164",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-14581",
+ "admin-status": "example-admin-status-val-29720"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-31324",
+ "l3-interface-ipv4-prefix-length": 36060646,
+ "vlan-id-inner": 62164959,
+ "vlan-id-outer": 93058593,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-39206",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-27746"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-72897",
+ "l3-interface-ipv6-prefix-length": 29592510,
+ "vlan-id-inner": 18402161,
+ "vlan-id-outer": 651158,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-6821",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-11217"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81745"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "example-interface-name-val-87366",
+ "interface-description": "example-interface-description-val-3722",
+ "speed-value": "example-speed-value-val-73546",
+ "speed-units": "example-speed-units-val-73658",
+ "interface-id": "example-interface-id-val-62385",
+ "interface-role": "example-interface-role-val-60746",
+ "prov-status": "example-prov-status-val-26239",
+ "in-maint": true,
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-69579",
+ "interface-role": "example-interface-role-val-64571",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-68385",
+ "selflink": "example-selflink-val-29611",
+ "interface-id": "example-interface-id-val-75464",
+ "macaddr": "example-macaddr-val-7285",
+ "network-name": "example-network-name-val-52284",
+ "management-option": "example-management-option-val-26028",
+ "interface-description": "example-interface-description-val-37641",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-56460",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-23301",
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-56661",
+ "vlan-id-inner": 33305644,
+ "vlan-id-outer": 30871600,
+ "speed-value": "example-speed-value-val-1929",
+ "speed-units": "example-speed-units-val-71630",
+ "vlan-description": "example-vlan-description-val-63003",
+ "backdoor-connection": "example-backdoor-connection-val-41834",
+ "vpn-key": "example-vpn-key-val-16552",
+ "orchestration-status": "example-orchestration-status-val-95322",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-89886",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-69142",
+ "l3-interface-ipv4-prefix-length": 11099430,
+ "vlan-id-inner": 88996967,
+ "vlan-id-outer": 23003182,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-53091",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-41571"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-27490",
+ "l3-interface-ipv6-prefix-length": 20167688,
+ "vlan-id-inner": 40775405,
+ "vlan-id-outer": 75855907,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-9739",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-806"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-49266",
+ "interface-role": "example-interface-role-val-210",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-81668",
+ "selflink": "example-selflink-val-6356",
+ "interface-id": "example-interface-id-val-99531",
+ "macaddr": "example-macaddr-val-25092",
+ "network-name": "example-network-name-val-3319",
+ "management-option": "example-management-option-val-79883",
+ "interface-description": "example-interface-description-val-54501",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-48840",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-26846",
+ "admin-status": "example-admin-status-val-89244"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-61251",
+ "l3-interface-ipv4-prefix-length": 91875404,
+ "vlan-id-inner": 36470314,
+ "vlan-id-outer": 96344091,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-17339",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-86128"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-31476",
+ "l3-interface-ipv6-prefix-length": 11663872,
+ "vlan-id-inner": 28459412,
+ "vlan-id-outer": 9852622,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-15120",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-36088"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81055"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-child-on-existing-obj.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-child-on-existing-obj.json
new file mode 100644
index 00000000..2c255c1f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-child-on-existing-obj.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "UPDATE",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..2c255c1f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "UPDATE",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..2c255c1f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-all/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "UPDATE",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-child-on-existing-obj.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-child-on-existing-obj.json
new file mode 100644
index 00000000..174db245
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-child-on-existing-obj.json
@@ -0,0 +1,12 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "p-interface-1",
+ "in-maint": false
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..54afd1b6
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-create-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,48 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v14/network/generic-vnfs/generic-vnf/generic-vnf-notification",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "generic-vnf-notification"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name"
+ }
+ ]
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..369bc29b
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-body-delete-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,28 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-child-on-existing-obj.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-child-on-existing-obj.json
new file mode 100644
index 00000000..e9c408af
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-child-on-existing-obj.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "CREATE",
+ "entity-type": "p-interface",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598/p-interfaces/p-interface/p-interface-1"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..2c255c1f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-create-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "UPDATE",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json
new file mode 100644
index 00000000..2c255c1f
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/notification-dmaap-events/depth-zero/expected-notification-header-delete-edge-between-pserver-and-generic-vnf.json
@@ -0,0 +1,9 @@
+{
+ "id": "JUNIT-TRANSACTION",
+ "source-name": "JUNIT",
+ "version": "v14",
+ "action": "UPDATE",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v14/cloud-infrastructure/pservers/pserver/example-hostname-val-85598"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/prevalidation/failed-response-with-violations.json b/aai-core/src/test/resources/payloads/resource/prevalidation/failed-response-with-violations.json
new file mode 100644
index 00000000..409516dc
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/prevalidation/failed-response-with-violations.json
@@ -0,0 +1,28 @@
+{
+ "validationId": "52245aa2-72a8-440d-87e2-570272aa4a83",
+ "validationTimestamp": "20191201T211503Z",
+ "entityId": {
+ "vnf-id": "vnf-jenkins-15903-3"
+ },
+ "entityName": "ormfl405me3",
+ "entityType": "generic-vnf",
+ "entityLink": "network/generic-vnfs/generic-vnf/vnf-jenkins-15903-3",
+ "resourceVersion": "1567815933280",
+ "requestor": "JUNIT",
+ "violations": [{
+ "violationId": "37d6a7ebc1fc244f9dd04b1518726a9b4cc2350e6ff478c69502e8aeb1508333",
+ "modelName": null,
+ "category": "INVALID_VALUE",
+ "severity": "MAJOR",
+ "violationType": "Dlp_rule",
+ "validationRule": "DLP validate generic-vnf nf-values",
+ "violationDetails": {
+ "nf-role": "vSAEGW",
+ "nf-naming-code": "foo",
+ "nf-type": "blah",
+ "nf-function": "blah"
+ },
+ "errorMessage": "Invalid nf values, check nf-type, nf-role, nf-function, and nf-naming-code"
+ }
+ ]
+}
diff --git a/aai-core/src/test/resources/payloads/resource/prevalidation/success-request-with-no-violations.json b/aai-core/src/test/resources/payloads/resource/prevalidation/success-request-with-no-violations.json
new file mode 100644
index 00000000..328f9a26
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/prevalidation/success-request-with-no-violations.json
@@ -0,0 +1,22 @@
+{
+ "cambria.partition": "AAI",
+ "event-header": {
+ "severity": "NORMAL",
+ "entity-type": "pserver",
+ "top-entity-type": "pserver",
+ "entity-link": "/aai/v19/cloud-infrastructure/pservers/pserver/test-pserver234",
+ "event-type": "AAI-EVENT",
+ "domain": "uINT6",
+ "action": "CREATE",
+ "sequence-number": "0",
+ "id": "70b33094-9d60-4e49-9a42-9f9b45ef1aa6",
+ "source-name": "JUNIT",
+ "version": "v19",
+ "timestamp": "20191202-01:26:24:749"
+ },
+ "entity": {
+ "hostname": "test-pserver234",
+ "in-maint": false,
+ "resource-version": "1575249983853"
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-empty-violations.json b/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-empty-violations.json
new file mode 100644
index 00000000..ecd907a1
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-empty-violations.json
@@ -0,0 +1,13 @@
+{
+ "validationId": "52245aa2-72a8-440d-87e2-570272aa4a83b",
+ "validationTimestamp": "20191201T211503Z",
+ "entityId": {
+ "vnf-id": "vnf-jenkins-15903-3"
+ },
+ "entityName": "ormfl405me3",
+ "entityType": "generic-vnf",
+ "entityLink": "network/generic-vnfs/generic-vnf/vnf-jenkins-15903-3",
+ "resourceVersion": "1567815933280",
+ "requestor": "JUNIT",
+ "violations": []
+}
diff --git a/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-exclude-violations.json b/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-exclude-violations.json
new file mode 100644
index 00000000..106b763a
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/prevalidation/success-response-with-exclude-violations.json
@@ -0,0 +1,12 @@
+{
+ "validationId": "52245aa2-72a8-440d-87e2-570272aa4a83b",
+ "validationTimestamp": "20191201T211503Z",
+ "entityId": {
+ "vnf-id": "vnf-jenkins-15903-3"
+ },
+ "entityName": "ormfl405me3",
+ "entityType": "generic-vnf",
+ "entityLink": "network/generic-vnfs/generic-vnf/vnf-jenkins-15903-3",
+ "resourceVersion": "1567815933280",
+ "requestor": "JUNIT"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/pserver-implied-delete.json b/aai-core/src/test/resources/payloads/resource/pserver-implied-delete.json
new file mode 100644
index 00000000..5cc35713
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/pserver-implied-delete.json
@@ -0,0 +1,23 @@
+{
+ "hostname": "test-pserver-implied-delete",
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "test-p-interface-implied-delete-1",
+ "selflink": "somelink"
+ },
+ {
+ "interface-name": "test-p-interface-implied-delete-2",
+ "selflink": "somelink"
+ },
+ {
+ "interface-name": "test-p-interface-implied-delete-3",
+ "selflink": "somelink"
+ },
+ {
+ "interface-name": "test-p-interface-implied-delete-4",
+ "selflink": "somelink"
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/pserver-to-gvnf-relationship-notification.json b/aai-core/src/test/resources/payloads/resource/pserver-to-gvnf-relationship-notification.json
new file mode 100644
index 00000000..cb8ec43a
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/pserver-to-gvnf-relationship-notification.json
@@ -0,0 +1,4 @@
+{
+ "related-to": "generic-vnf",
+ "related-link": "/network/generic-vnfs/generic-vnf/generic-vnf-notification"
+}
diff --git a/aai-core/src/test/resources/payloads/resource/pserver-with-children-for-notification.json b/aai-core/src/test/resources/payloads/resource/pserver-with-children-for-notification.json
new file mode 100644
index 00000000..f0dd071c
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/pserver-with-children-for-notification.json
@@ -0,0 +1,273 @@
+{
+ "hostname": "example-hostname-val-85598",
+ "ptnii-equip-name": "example-ptnii-equip-name-val-85834",
+ "number-of-cpus": 280,
+ "disk-in-gigabytes": 78521,
+ "ram-in-megabytes": 36975,
+ "equip-type": "example-equip-type-val-47930",
+ "equip-vendor": "example-equip-vendor-val-59512",
+ "equip-model": "example-equip-model-val-46076",
+ "fqdn": "example-fqdn-val-74486",
+ "pserver-selflink": "example-pserver-selflink-val-72481",
+ "ipv4-oam-address": "example-ipv4-oam-address-val-16616",
+ "serial-number": "example-serial-number-val-92800",
+ "ipaddress-v4-loopback-0": "example-ipaddress-v4-loopback0-val-61384",
+ "ipaddress-v6-loopback-0": "example-ipaddress-v6-loopback0-val-91056",
+ "ipaddress-v4-aim": "example-ipaddress-v4-aim-val-72233",
+ "ipaddress-v6-aim": "example-ipaddress-v6-aim-val-13572",
+ "ipaddress-v6-oam": "example-ipaddress-v6-oam-val-84518",
+ "inv-status": "example-inv-status-val-5042",
+ "pserver-id": "example-pserver-id-val-15622",
+ "internet-topology": "example-internet-topology-val-31234",
+ "in-maint": true,
+ "pserver-name2": "example-pserver-name2-val-93509",
+ "purpose": "example-purpose-val-52320",
+ "prov-status": "example-prov-status-val-47313",
+ "management-option": "example-management-option-val-72434",
+ "host-profile": "example-host-profile-val-84672",
+ "p-interfaces": {
+ "p-interface": [
+ {
+ "interface-name": "example-interface-name-val-46147",
+ "selflink": "example-selflink-val-81029",
+ "speed-value": "example-speed-value-val-47874",
+ "speed-units": "example-speed-units-val-10396",
+ "port-description": "example-port-description-val-53068",
+ "equipment-identifier": "example-equipment-identifier-val-63234",
+ "interface-role": "example-interface-role-val-49232",
+ "interface-type": "example-interface-type-val-21757",
+ "prov-status": "example-prov-status-val-19117",
+ "in-maint": true,
+ "inv-status": "example-inv-status-val-48715",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-13366",
+ "interface-role": "example-interface-role-val-29488",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-78396",
+ "selflink": "example-selflink-val-4757",
+ "interface-id": "example-interface-id-val-79486",
+ "macaddr": "example-macaddr-val-52194",
+ "network-name": "example-network-name-val-80678",
+ "management-option": "example-management-option-val-53535",
+ "interface-description": "example-interface-description-val-299",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-9736",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-62271",
+ "priority": 82452,
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-31470",
+ "vlan-id-inner": 61286171,
+ "vlan-id-outer": 64615174,
+ "speed-value": "example-speed-value-val-80457",
+ "speed-units": "example-speed-units-val-51587",
+ "vlan-description": "example-vlan-description-val-97575",
+ "backdoor-connection": "example-backdoor-connection-val-3179",
+ "vpn-key": "example-vpn-key-val-50069",
+ "orchestration-status": "example-orchestration-status-val-34071",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-62615",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-8171",
+ "l3-interface-ipv4-prefix-length": 39266592,
+ "vlan-id-inner": 91284707,
+ "vlan-id-outer": 80343467,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-52921",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-88134"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-70726",
+ "l3-interface-ipv6-prefix-length": 81422758,
+ "vlan-id-inner": 15099560,
+ "vlan-id-outer": 46643832,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-97954",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-23889"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-62086",
+ "interface-role": "example-interface-role-val-13107",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-32015",
+ "selflink": "example-selflink-val-31580",
+ "interface-id": "example-interface-id-val-57805",
+ "macaddr": "example-macaddr-val-54266",
+ "network-name": "example-network-name-val-38517",
+ "management-option": "example-management-option-val-8801",
+ "interface-description": "example-interface-description-val-88573",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-99164",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-14581",
+ "priority": 80355,
+ "admin-status": "example-admin-status-val-29720"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-31324",
+ "l3-interface-ipv4-prefix-length": 36060646,
+ "vlan-id-inner": 62164959,
+ "vlan-id-outer": 93058593,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-39206",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-27746"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-72897",
+ "l3-interface-ipv6-prefix-length": 29592510,
+ "vlan-id-inner": 18402161,
+ "vlan-id-outer": 651158,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-6821",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-11217"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81745"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "example-interface-name-val-87366",
+ "interface-description": "example-interface-description-val-3722",
+ "speed-value": "example-speed-value-val-73546",
+ "speed-units": "example-speed-units-val-73658",
+ "interface-id": "example-interface-id-val-62385",
+ "interface-role": "example-interface-role-val-60746",
+ "prov-status": "example-prov-status-val-26239",
+ "in-maint": true,
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-69579",
+ "interface-role": "example-interface-role-val-64571",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-68385",
+ "selflink": "example-selflink-val-29611",
+ "interface-id": "example-interface-id-val-75464",
+ "macaddr": "example-macaddr-val-7285",
+ "network-name": "example-network-name-val-52284",
+ "management-option": "example-management-option-val-26028",
+ "interface-description": "example-interface-description-val-37641",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-56460",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-23301",
+ "priority": 84739,
+ "vlans": {
+ "vlan": [
+ {
+ "vlan-interface": "example-vlan-interface-val-56661",
+ "vlan-id-inner": 33305644,
+ "vlan-id-outer": 30871600,
+ "speed-value": "example-speed-value-val-1929",
+ "speed-units": "example-speed-units-val-71630",
+ "vlan-description": "example-vlan-description-val-63003",
+ "backdoor-connection": "example-backdoor-connection-val-41834",
+ "vpn-key": "example-vpn-key-val-16552",
+ "orchestration-status": "example-orchestration-status-val-95322",
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-89886",
+ "is-ip-unnumbered": true,
+ "is-private": true,
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-69142",
+ "l3-interface-ipv4-prefix-length": 11099430,
+ "vlan-id-inner": 88996967,
+ "vlan-id-outer": 23003182,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-53091",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-41571"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-27490",
+ "l3-interface-ipv6-prefix-length": 20167688,
+ "vlan-id-inner": 40775405,
+ "vlan-id-outer": 75855907,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-9739",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-806"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "example-interface-name-val-49266",
+ "interface-role": "example-interface-role-val-210",
+ "v6-wan-link-ip": "example-v6-wan-link-ip-val-81668",
+ "selflink": "example-selflink-val-6356",
+ "interface-id": "example-interface-id-val-99531",
+ "macaddr": "example-macaddr-val-25092",
+ "network-name": "example-network-name-val-3319",
+ "management-option": "example-management-option-val-79883",
+ "interface-description": "example-interface-description-val-54501",
+ "is-port-mirrored": true,
+ "in-maint": true,
+ "prov-status": "example-prov-status-val-48840",
+ "is-ip-unnumbered": true,
+ "allowed-address-pairs": "example-allowed-address-pairs-val-26846",
+ "priority": 21862,
+ "admin-status": "example-admin-status-val-89244"
+ }
+ ]
+ },
+ "l3-interface-ipv4-address-list": [
+ {
+ "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-61251",
+ "l3-interface-ipv4-prefix-length": 91875404,
+ "vlan-id-inner": 36470314,
+ "vlan-id-outer": 96344091,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-17339",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-86128"
+ }
+ ],
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-31476",
+ "l3-interface-ipv6-prefix-length": 11663872,
+ "vlan-id-inner": 28459412,
+ "vlan-id-outer": 9852622,
+ "is-floating": true,
+ "neutron-network-id": "example-neutron-network-id-val-15120",
+ "neutron-subnet-id": "example-neutron-subnet-id-val-36088"
+ }
+ ],
+ "admin-status": "example-admin-status-val-81055"
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/transform-results-to-result.json b/aai-core/src/test/resources/payloads/resource/transform-results-to-result.json
new file mode 100644
index 00000000..63fa9114
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/transform-results-to-result.json
@@ -0,0 +1,61 @@
+{
+ "results": [
+ {
+ "id": "286724136",
+ "node-type": "pserver",
+ "url": "/aai/v18/cloud-infrastructure/pservers/pserver/test-pserver1",
+ "properties": {
+ "equip-type": "SERVER",
+ "equip-vendor": "SomeVendor",
+ "equip-model": "SomeModel",
+ "in-maint": false,
+ "last-mod-source-of-truth": "AAIRctFeed",
+ "aai-node-type": "pserver",
+ "aai-created-ts": 1568997029298,
+ "aai-last-mod-ts": 1568997029298,
+ "source-of-truth": "AAI",
+ "aai-uri": "/cloud-infrastructure/pservers/pserver/test-pserver1",
+ "aai-uuid": "05fa7b64-59e4-44a1-8162-e32746659c77",
+ "ipv4-oam-address": "1.2.3.4",
+ "hostname": "test-pserver1",
+ "pserver-id": "6bf4944a-9f13-4bb8-8f49-b61060793510",
+ "purpose": "Standalone",
+ "fqdn": "a.b.c.d",
+ "ptnii-equip-name": "test-pserver1",
+ "resource-version": "1568997029298"
+ },
+ "related-to": [
+ {
+ "id": "286724232",
+ "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+ "node-type": "complex",
+ "url": "/aai/v18/cloud-infrastructure/complexes/complex/testcomplex2"
+ },
+ {
+ "id": "286724233",
+ "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+ "node-type": "complex",
+ "url": "/aai/v18/cloud-infrastructure/complexes/complex/testcomplex1"
+ }
+ ]
+ },
+ {
+ "id": "286724152",
+ "node-type": "pserver",
+ "url": "/aai/v18/cloud-infrastructure/pservers/pserver/test-pserver2",
+ "properties": {
+ "in-maint": false,
+ "last-mod-source-of-truth": "JUNITTESTAPP2",
+ "aai-node-type": "pserver",
+ "aai-created-ts": 1553805738492,
+ "aai-last-mod-ts": 1553805738492,
+ "source-of-truth": "JUNITTESTAPP2",
+ "aai-uri": "/cloud-infrastructure/pservers/pserver/test-pserver2",
+ "aai-uuid": "13a8440c-7fb4-4f41-a141-6e1d9e895b4a",
+ "hostname": "test-pserver2",
+ "resource-version": "1553805738492"
+ },
+ "related-to": []
+ }
+ ]
+}
diff --git a/aai-core/src/test/resources/payloads/resource/vnfc-related-to-vf-module.json b/aai-core/src/test/resources/payloads/resource/vnfc-related-to-vf-module.json
new file mode 100644
index 00000000..139681fa
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/vnfc-related-to-vf-module.json
@@ -0,0 +1,19 @@
+{
+ "vnfc-name": "test-vnfc11",
+ "nfc-naming-code": "testname",
+ "nfc-function": "test-value",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "vf-module",
+ "relationship-data": [{
+ "relationship-key": "vnf.vnf-id",
+ "relationship-value": "test-vnf11"
+ }, {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "vf-module-test11"
+ }
+ ]
+ }
+ ]
+ }
+}