From 3d368255a787995fc14e8c89529d367e665e54f3 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Thu, 18 Jan 2024 18:55:18 +0530 Subject: Align initial alarms and notifications parsing Refactor as part of the aligning of the alarms Issue-ID: CCSDK-3984 Change-Id: I9d7de249b4773240a50f09311fcf6d7db8bf4006 Signed-off-by: Ravi Pendurty --- .../devicemanager/oran/impl/dom/TestORanDOMToInternalDataModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/test') diff --git a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/TestORanDOMToInternalDataModel.java b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/TestORanDOMToInternalDataModel.java index 01502e49c..f8a6dfd40 100644 --- a/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/TestORanDOMToInternalDataModel.java +++ b/sdnr/wt/devicemanager-o-ran-sc/o-ran/ru-fh/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/oran/impl/dom/TestORanDOMToInternalDataModel.java @@ -183,7 +183,7 @@ public class TestORanDOMToInternalDataModel { public void testORANFault() { ContainerNode cn = createORANDOMFault(); NetconfDeviceNotification faultNotif = new NetconfDeviceNotification(cn, Instant.now()); - FaultlogEntity fle = ORanDOMToInternalDataModel.getFaultLog(faultNotif, oranfm.get(), nodeId, 1); + FaultlogEntity fle = ORanDOMToInternalDataModel.getFaultLog(faultNotif, oranfm.get(), nodeId); assertEquals(fle.getId(), "47"); } @@ -207,7 +207,7 @@ public class TestORanDOMToInternalDataModel { UnkeyedListNode activeAlarmsList = (UnkeyedListNode) cn.childByArg(new NodeIdentifier(oranfm.get().getFaultActiveAlarmsQName())); for (UnkeyedListEntryNode activeAlarmEntry : activeAlarmsList.body()) - ORanDOMToInternalDataModel.getFaultLog(activeAlarmEntry, oranfm.get(), new NodeId("nSky"), Integer.valueOf(0)); + ORanDOMToInternalDataModel.getFaultLog(activeAlarmEntry, oranfm.get(), new NodeId("nSky")); } public static ContainerNode createORANDOMFault() { -- cgit 1.2.3-korg