summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorricharv <richard.vondadelszen@amdocs.com>2018-02-07 12:18:08 -0500
committerricharv <richard.vondadelszen@amdocs.com>2018-02-07 12:18:42 -0500
commita23ea1abfc73e3baca3bbf982de1caffbb2f94cf (patch)
tree3211997f473cedbd103762a8576beb374f8787ce /src/test/resources
parentfc82c51d2a399813bfb55ede8ab341400dfce03a (diff)
Increasing test coverage
Issue-ID: AAI-741 Change-Id: Iecc07f9d4ff78c3ffde00ef5bb387a975289ce83 Signed-off-by: richarv <richard.vondadelszen@amdocs.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/sync/ElasticSearch/AfterSync_ElasticSearch_ScrollApi_Successful.json171
-rw-r--r--src/test/resources/sync/ElasticSearch/BeforeSync_ElasticSearch_ScrollApi_Successful.json156
-rw-r--r--src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch1.json17
-rw-r--r--src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch2.json17
-rw-r--r--src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch3.json17
-rw-r--r--src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch4.json17
-rw-r--r--src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch5.json17
-rw-r--r--src/test/resources/sync/aai/activeInventory_complex_nodesQuery_response.json24
-rw-r--r--src/test/resources/sync/aai/complex1_fullDepth_aaiEntityRetrieval.json30
-rw-r--r--src/test/resources/sync/aai/complex2_fullDepth_aaiEntityRetrieval.json30
-rw-r--r--src/test/resources/sync/aai/complex3_fullDepth_aaiEntityRetrieval.json30
-rw-r--r--src/test/resources/sync/aai/complex4_fullDepth_aaiEntityRetrieval.json30
-rw-r--r--src/test/resources/sync/aai/complex5_fullDepth_aaiEntityRetrieval.json30
13 files changed, 586 insertions, 0 deletions
diff --git a/src/test/resources/sync/ElasticSearch/AfterSync_ElasticSearch_ScrollApi_Successful.json b/src/test/resources/sync/ElasticSearch/AfterSync_ElasticSearch_ScrollApi_Successful.json
new file mode 100644
index 0000000..014e194
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/AfterSync_ElasticSearch_ScrollApi_Successful.json
@@ -0,0 +1,171 @@
+{
+ "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7NTs1MzA6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjg6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjc6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1MjY6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjk6T2dvOXI5ekVSWkdTM0JBQ0tnR0JvdzswOw==",
+ "took": 29,
+ "timed_out": false,
+ "_shards": {
+ "total": 5,
+ "successful": 5,
+ "failed": 0
+ },
+ "hits": {
+ "total": 1345,
+ "max_score": 1,
+ "hits": [
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "7defe67ea13549fcf8163c755db0d8595f32da23022966e3313281474a551742DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft2i12bd2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i12bd2",
+ "searchTags": "genericvnft2i12bd2;genericvnft2i12bd2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:40.413-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "981d7d3e27d91cbf118b01e6b5415ecbe1622a0c6c2afe4e04f91919f37f8fbeDWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "complex",
+ "entityPrimaryKeyValue": "STUB-609ccabb-7504-3e23-91a4-30d29776e792",
+ "link": "/aai/v11/cloud-infrastructure/complexes/complex/STUB-609ccabb-7504-3e23-91a4-30d29776e792",
+ "searchTags": "STUB-609ccabb-7504-3e23-91a4-30d29776e792;Sydney;BennelongPoint; 2000",
+ "searchTagIDs": "physical-location-id;complex-name;street1;postal-code",
+ "lastmodTimestamp": "2018-01-25T13:15:57.471-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "89788f6bbcddfe40a5248fdb2c46c380aaea66f61e56c66e00d815163ddf98c4DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "pnf",
+ "entityPrimaryKeyValue": "NSG34-ANZBank",
+ "link": "/aai/v11/network/pnfs/pnf/NSG34-ANZBank",
+ "searchTags": "NSG34-ANZBank",
+ "searchTagIDs": "pnf-name",
+ "lastmodTimestamp": "2018-01-25T13:15:50.890-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "76ec93a5740e6c519dbbe4f20c366bf8114273adc13db228bc3012658ec80e57DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "service-instance",
+ "entityPrimaryKeyValue": "84635d51-0183-4078-850b-8eeb1ac88a5a",
+ "link": "/aai/v11/business/customers/customer/ANZBank/service-subscriptions/service-subscription/SDWAN-CPE/service-instances/service-instance/84635d51-0183-4078-850b-8eeb1ac88a5a",
+ "searchTags": "84635d51-0183-4078-850b-8eeb1ac88a5a;CPE-PERTH-NSG32",
+ "searchTagIDs": "service-instance-id;service-instance-name",
+ "lastmodTimestamp": "2018-01-25T13:15:55.672-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "1ad1fbf279a6f822db790bc1d1143b6c09be33dbcae870b332bcb622b42bb208DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "service-instance",
+ "entityPrimaryKeyValue": "69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb",
+ "link": "/aai/v11/business/customers/customer/AEESDNC/service-subscriptions/service-subscription/SDWAN-DOMAIN/service-instances/service-instance/69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb",
+ "searchTags": "69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb;Domain-AEESDNC",
+ "searchTagIDs": "service-instance-id;service-instance-name",
+ "lastmodTimestamp": "2018-01-25T13:15:54.341-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "11b0c483640efdac72d39859387aa623b2059d8ac35bf5310b3ef0d77c0eaebcDWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft1i1bd2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft1i1bd2",
+ "searchTags": "genericvnft1i1bd2;genericvnft1i1bd2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:28.908-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "44182de194b1b4b6ad8002bf79277cf7be2b3143d2cc4e84c2ce80c46574a550DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft3i1be2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft3i1be2",
+ "searchTags": "genericvnft3i1be2;genericvnft3i1be2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:47.064-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "ee9e7975cb6db6deb2222802b7cac2dd1ec122341742ce4efb1e34c792712679DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "customer",
+ "entityPrimaryKeyValue": "Barclays",
+ "link": "/aai/v11/business/customers/customer/Barclays",
+ "searchTags": "Barclays;Barclays",
+ "searchTagIDs": "global-customer-id;subscriber-name",
+ "lastmodTimestamp": "2018-01-25T13:16:00.301-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "f05c00191ad4746d4a2e7457e5f378df328cf7edfd4f99cc5ad8688be0185fd2DWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "customer",
+ "entityPrimaryKeyValue": "AEESDNC",
+ "link": "/aai/v11/business/customers/customer/AEESDNC",
+ "searchTags": "AEESDNC;AEESDNC",
+ "searchTagIDs": "global-customer-id;subscriber-name",
+ "lastmodTimestamp": "2018-01-25T13:16:00.390-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "96be943f01d1db1fe8a3c6ffd03f79385d99dc8d351a6292980fc1af93da987bDWH",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "aeetest_vnf1_under_fw-si1",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/aeetest_vnf1_under_fw-si1",
+ "searchTags": "aeetest_vnf1_under_fw-si1;aeetest_vnf1_under_fw-si1",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:51.548-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "96be943f01d1db1fe8a3c6ffd03f79385d99dc8d351a6292980fc1af93da987bDWH2",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "aeetest_vnf1_under_fw-si12",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/aeetest_vnf1_under_fw-si12",
+ "searchTags": "aeetest_vnf1_under_fw-si1;aeetest_vnf1_under_fw-si12",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:51.548-0502"
+ }
+ }
+
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/BeforeSync_ElasticSearch_ScrollApi_Successful.json b/src/test/resources/sync/ElasticSearch/BeforeSync_ElasticSearch_ScrollApi_Successful.json
new file mode 100644
index 0000000..38fc297
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/BeforeSync_ElasticSearch_ScrollApi_Successful.json
@@ -0,0 +1,156 @@
+{
+ "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7NTs1MzA6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjg6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjc6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1MjY6T2dvOXI5ekVSWkdTM0JBQ0tnR0Jvdzs1Mjk6T2dvOXI5ekVSWkdTM0JBQ0tnR0JvdzswOw==",
+ "took": 29,
+ "timed_out": false,
+ "_shards": {
+ "total": 5,
+ "successful": 5,
+ "failed": 0
+ },
+ "hits": {
+ "total": 1345,
+ "max_score": 1,
+ "hits": [
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "7defe67ea13549fcf8163c755db0d8595f32da23022966e3313281474a551742",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft2i12bd2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i12bd2",
+ "searchTags": "genericvnft2i12bd2;genericvnft2i12bd2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:40.413-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "981d7d3e27d91cbf118b01e6b5415ecbe1622a0c6c2afe4e04f91919f37f8fbe",
+ "_score": 1,
+ "_source": {
+ "entityType": "complex",
+ "entityPrimaryKeyValue": "STUB-609ccabb-7504-3e23-91a4-30d29776e792",
+ "link": "/aai/v11/cloud-infrastructure/complexes/complex/STUB-609ccabb-7504-3e23-91a4-30d29776e792",
+ "searchTags": "STUB-609ccabb-7504-3e23-91a4-30d29776e792;Sydney;BennelongPoint; 2000",
+ "searchTagIDs": "physical-location-id;complex-name;street1;postal-code",
+ "lastmodTimestamp": "2018-01-25T13:15:57.471-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "89788f6bbcddfe40a5248fdb2c46c380aaea66f61e56c66e00d815163ddf98c4",
+ "_score": 1,
+ "_source": {
+ "entityType": "pnf",
+ "entityPrimaryKeyValue": "NSG34-ANZBank",
+ "link": "/aai/v11/network/pnfs/pnf/NSG34-ANZBank",
+ "searchTags": "NSG34-ANZBank",
+ "searchTagIDs": "pnf-name",
+ "lastmodTimestamp": "2018-01-25T13:15:50.890-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "76ec93a5740e6c519dbbe4f20c366bf8114273adc13db228bc3012658ec80e57",
+ "_score": 1,
+ "_source": {
+ "entityType": "service-instance",
+ "entityPrimaryKeyValue": "84635d51-0183-4078-850b-8eeb1ac88a5a",
+ "link": "/aai/v11/business/customers/customer/ANZBank/service-subscriptions/service-subscription/SDWAN-CPE/service-instances/service-instance/84635d51-0183-4078-850b-8eeb1ac88a5a",
+ "searchTags": "84635d51-0183-4078-850b-8eeb1ac88a5a;CPE-PERTH-NSG32",
+ "searchTagIDs": "service-instance-id;service-instance-name",
+ "lastmodTimestamp": "2018-01-25T13:15:55.672-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "1ad1fbf279a6f822db790bc1d1143b6c09be33dbcae870b332bcb622b42bb208",
+ "_score": 1,
+ "_source": {
+ "entityType": "service-instance",
+ "entityPrimaryKeyValue": "69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb",
+ "link": "/aai/v11/business/customers/customer/AEESDNC/service-subscriptions/service-subscription/SDWAN-DOMAIN/service-instances/service-instance/69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb",
+ "searchTags": "69d0ab4c-1ab1-4488-997d-d6f8ae82bfeb;Domain-AEESDNC",
+ "searchTagIDs": "service-instance-id;service-instance-name",
+ "lastmodTimestamp": "2018-01-25T13:15:54.341-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "11b0c483640efdac72d39859387aa623b2059d8ac35bf5310b3ef0d77c0eaebc",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft1i1bd2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft1i1bd2",
+ "searchTags": "genericvnft1i1bd2;genericvnft1i1bd2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:28.908-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "44182de194b1b4b6ad8002bf79277cf7be2b3143d2cc4e84c2ce80c46574a550",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "genericvnft3i1be2",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft3i1be2",
+ "searchTags": "genericvnft3i1be2;genericvnft3i1be2",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:47.064-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "ee9e7975cb6db6deb2222802b7cac2dd1ec122341742ce4efb1e34c792712679",
+ "_score": 1,
+ "_source": {
+ "entityType": "customer",
+ "entityPrimaryKeyValue": "Barclays",
+ "link": "/aai/v11/business/customers/customer/Barclays",
+ "searchTags": "Barclays;Barclays",
+ "searchTagIDs": "global-customer-id;subscriber-name",
+ "lastmodTimestamp": "2018-01-25T13:16:00.301-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "f05c00191ad4746d4a2e7457e5f378df328cf7edfd4f99cc5ad8688be0185fd2",
+ "_score": 1,
+ "_source": {
+ "entityType": "customer",
+ "entityPrimaryKeyValue": "AEESDNC",
+ "link": "/aai/v11/business/customers/customer/AEESDNC",
+ "searchTags": "AEESDNC;AEESDNC",
+ "searchTagIDs": "global-customer-id;subscriber-name",
+ "lastmodTimestamp": "2018-01-25T13:16:00.390-0500"
+ }
+ },
+ {
+ "_index": "entitysearchindex-localhost",
+ "_type": "default",
+ "_id": "96be943f01d1db1fe8a3c6ffd03f79385d99dc8d351a6292980fc1af93da987b",
+ "_score": 1,
+ "_source": {
+ "entityType": "generic-vnf",
+ "entityPrimaryKeyValue": "aeetest_vnf1_under_fw-si1",
+ "link": "/aai/v11/network/generic-vnfs/generic-vnf/aeetest_vnf1_under_fw-si1",
+ "searchTags": "aeetest_vnf1_under_fw-si1;aeetest_vnf1_under_fw-si1",
+ "searchTagIDs": "vnf-id;vnf-name",
+ "lastmodTimestamp": "2018-01-29T03:35:51.548-0500"
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch1.json b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch1.json
new file mode 100644
index 0000000..904c729
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch1.json
@@ -0,0 +1,17 @@
+{
+ "_index" : "aggregate_generic-vnf_index",
+ "_type" : "default",
+ "_id" : "a5583fff3d57e0412363a9edfc265fd95374e6e0ef7b7061c7286622da904848",
+ "_version" : 1,
+ "found" : true,
+ "_source" : {
+ "link" : "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i11bd2",
+ "lastmodTimestamp" : "2018-01-29T03:35:46.859-0500",
+ "vnf-id" : "genericvnft2i11bd2",
+ "in-maint" : "false",
+ "resource-version" : "1508939769479",
+ "vnf-name" : "genericvnft2i11bd2",
+ "vnf-type" : "VirtualNetworkFunctionType",
+ "is-closed-loop-disabled" : "true"
+ }
+ } \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch2.json b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch2.json
new file mode 100644
index 0000000..7eb2317
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch2.json
@@ -0,0 +1,17 @@
+{
+ "_index" : "aggregate_generic-vnf_index",
+ "_type" : "default",
+ "_id" : "a5583fff3d57e0412363a9edfc265fd95374e6e0ef7b7061c7286622da9048482",
+ "_version" : 1,
+ "found" : true,
+ "_source" : {
+ "link" : "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i11bd22",
+ "lastmodTimestamp" : "2018-01-29T03:35:46.859-0500",
+ "vnf-id" : "genericvnft2i11bd22",
+ "in-maint" : "false",
+ "resource-version" : "1508939769479",
+ "vnf-name" : "genericvnft2i11bd22",
+ "vnf-type" : "VirtualNetworkFunctionType",
+ "is-closed-loop-disabled" : "true"
+ }
+ } \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch3.json b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch3.json
new file mode 100644
index 0000000..6332610
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch3.json
@@ -0,0 +1,17 @@
+{
+ "_index" : "aggregate_generic-vnf_index",
+ "_type" : "default",
+ "_id" : "a5583fff3d57e0412363a9edfc265fd95374e6e0ef7b7061c7286622da9048483",
+ "_version" : 1,
+ "found" : true,
+ "_source" : {
+ "link" : "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i11bd3",
+ "lastmodTimestamp" : "2018-01-29T03:35:46.859-0500",
+ "vnf-id" : "genericvnft2i11bd3",
+ "in-maint" : "false",
+ "resource-version" : "1508939769479",
+ "vnf-name" : "genericvnft2i11bd3",
+ "vnf-type" : "VirtualNetworkFunctionType",
+ "is-closed-loop-disabled" : "true"
+ }
+ } \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch4.json b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch4.json
new file mode 100644
index 0000000..71298e9
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch4.json
@@ -0,0 +1,17 @@
+{
+ "_index" : "aggregate_generic-vnf_index",
+ "_type" : "default",
+ "_id" : "a5583fff3d57e0412363a9edfc265fd95374e6e0ef7b7061c7286622da9048484",
+ "_version" : 1,
+ "found" : true,
+ "_source" : {
+ "link" : "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i11bd4",
+ "lastmodTimestamp" : "2018-01-29T03:35:46.859-0500",
+ "vnf-id" : "genericvnft2i11bd4",
+ "in-maint" : "false",
+ "resource-version" : "1508939769479",
+ "vnf-name" : "genericvnft2i11bd4",
+ "vnf-type" : "VirtualNetworkFunctionType",
+ "is-closed-loop-disabled" : "true"
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch5.json b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch5.json
new file mode 100644
index 0000000..08d8cdd
--- /dev/null
+++ b/src/test/resources/sync/ElasticSearch/docEntityFromElasticSearch5.json
@@ -0,0 +1,17 @@
+{
+ "_index" : "aggregate_generic-vnf_index",
+ "_type" : "default",
+ "_id" : "a5583fff3d57e0412363a9edfc265fd95374e6e0ef7b7061c7286622da904848",
+ "_version" : 1,
+ "found" : true,
+ "_source" : {
+ "link" : "/aai/v11/network/generic-vnfs/generic-vnf/genericvnft2i11bd5",
+ "lastmodTimestamp" : "2018-01-29T03:35:46.859-0500",
+ "vnf-id" : "genericvnft2i11bd5",
+ "in-maint" : "false",
+ "resource-version" : "1508939769479",
+ "vnf-name" : "genericvnft2i11bd5",
+ "vnf-type" : "VirtualNetworkFunctionType",
+ "is-closed-loop-disabled" : "true"
+ }
+ } \ No newline at end of file
diff --git a/src/test/resources/sync/aai/activeInventory_complex_nodesQuery_response.json b/src/test/resources/sync/aai/activeInventory_complex_nodesQuery_response.json
new file mode 100644
index 0000000..508d711
--- /dev/null
+++ b/src/test/resources/sync/aai/activeInventory_complex_nodesQuery_response.json
@@ -0,0 +1,24 @@
+{
+ "result-data" : [
+ {
+ "resource-type" : "complex",
+ "resource-link" : "https://a.server.some.where:8443/aai/v7/complexes/complex/complex1"
+ },
+ {
+ "resource-type" : "complex",
+ "resource-link" : "https://a.server.some.where:8443/aai/v7/complexes/complex/complex2"
+ },
+ {
+ "resource-type" : "complex",
+ "resource-link" : "https://a.server.some.where:8443/aai/v7/complexes/complex/complex3"
+ },
+ {
+ "resource-type" : "complex",
+ "resource-link" : "https://a.server.some.where:8443/aai/v7/complexes/complex/complex4"
+ },
+ {
+ "resource-type" : "complex",
+ "resource-link" : "https://a.server.some.where:8443/aai/v7/complexes/complex/complex5"
+ }
+ ]
+} \ No newline at end of file
diff --git a/src/test/resources/sync/aai/complex1_fullDepth_aaiEntityRetrieval.json b/src/test/resources/sync/aai/complex1_fullDepth_aaiEntityRetrieval.json
new file mode 100644
index 0000000..3831848
--- /dev/null
+++ b/src/test/resources/sync/aai/complex1_fullDepth_aaiEntityRetrieval.json
@@ -0,0 +1,30 @@
+{
+ "physical-location-id": "HMBGGEANN02-1",
+ "resource-version": "1494001844620",
+ "physical-location-type": "EQUIPMENT LOCATION-1",
+ "street1": "WENDENSTRASSE 379-1",
+ "city": "HAMBURG-1",
+ "state": "GE",
+ "postal-code": "20097-1",
+ "country": "USA",
+ "region": "US",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/GER-45-IIGA-TRANSPORT_ONLY_DEL-1",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "GER-45-IIGA-TRANSPORT_ONLY_DEL-1"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "pserver.pserver-name2-1"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/aai/complex2_fullDepth_aaiEntityRetrieval.json b/src/test/resources/sync/aai/complex2_fullDepth_aaiEntityRetrieval.json
new file mode 100644
index 0000000..7a4d680
--- /dev/null
+++ b/src/test/resources/sync/aai/complex2_fullDepth_aaiEntityRetrieval.json
@@ -0,0 +1,30 @@
+{
+ "physical-location-id": "HMBGGEANN02-2",
+ "resource-version": "1494001844620",
+ "physical-location-type": "EQUIPMENT LOCATION-2",
+ "street1": "WENDENSTRASSE 379-2",
+ "city": "HAMBURG-2",
+ "state": "GE",
+ "postal-code": "20097-2",
+ "country": "USA",
+ "region": "US",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/GER-45-IIGA-TRANSPORT_ONLY_DEL-2",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "GER-45-IIGA-TRANSPORT_ONLY_DEL-2"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "pserver.pserver-name2-2"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/aai/complex3_fullDepth_aaiEntityRetrieval.json b/src/test/resources/sync/aai/complex3_fullDepth_aaiEntityRetrieval.json
new file mode 100644
index 0000000..e4a3789
--- /dev/null
+++ b/src/test/resources/sync/aai/complex3_fullDepth_aaiEntityRetrieval.json
@@ -0,0 +1,30 @@
+{
+ "physical-location-id": "HMBGGEANN02-3",
+ "resource-version": "1494001844620",
+ "physical-location-type": "EQUIPMENT LOCATION-3",
+ "street1": "WENDENSTRASSE 379-3",
+ "city": "HAMBURG-3",
+ "state": "GE",
+ "postal-code": "20097-3",
+ "country": "USA",
+ "region": "US",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/GER-45-IIGA-TRANSPORT_ONLY_DEL-3",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "GER-45-IIGA-TRANSPORT_ONLY_DEL-3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "pserver.pserver-name2-3"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/aai/complex4_fullDepth_aaiEntityRetrieval.json b/src/test/resources/sync/aai/complex4_fullDepth_aaiEntityRetrieval.json
new file mode 100644
index 0000000..1963b3b
--- /dev/null
+++ b/src/test/resources/sync/aai/complex4_fullDepth_aaiEntityRetrieval.json
@@ -0,0 +1,30 @@
+{
+ "physical-location-id": "HMBGGEANN02-4",
+ "resource-version": "1494001844620",
+ "physical-location-type": "EQUIPMENT LOCATION-4",
+ "street1": "WENDENSTRASSE 379-4",
+ "city": "HAMBURG-4",
+ "state": "GE",
+ "postal-code": "20097-4",
+ "country": "USA",
+ "region": "US",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/GER-45-IIGA-TRANSPORT_ONLY_DEL-4",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "GER-45-IIGA-TRANSPORT_ONLY_DEL-4"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "pserver.pserver-name2-4"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/sync/aai/complex5_fullDepth_aaiEntityRetrieval.json b/src/test/resources/sync/aai/complex5_fullDepth_aaiEntityRetrieval.json
new file mode 100644
index 0000000..70fcba8
--- /dev/null
+++ b/src/test/resources/sync/aai/complex5_fullDepth_aaiEntityRetrieval.json
@@ -0,0 +1,30 @@
+{
+ "physical-location-id": "HMBGGEANN02-5",
+ "resource-version": "1494001844620",
+ "physical-location-type": "EQUIPMENT LOCATION-5",
+ "street1": "WENDENSTRASSE 379-5",
+ "city": "HAMBURG-5",
+ "state": "GE",
+ "postal-code": "20097-5",
+ "country": "USA",
+ "region": "US",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "pserver",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/GER-45-IIGA-TRANSPORT_ONLY_DEL-5",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "GER-45-IIGA-TRANSPORT_ONLY_DEL-5"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "pserver.pserver-name2-5"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file