From 1a034c6400f0cf658f85d7b6da88062b0633d7fa Mon Sep 17 00:00:00 2001 From: "tobias.pobocik" Date: Wed, 22 May 2024 09:53:51 +0200 Subject: [PATCH] Use different MdsalRestconfStrategy instantiation One constructor of this class got removed, lets just use a workaround for this test where the localRpcs parameter is not required: https://github.com/opendaylight/netconf/commit/b372a543d9da95b9dd976fb757462f437031dde4#diff-7de3450feabdc63b9c2b21ce40182a3d784e788ae85c31927a36615f2e24080eL66 JIRA: LIGHTY-302 Signed-off-by: tobias.pobocik --- .../restconf/community/impl/tests/YangPatchTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lighty-modules/lighty-restconf-nb-community/src/test/java/io/lighty/modules/northbound/restconf/community/impl/tests/YangPatchTest.java b/lighty-modules/lighty-restconf-nb-community/src/test/java/io/lighty/modules/northbound/restconf/community/impl/tests/YangPatchTest.java index e1b649c2c..9f4fff400 100644 --- a/lighty-modules/lighty-restconf-nb-community/src/test/java/io/lighty/modules/northbound/restconf/community/impl/tests/YangPatchTest.java +++ b/lighty-modules/lighty-restconf-nb-community/src/test/java/io/lighty/modules/northbound/restconf/community/impl/tests/YangPatchTest.java @@ -11,6 +11,7 @@ import static org.testng.Assert.assertNotNull; import static org.testng.AssertJUnit.assertTrue; +import com.google.common.collect.ImmutableMap; import java.util.Collections; import java.util.List; import java.util.concurrent.TimeUnit; @@ -64,7 +65,7 @@ public void patchDataReplaceTest() throws Exception { final var strategy = new MdsalRestconfStrategy(DatabindContext.ofModel(getLightyController() .getServices().getDOMSchemaService().getGlobalContext()), getLightyController().getServices() - .getClusteredDOMDataBroker(), getLightyController().getServices().getDOMRpcService(), + .getClusteredDOMDataBroker(), ImmutableMap.of(), getLightyController().getServices().getDOMRpcService(), getLightyController().getServices() .getDOMActionService(), getLightyController().getServices().getYangTextSourceExtension(), getLightyController().getServices()