Refactor ReconciliationServiceImpl 38/108238/16
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 11 Feb 2024 22:58:44 +0000 (23:58 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 12 Feb 2024 10:23:48 +0000 (11:23 +0100)
commita76f289c66cf9e65fa423511118b493ed2b9c272
tree7560c086419a9c0a3cf9896b294edf5d4a4a3385
parenta215a90f09ee71b5b834fe986c364d1d0bd99167
Refactor ReconciliationServiceImpl

This service implements a single RPC, Reconcile, and is injected into
its sole user.

Defile a separate interface, ReconcileService, which defines the two
possibilities the RPC can handle.

Rename ReconciliationServiceImpl to DefaultReconcileService and let it
register the RPC itself. While we are at it, convert it to OSGi DS.

JIRA: OPNFLWPLUG-1112
JIRA: OPNFLWPLUG-1125
Change-Id: Ifc9d3707191484b492ebf5a190f65d5b673a5bdc
Signed-off-by: lubos-cicut <lubos.cicut@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
applications/forwardingrules-manager/pom.xml
applications/southbound-cli/src/main/java/org/opendaylight/openflowplugin/applications/southboundcli/DefaultReconcileService.java [moved from applications/southbound-cli/src/main/java/org/opendaylight/openflowplugin/applications/southboundcli/ReconciliationServiceImpl.java with 77% similarity]
applications/southbound-cli/src/main/java/org/opendaylight/openflowplugin/applications/southboundcli/ReconcileService.java [new file with mode: 0644]
applications/southbound-cli/src/main/java/org/opendaylight/openflowplugin/applications/southboundcli/cli/Reconciliation.java
applications/southbound-cli/src/main/resources/OSGI-INF/blueprint/commands.xml
applications/southbound-cli/src/main/resources/OSGI-INF/blueprint/southbound-cli.xml [deleted file]
applications/southbound-cli/src/main/yang/reconciliation.yang