add @Inject PacketProcessingService to OpenFlowPluginModuleTest
authorMichael Vorburger <mike@vorburger.ch>
Fri, 21 Dec 2018 15:01:05 +0000 (16:01 +0100)
committerMichael Vorburger <mike@vorburger.ch>
Wed, 1 Jul 2020 23:38:26 +0000 (01:38 +0200)
this requires https://jira.opendaylight.org/browse/OPNFLWPLUG-1059

Signed-off-by: Michael Vorburger <mike@vorburger.ch>
src/test/java/org/opendaylight/openflowplugin/simple/test/OpenFlowPluginModuleTest.java

index 221da56aca2ad78f502bfcccb2a94d94cea1c21a..9fe1e5e1c1a72d054fa1e719a273064da23760e9 100644 (file)
@@ -23,6 +23,7 @@ import org.opendaylight.infrautils.simple.testutils.AbstractSimpleDistributionTe
 import org.opendaylight.openflowplugin.api.openflow.OpenFlowPluginProvider;
 import org.opendaylight.openflowplugin.simple.OpenFlowPluginModule;
 import org.opendaylight.serviceutils.simple.ServiceUtilsModule;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.provider.config.rev160510.OpenflowProviderConfig;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.app.forwardingrules.manager.config.rev160511.ForwardingRulesManagerConfig;
 
@@ -34,6 +35,7 @@ public class OpenFlowPluginModuleTest extends AbstractSimpleDistributionTest {
             new ServiceUtilsModule(), new InMemoryControllerModule(), new DiagStatusModule(), new WebTestModule(),
             new ReadyModule(), new AnnotationsModule());
 
+    @Inject PacketProcessingService packetProcessingService; // OPNFLWPLUG-1059
     @Inject OpenFlowPluginProvider ofpProvider;
     @Inject OpenflowProviderConfig ofpConfig;
     @Inject ForwardingRulesManagerConfig frmConfig;