Skip to content

Commit

Permalink
Use different MdsalRestconfStrategy instantiation
Browse files Browse the repository at this point in the history
One constructor of this class got removed, lets just use a workaround for this test where
the localRpcs parameter is not required:
opendaylight/netconf@b372a54#diff-7de3450feabdc63b9c2b21ce40182a3d784e788ae85c31927a36615f2e24080eL66

JIRA: LIGHTY-302
Signed-off-by: tobias.pobocik <[email protected]>
  • Loading branch information
Tobianas authored and ihrasko committed May 23, 2024
1 parent 7a604dc commit 1a034c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 1a034c6

Please sign in to comment.