Fix drop-test-karaf service injection 95/110495/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Mar 2024 14:28:29 +0000 (15:28 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Mar 2024 16:18:32 +0000 (17:18 +0100)
commit89246202a625302ae22911da3dd47f2929d1630d
tree3ebc7e4a1921966d956970b8000c615a550dd742
parent4c740db4e9b6c16fcf488ef97c462c832e313cd9
Fix drop-test-karaf service injection

drop-test-karaf is based on blueprint, hence it can only consume
interface-based services.

Introduce DropTest{,Commiter,Sender} interfaces to allow injection to
work, fixing a NPE seen in CSIT.

JIRA: OPNFLWPLUG-1112
Change-Id: I3b929fe4f2c01761c0451c440e9408c144a8bc73
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/AbstractDropTest.java
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTest.java [new file with mode: 0644]
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestCommiter.java
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestCommiterImpl.java [new file with mode: 0644]
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestRpcSender.java
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestRpcSenderImpl.java [new file with mode: 0644]