summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/data-provider/provider/src/test
diff options
context:
space:
mode:
authorMichael DÜrre <michael.duerre@highstreet-technologies.com>2021-04-09 08:01:19 +0200
committerMichael D�rre <michael.duerre@highstreet-technologies.com>2021-04-13 18:37:06 +0000
commit6ae7e8a1bae83d407b22d8b066dd0bcca730e1bb (patch)
treef2276fee4fcc61c3d89b942c63d6211e41617cda /sdnr/wt/data-provider/provider/src/test
parentd702f00b71218c56af766363ce19f2459081d73c (diff)
weekly sdnr code sync
sync internal code progress add istanbul database structure cleanup dataprovider test fix pom files Issue-ID: CCSDK-3260 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Change-Id: Ic1daa6adda173dc8337a51fa930e05c05ee88e2c
Diffstat (limited to 'sdnr/wt/data-provider/provider/src/test')
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java2
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestInventoryConsistency.java70
-rw-r--r--sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTree.java110
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/1.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/10.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/11.json18
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/12.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/13.json20
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/14.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/15.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/16.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/17.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/18.json18
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/19.json20
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/2.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/20.json20
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/21.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/3.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/4.json15
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/5.json25
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/6.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/7.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/8.json17
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/9.json19
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/test1.json513
-rw-r--r--sdnr/wt/data-provider/provider/src/test/resources/TestTree/test2.json490
26 files changed, 1148 insertions, 399 deletions
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
index 56138b0b1..b83034d90 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestEventService.java
@@ -206,7 +206,6 @@ public class TestEventService {
List<NetworkElementConnectionEntity> nes = service.getNetworkElementConnections();
assertEquals(0, nes.size());
service.updateNetworkConnection22(createNeConnection(NODEID, NetworkElementDeviceType.Unknown), NODEID);
- service.updateNetworkConnection22(createNeConnection(NODEID, NetworkElementDeviceType.Unknown), NODEID);
service.updateNetworkConnection22(createNeConnection(NODEID2, NetworkElementDeviceType.ORAN), NODEID2);
nes = service.getNetworkElementConnections();
assertEquals(2, nes.size());
@@ -279,7 +278,6 @@ public class TestEventService {
/**
* @param devType
- * @param mountMethod
* @param nodename3
* @return
*/
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestInventoryConsistency.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestInventoryConsistency.java
new file mode 100644
index 000000000..ed8eac949
--- /dev/null
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestInventoryConsistency.java
@@ -0,0 +1,70 @@
+/*
+ * ============LICENSE_START=======================================================
+ * ONAP : ccsdk features
+ * ================================================================================
+ * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
+ * All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ *
+ */
+package org.onap.ccsdk.features.sdnr.wt.dataprovider.test;
+
+import static org.junit.Assert.fail;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
+import org.onap.ccsdk.features.sdnr.wt.common.database.SearchHit;
+import org.onap.ccsdk.features.sdnr.wt.common.database.config.HostInfo;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.data.ElasticSearchDataProvider;
+import org.onap.ccsdk.features.sdnr.wt.dataprovider.test.util.HostInfoForTest;
+import org.onap.ccsdk.features.sdnr.wt.yang.mapper.YangToolsMapper;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev201110.Inventory;
+
+public class TestInventoryConsistency {
+
+ private static final String TEST1NODEID = "sim1";
+ private static String resourceDirectoryPath = "/" + TestTree.class.getSimpleName() + "/";
+ private static ElasticSearchDataProvider dbProvider;
+ private static HtDatabaseClient dbRawProvider;
+
+ @BeforeClass
+ public static void init() throws Exception {
+ HostInfo[] hosts = HostInfoForTest.get();
+ dbProvider = new ElasticSearchDataProvider(hosts);
+ dbProvider.waitForYellowDatabaseStatus(30, TimeUnit.SECONDS);
+ dbRawProvider = HtDatabaseClient.getClient(hosts);
+ }
+
+ @Test
+ public void test1() {
+ YangToolsMapper mapper = new YangToolsMapper();
+ try {
+ SearchHit[] hits = TestTree.loadEntries("test1.json");
+ List<Inventory> inventoryList = new ArrayList<>();
+ for(SearchHit hit:hits) {
+ inventoryList.add(mapper.readValue(hit.getSourceAsString(), Inventory.class));
+ }
+ dbProvider.getDataProvider().writeInventory(TEST1NODEID, inventoryList);
+ } catch (IOException e) {
+
+ e.printStackTrace();
+ fail(e.getMessage());
+ }
+ }
+}
diff --git a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTree.java b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTree.java
index e32179122..28f7d49fe 100644
--- a/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTree.java
+++ b/sdnr/wt/data-provider/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/test/TestTree.java
@@ -25,10 +25,12 @@ import java.io.IOException;
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
import org.apache.sshd.common.util.io.IoUtils;
+import org.json.JSONArray;
import org.json.JSONObject;
import org.junit.BeforeClass;
import org.junit.Test;
import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
+import org.onap.ccsdk.features.sdnr.wt.common.database.SearchHit;
import org.onap.ccsdk.features.sdnr.wt.common.database.config.HostInfo;
import org.onap.ccsdk.features.sdnr.wt.common.database.queries.QueryBuilders;
import org.onap.ccsdk.features.sdnr.wt.common.database.requests.DeleteByQueryRequest;
@@ -43,7 +45,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.pro
public class TestTree {
- private static String resourceDirectoryPath="/"+TestTree.class.getSimpleName()+"/";
+ private static String resourceDirectoryPath = "/" + TestTree.class.getSimpleName() + "/";
private static ElasticSearchDataProvider dbProvider;
private static HtDatabaseClient dbRawProvider;
@@ -53,39 +55,44 @@ public class TestTree {
dbProvider = new ElasticSearchDataProvider(hosts);
dbProvider.waitForYellowDatabaseStatus(30, TimeUnit.SECONDS);
dbRawProvider = HtDatabaseClient.getClient(hosts);
+
+
+ }
+
+ public static void clearTestData(HtDatabaseClient dbRawProvider) throws IOException {
DeleteByQueryRequest query = new DeleteByQueryRequest(Entity.Inventoryequipment.getName(), true);
query.setQuery(QueryBuilders.matchAllQuery().toJSON());
dbRawProvider.deleteByQuery(query);
- fillTestData();
}
- private static void fillTestData() throws IOException {
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.5.5", getFileContent("1.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.7.0", getFileContent("2.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.55.1.2", getFileContent("3.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.65.1.2", getFileContent("4.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/SHELF-1.1.0.0", getFileContent("5.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.1.5", getFileContent("6.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.1.8", getFileContent("7.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.6.5", getFileContent("8.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/ODU-1.56.0.0", getFileContent("9.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.56.1.2", getFileContent("10.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/IDU-1.65.0.0", getFileContent("11.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.65.1.4", getFileContent("12.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.6.0", getFileContent("13.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.8.0", getFileContent("14.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.9.0", getFileContent("15.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.55.1.4", getFileContent("16.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.1.7", getFileContent("17.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/IDU-1.55.0.0", getFileContent("18.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.1.0", getFileContent("19.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/CARD-1.1.5.0", getFileContent("20.json"));
- dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), "sim1/a2.module-1.1.5.6", getFileContent("21.json"));
+ public static void fillTestData(HtDatabaseClient dbRawProvider, String filename) throws IOException {
+ SearchHit[] entries = loadEntries(filename);
+ for (SearchHit entry : entries) {
+ dbRawProvider.doWriteRaw(Entity.Inventoryequipment.getName(), entry.getId(), entry.getSourceAsString());
+ }
}
+ public static SearchHit[] loadEntries(String filename) throws IOException {
+ String content = getFileContent(filename);
+ JSONArray a = new JSONArray(content);
+ SearchHit[] results = new SearchHit[a.length()];
+ for (int i = 0; i < a.length(); i++) {
+ results[i] = new SearchHit(a.getJSONObject(i));
+ }
+ return results;
+ }
+
@Test
public void testInventoryTree() throws IOException {
+ test1();
+ //test2();
+
+ }
+
+ private void test1() throws IOException {
+ clearTestData(dbRawProvider);
+ fillTestData(dbRawProvider, "test1.json");
DataTreeProviderImpl provider = new DataTreeProviderImpl();
provider.setDatabaseClient(dbRawProvider);
@@ -93,40 +100,66 @@ public class TestTree {
DataTreeObject tree = provider.readInventoryTree(null, null);
System.out.println(tree.toJSON());
JSONObject o = new JSONObject(tree.toJSON());
- JSONAssert.assertContainsOnlyKey(o, "sim1");
+ JSONAssert.assertContainsExactKeys(o, new String[]{"sim1","sim2"});
JSONObject children = o.getJSONObject("sim1").getJSONObject("children");
this.assertSim1(children);
tree = provider.readInventoryTree(Arrays.asList("sim1"), "*");
this.assertSim1(new JSONObject(tree.toJSON()));
System.out.println(tree.toJSON());
+ }
+
+ private void test2() throws IOException {
+ clearTestData(dbRawProvider);
+ fillTestData(dbRawProvider, "test2.json");
+ DataTreeProviderImpl provider = new DataTreeProviderImpl();
+ provider.setDatabaseClient(dbRawProvider);
+
+ DataTreeObject tree =
+ provider.readInventoryTree(Arrays.asList("netconf_server_simulator"), "*");
+ System.out.println(tree.toJSON());
+ JSONObject o = new JSONObject(tree.toJSON());
+ JSONAssert.assertContainsOnlyKey(o, "sim1");
+ JSONObject children = o.getJSONObject("sim1").getJSONObject("children");
+ this.assertSim1(children);
+
+ tree = provider.readInventoryTree(Arrays.asList("sim1"), "*");
+ this.assertSim1(new JSONObject(tree.toJSON()));
+ System.out.println(tree.toJSON());
}
private void assertSim1(JSONObject sim1Children) {
- JSONAssert.assertContainsExactKeys(sim1Children,new String[] {"sim1/ODU-1.56.0.0", "sim1/IDU-1.55.0.0", "sim1/IDU-1.65.0.0", "sim1/SHELF-1.1.0.0"});
+ JSONAssert.assertContainsExactKeys(sim1Children,
+ new String[] {"sim1/ODU-1.56.0.0", "sim1/IDU-1.55.0.0", "sim1/IDU-1.65.0.0", "sim1/SHELF-1.1.0.0"});
JSONObject c1 = sim1Children.getJSONObject("sim1/ODU-1.56.0.0");
JSONObject c2 = sim1Children.getJSONObject("sim1/IDU-1.55.0.0");
JSONObject c3 = sim1Children.getJSONObject("sim1/IDU-1.65.0.0");
JSONObject c4 = sim1Children.getJSONObject("sim1/SHELF-1.1.0.0");
- JSONAssert.assertContainsExactKeys(c1.getJSONObject("children"),new String[] {"sim1/a2.module-1.56.1.2"});
- JSONAssert.assertContainsExactKeys(c2.getJSONObject("children"),new String[] {"sim1/a2.module-1.55.1.2","sim1/CARD-1.55.1.4"});
- JSONAssert.assertContainsExactKeys(c3.getJSONObject("children"),new String[] {"sim1/a2.module-1.65.1.2","sim1/CARD-1.65.1.4"});
- JSONAssert.assertContainsExactKeys(c4.getJSONObject("children"),new String[] {"sim1/CARD-1.1.1.0",
- "sim1/CARD-1.1.5.0", "sim1/CARD-1.1.7.0","sim1/CARD-1.1.6.0", "sim1/CARD-1.1.9.0","sim1/CARD-1.1.8.0"});
+ JSONAssert.assertContainsExactKeys(c1.getJSONObject("children"), new String[] {"sim1/a2.module-1.56.1.2"});
+ JSONAssert.assertContainsExactKeys(c2.getJSONObject("children"),
+ new String[] {"sim1/a2.module-1.55.1.2", "sim1/CARD-1.55.1.4"});
+ JSONAssert.assertContainsExactKeys(c3.getJSONObject("children"),
+ new String[] {"sim1/a2.module-1.65.1.2", "sim1/CARD-1.65.1.4"});
+ JSONAssert.assertContainsExactKeys(c4.getJSONObject("children"),
+ new String[] {"sim1/CARD-1.1.1.0", "sim1/CARD-1.1.5.0", "sim1/CARD-1.1.7.0", "sim1/CARD-1.1.6.0",
+ "sim1/CARD-1.1.9.0", "sim1/CARD-1.1.8.0"});
JSONObject c41 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.1.0");
JSONObject c42 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.5.0");
JSONObject c43 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.7.0");
JSONObject c44 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.6.0");
JSONObject c45 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.9.0");
JSONObject c46 = c4.getJSONObject("children").getJSONObject("sim1/CARD-1.1.8.0");
- JSONAssert.assertContainsExactKeys(c41.getJSONObject("children"),new String[] {"sim1/a2.module-1.1.1.7","sim1/a2.module-1.1.1.5","sim1/a2.module-1.1.1.8"});
- JSONAssert.assertContainsExactKeys(c42.getJSONObject("children"),new String[] {"sim1/a2.module-1.1.5.6","sim1/a2.module-1.1.5.5"});
+ JSONAssert.assertContainsExactKeys(c41.getJSONObject("children"),
+ new String[] {"sim1/a2.module-1.1.1.7", "sim1/a2.module-1.1.1.5", "sim1/a2.module-1.1.1.8"});
+ JSONAssert.assertContainsExactKeys(c42.getJSONObject("children"),
+ new String[] {"sim1/a2.module-1.1.5.6", "sim1/a2.module-1.1.5.5"});
JSONAssert.assertContainsNoKeys(c43.getJSONObject("children"));
- JSONAssert.assertContainsExactKeys(c44.getJSONObject("children"),new String[] {"sim1/a2.module-1.1.6.5"});
+ JSONAssert.assertContainsExactKeys(c44.getJSONObject("children"), new String[] {"sim1/a2.module-1.1.6.5"});
JSONAssert.assertContainsNoKeys(c45.getJSONObject("children"));
JSONAssert.assertContainsNoKeys(c46.getJSONObject("children"));
}
+
@Test
public void testUriConversion() {
EntityWithTree e = DataTreeHttpServlet.getEntity("/tree/read-inventoryequipment-tree/sim1/sim1%2FODU");
@@ -135,7 +168,14 @@ public class TestTree {
System.out.println(e);
}
+ @Test
+ public void testUriConversion1() {
+ EntityWithTree e = DataTreeHttpServlet.getEntity("/tree/read-inventoryequipment-tree/sim1");
+ System.out.println(e);
+ }
+
private static String getFileContent(String filename) throws IOException {
- return String.join("\n",IoUtils.readAllLines(TestTree.class.getResourceAsStream(resourceDirectoryPath+filename)));
+ return String.join("\n",
+ IoUtils.readAllLines(TestTree.class.getResourceAsStream(resourceDirectoryPath + filename)));
}
}
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/1.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/1.json
deleted file mode 100644
index bcf5e1d0a..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/1.json
+++ /dev/null
@@ -1,17 +0,0 @@
- {
- "description": "WS/p8.module/a2.module#5",
- "date": "2013-04-13T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.5.5",
- "parent-uuid": "CARD-1.1.5.0",
- "contained-holder": [
- "SUBRACK-1.55.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "310330015",
- "part-type-id": "3EM23141AD01",
- "model-identifier": "CRPQABVFAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/10.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/10.json
deleted file mode 100644
index 6eed5d6a8..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/10.json
+++ /dev/null
@@ -1,15 +0,0 @@
- {
- "description": "MWR#56Ch#1/a2.moduletraff",
- "date": "2017-09-09T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.56.1.2",
- "parent-uuid": "ODU-1.56.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "Serial1",
- "part-type-id": "Partnumber",
- "model-identifier": "model-id",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/11.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/11.json
deleted file mode 100644
index 46a4d0650..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/11.json
+++ /dev/null
@@ -1,18 +0,0 @@
- {
- "description": "MWR-ng Dir#6.5-Ch#1",
- "date": "2014-01-16T00:00:00.0Z",
- "version": "MWR-ng",
- "node-id": "sim1",
- "uuid": "IDU-1.65.0.0",
- "parent-uuid": "network-element",
- "contained-holder": [
- "PORT-1.65.1.4",
- "PORT-1.65.1.2"
- ],
- "tree-level": 0,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "WAUZZI",
- "part-type-id": "3DB76047BAAA02",
- "model-identifier": "model-id-s3s",
- "type-name": "MWR-ng"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/12.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/12.json
deleted file mode 100644
index 02d592e56..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/12.json
+++ /dev/null
@@ -1,15 +0,0 @@
- {
- "description": "MWR#55Ch#0/RxDiv",
- "date": "2014-01-08T00:00:00.0Z",
- "version": "2017",
- "node-id": "sim1",
- "uuid": "CARD-1.65.1.4",
- "parent-uuid": "IDU-1.65.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "Serie2017-13",
- "part-type-id": "partNo2017-12",
- "model-identifier": "model-id-s3s",
- "type-name": "RxDiv"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/13.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/13.json
deleted file mode 100644
index 85c3723b7..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/13.json
+++ /dev/null
@@ -1,20 +0,0 @@
- {
- "description": "WS/p8.module",
- "date": "2013-11-23T00:00:00.0Z",
- "version": "234",
- "node-id": "sim1",
- "uuid": "CARD-1.1.6.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [
- "PORT-1.1.6.5",
- "PORT-1.1.6.7",
- "PORT-1.1.6.6",
- "PORT-1.1.6.8"
- ],
- "tree-level": 1,
- "manufacturer-identifier": "SAN",
- "serial": "serial-number-124",
- "part-type-id": "part-number-12",
- "model-identifier": "model-id-12",
- "type-name": "p8.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/14.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/14.json
deleted file mode 100644
index 1fa236e10..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/14.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "description": "WS/DS3",
- "date": "2008-10-21T00:00:00.0Z",
- "version": "unknown",
- "node-id": "sim1",
- "uuid": "CARD-1.1.8.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "sd-dsa-eqw",
- "part-type-id": "unknown",
- "model-identifier": "model-id-s3s",
- "type-name": "p4.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/15.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/15.json
deleted file mode 100644
index ff40c4e8b..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/15.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "description": "WS/wind",
- "date": "2007-02-19T00:00:00.0Z",
- "version": "wind",
- "node-id": "sim1",
- "uuid": "CARD-1.1.9.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "CIT",
- "serial": "proto-type",
- "part-type-id": "party-yea",
- "model-identifier": "model-id-s3s",
- "type-name": "wind"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/16.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/16.json
deleted file mode 100644
index fbd62e04d..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/16.json
+++ /dev/null
@@ -1,15 +0,0 @@
- {
- "description": "MWR#55Ch#1/RxDiv",
- "date": "2014-01-07T00:00:00.0Z",
- "version": "2017",
- "node-id": "sim1",
- "uuid": "CARD-1.55.1.4",
- "parent-uuid": "IDU-1.55.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "Serie2017-12",
- "part-type-id": "partNo2017-12",
- "model-identifier": "model-id-s3s",
- "type-name": "RxDiv"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/17.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/17.json
deleted file mode 100644
index 1704468f3..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/17.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "description": "WS/CORE-MAIN/a2.module#7",
- "date": "2009-01-19T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.1.7",
- "parent-uuid": "CARD-1.1.1.0",
- "contained-holder": [
- "SUBRACK-1.17.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "91T403003322",
- "part-type-id": "1AB187280031",
- "model-identifier": "mod2",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/18.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/18.json
deleted file mode 100644
index eaec335b4..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/18.json
+++ /dev/null
@@ -1,18 +0,0 @@
- {
- "description": "MWR-ng Dir#5.5-Ch#1",
- "date": "2014-01-15T00:00:00.0Z",
- "version": "MWR-ng",
- "node-id": "sim1",
- "uuid": "IDU-1.55.0.0",
- "parent-uuid": "network-element",
- "contained-holder": [
- "PORT-1.55.1.2",
- "PORT-1.55.1.4"
- ],
- "tree-level": 0,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "Serie2017-14",
- "part-type-id": "3DB76047BAAA02",
- "model-identifier": "model-id-s3s",
- "type-name": "MWR-ng"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/19.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/19.json
deleted file mode 100644
index 9a7eb62a7..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/19.json
+++ /dev/null
@@ -1,20 +0,0 @@
- {
- "description": "WS/CORE-MAIN",
- "date": "2015-08-17T00:00:00.0Z",
- "version": "123",
- "node-id": "sim1",
- "uuid": "CARD-1.1.1.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [
- "PORT-1.1.1.6",
- "PORT-1.1.1.5",
- "PORT-1.1.1.8",
- "PORT-1.1.1.7"
- ],
- "tree-level": 1,
- "manufacturer-identifier": "SAN",
- "serial": "asdf-asdasd-asd",
- "part-type-id": "part-number-2",
- "model-identifier": "model-id-2",
- "type-name": "latest"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/2.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/2.json
deleted file mode 100644
index ff352653a..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/2.json
+++ /dev/null
@@ -1,15 +0,0 @@
- {
- "description": "WS/DS1",
- "date": "2007-08-27T00:00:00.0Z",
- "version": "p1.module",
- "node-id": "sim1",
- "uuid": "CARD-1.1.7.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "CIT",
- "serial": "serial-number-s3s",
- "part-type-id": "part-number-s3s",
- "model-identifier": "model-id-s3s",
- "type-name": "p1.module_A"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/20.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/20.json
deleted file mode 100644
index 179794027..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/20.json
+++ /dev/null
@@ -1,20 +0,0 @@
- {
- "description": "WS/p8.module",
- "date": "2013-10-21T00:00:00.0Z",
- "version": "234",
- "node-id": "sim1",
- "uuid": "CARD-1.1.5.0",
- "parent-uuid": "SHELF-1.1.0.0",
- "contained-holder": [
- "PORT-1.1.5.6",
- "PORT-1.1.5.5",
- "PORT-1.1.5.8",
- "PORT-1.1.5.7"
- ],
- "tree-level": 1,
- "manufacturer-identifier": "SAN",
- "serial": "africa",
- "part-type-id": "part-number-12",
- "model-identifier": "model-id-12",
- "type-name": "p8.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/21.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/21.json
deleted file mode 100644
index c76d6715e..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/21.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "description": "WS/p8.module/a2.module#6",
- "date": "",
- "version": "",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.5.6",
- "parent-uuid": "CARD-1.1.5.0",
- "contained-holder": [
- "SUBRACK-1.56.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "",
- "serial": "",
- "part-type-id": "",
- "model-identifier": "",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/3.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/3.json
deleted file mode 100644
index 1dc6dfce2..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/3.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "description": "MWR#55Ch#1/a2.moduletraff",
- "date": "2013-04-13T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.55.1.2",
- "parent-uuid": "IDU-1.55.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "310330015",
- "part-type-id": "3EM23141AD01",
- "model-identifier": "CRPQABVFAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/4.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/4.json
deleted file mode 100644
index ab1132692..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/4.json
+++ /dev/null
@@ -1,15 +0,0 @@
- {
- "description": "MWR#65Ch#1/a2.moduletraff",
- "date": "2013-04-13T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.65.1.2",
- "parent-uuid": "IDU-1.65.0.0",
- "contained-holder": [],
- "tree-level": 1,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "310330008",
- "part-type-id": "3EM23141AD01",
- "model-identifier": "CRPQABVFAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/5.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/5.json
deleted file mode 100644
index e54173fe6..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/5.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "description": "WS-8",
- "date": "2017-09-09T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "SHELF-1.1.0.0",
- "parent-uuid": "network-element",
- "contained-holder": [
- "SLOT-1.1.1.0",
- "SLOT-1.1.2.0",
- "SLOT-1.1.3.0",
- "SLOT-1.1.4.0",
- "SLOT-1.1.5.0",
- "SLOT-1.1.6.0",
- "SLOT-1.1.7.0",
- "SLOT-1.1.8.0",
- "SLOT-1.1.9.0"
- ],
- "tree-level": 0,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "Serial1",
- "part-type-id": "Partnumber",
- "model-identifier": "model-id",
- "type-name": "WS-8"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/6.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/6.json
deleted file mode 100644
index 8486033b0..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/6.json
+++ /dev/null
@@ -1,17 +0,0 @@
- {
- "description": "WS/CORE-MAIN/a2.module#5",
- "date": "2005-11-09T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.1.5",
- "parent-uuid": "CARD-1.1.1.0",
- "contained-holder": [
- "SUBRACK-1.15.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "0003548168",
- "part-type-id": "3FE25774AA01",
- "model-identifier": "VAUIAEYAAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/7.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/7.json
deleted file mode 100644
index 5c583bec7..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/7.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "description": "WS/CORE-MAIN/a2.module#8",
- "date": "2010-02-05T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.1.8",
- "parent-uuid": "CARD-1.1.1.0",
- "contained-holder": [
- "SUBRACK-1.18.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "01T441601301",
- "part-type-id": "1AB376720002",
- "model-identifier": "NGI7AMLMAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/8.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/8.json
deleted file mode 100644
index a86819a7d..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/8.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "description": "WS/p8.module/a2.module#5",
- "date": "2013-04-13T00:00:00.0Z",
- "version": "a2.module-newest",
- "node-id": "sim1",
- "uuid": "a2.module-1.1.6.5",
- "parent-uuid": "CARD-1.1.6.0",
- "contained-holder": [
- "SUBRACK-1.65.0.0"
- ],
- "tree-level": 2,
- "manufacturer-identifier": "ONF-Wireless-Transport",
- "serial": "310330008",
- "part-type-id": "3EM23141AD01",
- "model-identifier": "CRPQABVFAA",
- "type-name": "a2.module"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/9.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/9.json
deleted file mode 100644
index 914033bb4..000000000
--- a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/9.json
+++ /dev/null
@@ -1,19 +0,0 @@
- {
- "description": "MWR-hyper Dir#5.6-Ch#1",
- "date": "",
- "version": "extrem-hyper",
- "node-id": "sim1",
- "uuid": "ODU-1.56.0.0",
- "parent-uuid": "network-element",
- "contained-holder": [
- "PORT-1.56.1.2",
- "PORT-1.56.1.3",
- "PORT-1.56.1.4"
- ],
- "tree-level": 0,
- "manufacturer-identifier": "",
- "serial": "",
- "part-type-id": "",
- "model-identifier": "",
- "type-name": "MWR-hyper"
-} \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test1.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test1.json
new file mode 100644
index 000000000..941405ef3
--- /dev/null
+++ b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test1.json
@@ -0,0 +1,513 @@
+[
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.5.5",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module/a2.module#5",
+ "date": "2013-04-13T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.5.5",
+ "parent-uuid": "CARD-1.1.5.0",
+ "contained-holder": [
+ "SUBRACK-1.55.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330015",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.7.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/DS1",
+ "date": "2007-08-27T00:00:00.0Z",
+ "version": "p1.module",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.7.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "CIT",
+ "serial": "serial-number-s3s",
+ "part-type-id": "part-number-s3s",
+ "model-identifier": "model-id-s3s",
+ "type-name": "p1.module_A"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.55.1.2",
+ "_score": 1,
+ "_source": {
+ "description": "MWR#55Ch#1/a2.moduletraff",
+ "date": "2013-04-13T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.55.1.2",
+ "parent-uuid": "IDU-1.55.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330015",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.65.1.2",
+ "_score": 1,
+ "_source": {
+ "description": "MWR#65Ch#1/a2.moduletraff",
+ "date": "2013-04-13T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.65.1.2",
+ "parent-uuid": "IDU-1.65.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330008",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/SHELF-1.1.0.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS-8",
+ "date": "2017-09-09T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "SHELF-1.1.0.0",
+ "parent-uuid": "network-element",
+ "contained-holder": [
+ "SLOT-1.1.1.0",
+ "SLOT-1.1.2.0",
+ "SLOT-1.1.3.0",
+ "SLOT-1.1.4.0",
+ "SLOT-1.1.5.0",
+ "SLOT-1.1.6.0",
+ "SLOT-1.1.7.0",
+ "SLOT-1.1.8.0",
+ "SLOT-1.1.9.0"
+ ],
+ "tree-level": 0,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serial1",
+ "part-type-id": "Partnumber",
+ "model-identifier": "model-id",
+ "type-name": "WS-8"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.1.5",
+ "_score": 1,
+ "_source": {
+ "description": "WS/CORE-MAIN/a2.module#5",
+ "date": "2005-11-09T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.1.5",
+ "parent-uuid": "CARD-1.1.1.0",
+ "contained-holder": [
+ "SUBRACK-1.15.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "0003548168",
+ "part-type-id": "3FE25774AA01",
+ "model-identifier": "VAUIAEYAAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.1.8",
+ "_score": 1,
+ "_source": {
+ "description": "WS/CORE-MAIN/a2.module#8",
+ "date": "2010-02-05T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.1.8",
+ "parent-uuid": "CARD-1.1.1.0",
+ "contained-holder": [
+ "SUBRACK-1.18.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "01T441601301",
+ "part-type-id": "1AB376720002",
+ "model-identifier": "NGI7AMLMAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.6.5",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module/a2.module#5",
+ "date": "2013-04-13T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.6.5",
+ "parent-uuid": "CARD-1.1.6.0",
+ "contained-holder": [
+ "SUBRACK-1.65.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330008",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/ODU-1.56.0.0",
+ "_score": 1,
+ "_source": {
+ "description": "MWR-hyper Dir#5.6-Ch#1",
+ "date": "",
+ "version": "extrem-hyper",
+ "node-id": "sim1",
+ "uuid": "ODU-1.56.0.0",
+ "parent-uuid": "network-element",
+ "contained-holder": [
+ "PORT-1.56.1.2",
+ "PORT-1.56.1.3",
+ "PORT-1.56.1.4"
+ ],
+ "tree-level": 0,
+ "manufacturer-identifier": "",
+ "serial": "",
+ "part-type-id": "",
+ "model-identifier": "",
+ "type-name": "MWR-hyper"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.56.1.2",
+ "_score": 1,
+ "_source": {
+ "description": "MWR#56Ch#1/a2.moduletraff",
+ "date": "2017-09-09T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.56.1.2",
+ "parent-uuid": "ODU-1.56.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serial1",
+ "part-type-id": "Partnumber",
+ "model-identifier": "model-id",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/IDU-1.65.0.0",
+ "_score": 1,
+ "_source": {
+ "description": "MWR-ng Dir#6.5-Ch#1",
+ "date": "2014-01-16T00:00:00.0Z",
+ "version": "MWR-ng",
+ "node-id": "sim1",
+ "uuid": "IDU-1.65.0.0",
+ "parent-uuid": "network-element",
+ "contained-holder": [
+ "PORT-1.65.1.4",
+ "PORT-1.65.1.2"
+ ],
+ "tree-level": 0,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "WAUZZI",
+ "part-type-id": "3DB76047BAAA02",
+ "model-identifier": "model-id-s3s",
+ "type-name": "MWR-ng"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.65.1.4",
+ "_score": 1,
+ "_source": {
+ "description": "MWR#55Ch#0/RxDiv",
+ "date": "2014-01-08T00:00:00.0Z",
+ "version": "2017",
+ "node-id": "sim1",
+ "uuid": "CARD-1.65.1.4",
+ "parent-uuid": "IDU-1.65.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-13",
+ "part-type-id": "partNo2017-12",
+ "model-identifier": "model-id-s3s",
+ "type-name": "RxDiv"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.6.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module",
+ "date": "2013-11-23T00:00:00.0Z",
+ "version": "234",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.6.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [
+ "PORT-1.1.6.5",
+ "PORT-1.1.6.7",
+ "PORT-1.1.6.6",
+ "PORT-1.1.6.8"
+ ],
+ "tree-level": 1,
+ "manufacturer-identifier": "SAN",
+ "serial": "serial-number-124",
+ "part-type-id": "part-number-12",
+ "model-identifier": "model-id-12",
+ "type-name": "p8.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.8.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/DS3",
+ "date": "2008-10-21T00:00:00.0Z",
+ "version": "unknown",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.8.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "sd-dsa-eqw",
+ "part-type-id": "unknown",
+ "model-identifier": "model-id-s3s",
+ "type-name": "p4.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.9.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/wind",
+ "date": "2007-02-19T00:00:00.0Z",
+ "version": "wind",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.9.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "CIT",
+ "serial": "proto-type",
+ "part-type-id": "party-yea",
+ "model-identifier": "model-id-s3s",
+ "type-name": "wind"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.55.1.4",
+ "_score": 1,
+ "_source": {
+ "description": "MWR#55Ch#1/RxDiv",
+ "date": "2014-01-07T00:00:00.0Z",
+ "version": "2017",
+ "node-id": "sim1",
+ "uuid": "CARD-1.55.1.4",
+ "parent-uuid": "IDU-1.55.0.0",
+ "contained-holder": [],
+ "tree-level": 1,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-12",
+ "part-type-id": "partNo2017-12",
+ "model-identifier": "model-id-s3s",
+ "type-name": "RxDiv"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.1.7",
+ "_score": 1,
+ "_source": {
+ "description": "WS/CORE-MAIN/a2.module#7",
+ "date": "2009-01-19T00:00:00.0Z",
+ "version": "a2.module-newest",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.1.7",
+ "parent-uuid": "CARD-1.1.1.0",
+ "contained-holder": [
+ "SUBRACK-1.17.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "91T403003322",
+ "part-type-id": "1AB187280031",
+ "model-identifier": "mod2",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/IDU-1.55.0.0",
+ "_score": 1,
+ "_source": {
+ "description": "MWR-ng Dir#5.5-Ch#1",
+ "date": "2014-01-15T00:00:00.0Z",
+ "version": "MWR-ng",
+ "node-id": "sim1",
+ "uuid": "IDU-1.55.0.0",
+ "parent-uuid": "network-element",
+ "contained-holder": [
+ "PORT-1.55.1.2",
+ "PORT-1.55.1.4"
+ ],
+ "tree-level": 0,
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-14",
+ "part-type-id": "3DB76047BAAA02",
+ "model-identifier": "model-id-s3s",
+ "type-name": "MWR-ng"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.1.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/CORE-MAIN",
+ "date": "2015-08-17T00:00:00.0Z",
+ "version": "123",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.1.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [
+ "PORT-1.1.1.6",
+ "PORT-1.1.1.5",
+ "PORT-1.1.1.8",
+ "PORT-1.1.1.7"
+ ],
+ "tree-level": 1,
+ "manufacturer-identifier": "SAN",
+ "serial": "asdf-asdasd-asd",
+ "part-type-id": "part-number-2",
+ "model-identifier": "model-id-2",
+ "type-name": "latest"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/CARD-1.1.5.0",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module",
+ "date": "2013-10-21T00:00:00.0Z",
+ "version": "234",
+ "node-id": "sim1",
+ "uuid": "CARD-1.1.5.0",
+ "parent-uuid": "SHELF-1.1.0.0",
+ "contained-holder": [
+ "PORT-1.1.5.6",
+ "PORT-1.1.5.5",
+ "PORT-1.1.5.8",
+ "PORT-1.1.5.7"
+ ],
+ "tree-level": 1,
+ "manufacturer-identifier": "SAN",
+ "serial": "africa",
+ "part-type-id": "part-number-12",
+ "model-identifier": "model-id-12",
+ "type-name": "p8.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim1/a2.module-1.1.5.6",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module/a2.module#6",
+ "date": "",
+ "version": "",
+ "node-id": "sim1",
+ "uuid": "a2.module-1.1.5.6",
+ "parent-uuid": "CARD-1.1.5.0",
+ "contained-holder": [
+ "SUBRACK-1.56.0.0"
+ ],
+ "tree-level": 2,
+ "manufacturer-identifier": "",
+ "serial": "",
+ "part-type-id": "",
+ "model-identifier": "",
+ "type-name": "a2.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v5",
+ "_type": "_doc",
+ "_id": "sim2/a2.module-1.1.5.6",
+ "_score": 1,
+ "_source": {
+ "description": "WS/p8.module/a2.module#6",
+ "date": "",
+ "version": "",
+ "node-id": "sim2",
+ "uuid": "a2.module-1.1.5.6",
+ "parent-uuid": "network-element",
+ "contained-holder": [
+ "SUBRACK-1.56.0.0"
+ ],
+ "tree-level": 0,
+ "manufacturer-identifier": "",
+ "serial": "",
+ "part-type-id": "",
+ "model-identifier": "",
+ "type-name": "a2.module"
+ }
+ }
+] \ No newline at end of file
diff --git a/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test2.json b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test2.json
new file mode 100644
index 000000000..3697258bc
--- /dev/null
+++ b/sdnr/wt/data-provider/provider/src/test/resources/TestTree/test2.json
@@ -0,0 +1,490 @@
+[
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.1.8",
+ "_score": 1.0498221,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.1.8",
+ "contained-holder": [
+ "SUBRACK-1.18.0.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "01T441601301",
+ "part-type-id": "1AB376720002",
+ "model-identifier": "NGI7AMLMAA",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.1.0",
+ "date": "2010-02-05T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "WS/CORE-MAIN/a2.module#8"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.9.0",
+ "_score": 1.0498221,
+ "_source": {
+ "version": "wind",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.9.0",
+ "contained-holder": [],
+ "manufacturer-identifier": "CIT",
+ "serial": "proto-type",
+ "part-type-id": "party-yea",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2007-02-19T00:00:00.0Z",
+ "type-name": "wind",
+ "description": "WS/wind"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.65.1.2",
+ "_score": 1.0498221,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.65.1.2",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330008",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "tree-level": 1,
+ "parent-uuid": "IDU-1.65.0.0",
+ "date": "2013-04-13T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "MWR#65Ch#1/a2.moduletraff"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/SHELF-1.1.0.0",
+ "_score": 0.7985077,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "SHELF-1.1.0.0",
+ "contained-holder": [
+ "SLOT-1.1.1.0",
+ "SLOT-1.1.2.0",
+ "SLOT-1.1.3.0",
+ "SLOT-1.1.4.0",
+ "SLOT-1.1.5.0",
+ "SLOT-1.1.6.0",
+ "SLOT-1.1.7.0",
+ "SLOT-1.1.8.0",
+ "SLOT-1.1.9.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serial1",
+ "part-type-id": "Partnumber",
+ "model-identifier": "model-id",
+ "tree-level": 0,
+ "parent-uuid": "network-element",
+ "date": "2017-09-09T00:00:00.0Z",
+ "type-name": "WS-8",
+ "description": "WS-8"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.1.0",
+ "_score": 0.7985077,
+ "_source": {
+ "version": "123",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.1.0",
+ "contained-holder": [
+ "PORT-1.1.1.6",
+ "PORT-1.1.1.5",
+ "PORT-1.1.1.8",
+ "PORT-1.1.1.7"
+ ],
+ "manufacturer-identifier": "SAN",
+ "serial": "asdf-asdasd-asd",
+ "part-type-id": "part-number-2",
+ "model-identifier": "model-id-2",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2015-08-17T00:00:00.0Z",
+ "type-name": "latest",
+ "description": "WS/CORE-MAIN"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.6.0",
+ "_score": 0.7985077,
+ "_source": {
+ "version": "234",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.6.0",
+ "contained-holder": [
+ "PORT-1.1.6.5",
+ "PORT-1.1.6.7",
+ "PORT-1.1.6.6",
+ "PORT-1.1.6.8"
+ ],
+ "manufacturer-identifier": "SAN",
+ "serial": "serial-number-124",
+ "part-type-id": "part-number-12",
+ "model-identifier": "model-id-12",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2013-11-23T00:00:00.0Z",
+ "type-name": "p8.module",
+ "description": "WS/p8.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.55.1.2",
+ "_score": 0.7985077,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.55.1.2",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330015",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "tree-level": 1,
+ "parent-uuid": "IDU-1.55.0.0",
+ "date": "2013-04-13T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "MWR#55Ch#1/a2.moduletraff"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.5.5",
+ "_score": 0.6931471,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.5.5",
+ "contained-holder": [
+ "SUBRACK-1.55.0.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330015",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.5.0",
+ "date": "2013-04-13T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "WS/p8.module/a2.module#5"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.6.5",
+ "_score": 0.6931471,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.6.5",
+ "contained-holder": [
+ "SUBRACK-1.65.0.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "310330008",
+ "part-type-id": "3EM23141AD01",
+ "model-identifier": "CRPQABVFAA",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.6.0",
+ "date": "2013-04-13T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "WS/p8.module/a2.module#5"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.7.0",
+ "_score": 0.6931471,
+ "_source": {
+ "version": "p1.module",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.7.0",
+ "contained-holder": [],
+ "manufacturer-identifier": "CIT",
+ "serial": "serial-number-s3s",
+ "part-type-id": "part-number-s3s",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2007-08-27T00:00:00.0Z",
+ "type-name": "p1.module_A",
+ "description": "WS/DS1"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.65.1.4",
+ "_score": 0.6931471,
+ "_source": {
+ "version": "2017",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.65.1.4",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-13",
+ "part-type-id": "partNo2017-12",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 1,
+ "parent-uuid": "IDU-1.65.0.0",
+ "date": "2014-01-08T00:00:00.0Z",
+ "type-name": "RxDiv",
+ "description": "MWR#55Ch#0/RxDiv"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.1.5",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.1.5",
+ "contained-holder": [
+ "SUBRACK-1.15.0.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "0003548168",
+ "part-type-id": "3FE25774AA01",
+ "model-identifier": "VAUIAEYAAA",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.1.0",
+ "date": "2005-11-09T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "WS/CORE-MAIN/a2.module#5"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.1.7",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.1.7",
+ "contained-holder": [
+ "SUBRACK-1.17.0.0"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "91T403003322",
+ "part-type-id": "1AB187280031",
+ "model-identifier": "mod2",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.1.0",
+ "date": "2009-01-19T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "WS/CORE-MAIN/a2.module#7"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.8.0",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "unknown",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.8.0",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "sd-dsa-eqw",
+ "part-type-id": "unknown",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2008-10-21T00:00:00.0Z",
+ "type-name": "p4.module",
+ "description": "WS/DS3"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/ODU-1.56.0.0",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "extrem-hyper",
+ "node-id": "netconf_server_simulator",
+ "uuid": "ODU-1.56.0.0",
+ "contained-holder": [
+ "PORT-1.56.1.2",
+ "PORT-1.56.1.3",
+ "PORT-1.56.1.4"
+ ],
+ "manufacturer-identifier": "",
+ "serial": "",
+ "part-type-id": "",
+ "model-identifier": "",
+ "tree-level": 0,
+ "parent-uuid": "network-element",
+ "date": "",
+ "type-name": "MWR-hyper",
+ "description": "MWR-hyper Dir#5.6-Ch#1"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.56.1.2",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "a2.module-newest",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.56.1.2",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serial1",
+ "part-type-id": "Partnumber",
+ "model-identifier": "model-id",
+ "tree-level": 1,
+ "parent-uuid": "ODU-1.56.0.0",
+ "date": "2017-09-09T00:00:00.0Z",
+ "type-name": "a2.module",
+ "description": "MWR#56Ch#1/a2.moduletraff"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/IDU-1.65.0.0",
+ "_score": 0.5260931,
+ "_source": {
+ "version": "MWR-ng",
+ "node-id": "netconf_server_simulator",
+ "uuid": "IDU-1.65.0.0",
+ "contained-holder": [
+ "PORT-1.65.1.4",
+ "PORT-1.65.1.2"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "WAUZZI",
+ "part-type-id": "3DB76047BAAA02",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 0,
+ "parent-uuid": "network-element",
+ "date": "2014-01-16T00:00:00.0Z",
+ "type-name": "MWR-ng",
+ "description": "MWR-ng Dir#6.5-Ch#1"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.1.5.0",
+ "_score": 0.44183272,
+ "_source": {
+ "version": "234",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.1.5.0",
+ "contained-holder": [
+ "PORT-1.1.5.6",
+ "PORT-1.1.5.5",
+ "PORT-1.1.5.8",
+ "PORT-1.1.5.7"
+ ],
+ "manufacturer-identifier": "SAN",
+ "serial": "africa",
+ "part-type-id": "part-number-12",
+ "model-identifier": "model-id-12",
+ "tree-level": 1,
+ "parent-uuid": "SHELF-1.1.0.0",
+ "date": "2013-10-21T00:00:00.0Z",
+ "type-name": "p8.module",
+ "description": "WS/p8.module"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/a2.module-1.1.5.6",
+ "_score": 0.44183272,
+ "_source": {
+ "version": "",
+ "node-id": "netconf_server_simulator",
+ "uuid": "a2.module-1.1.5.6",
+ "contained-holder": [
+ "SUBRACK-1.56.0.0"
+ ],
+ "manufacturer-identifier": "",
+ "serial": "",
+ "part-type-id": "",
+ "model-identifier": "",
+ "tree-level": 2,
+ "parent-uuid": "CARD-1.1.5.0",
+ "date": "",
+ "type-name": "a2.module",
+ "description": "WS/p8.module/a2.module#6"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/IDU-1.55.0.0",
+ "_score": 0.44183272,
+ "_source": {
+ "version": "MWR-ng",
+ "node-id": "netconf_server_simulator",
+ "uuid": "IDU-1.55.0.0",
+ "contained-holder": [
+ "PORT-1.55.1.2",
+ "PORT-1.55.1.4"
+ ],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-14",
+ "part-type-id": "3DB76047BAAA02",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 0,
+ "parent-uuid": "network-element",
+ "date": "2014-01-15T00:00:00.0Z",
+ "type-name": "MWR-ng",
+ "description": "MWR-ng Dir#5.5-Ch#1"
+ }
+ },
+ {
+ "_index": "inventoryequipment-v4",
+ "_type": "_doc",
+ "_id": "netconf_server_simulator/CARD-1.55.1.4",
+ "_score": 0.44183272,
+ "_source": {
+ "version": "2017",
+ "node-id": "netconf_server_simulator",
+ "uuid": "CARD-1.55.1.4",
+ "contained-holder": [],
+ "manufacturer-identifier": "ONF-Wireless-Transport",
+ "serial": "Serie2017-12",
+ "part-type-id": "partNo2017-12",
+ "model-identifier": "model-id-s3s",
+ "tree-level": 1,
+ "parent-uuid": "IDU-1.55.0.0",
+ "date": "2014-01-07T00:00:00.0Z",
+ "type-name": "RxDiv",
+ "description": "MWR#55Ch#1/RxDiv"
+ }
+ }
+] \ No newline at end of file