Do not use RpcService in OPENFLOW components
Activity
Show:
Done
Details
Details
Assignee
Ľuboš Čičut
Ľuboš ČičutReporter
Robert Varga
Robert VargaLabels
Fix versions
Priority
Created August 3, 2023 at 9:29 AM
Updated February 12, 2024 at 11:47 AM
Resolved February 12, 2024 at 11:47 AM
A quick grep is showing these users of deprecated API:
./openflowplugin/applications/arbitratorreconciliation/impl/src/main/java/org/opendaylight/openflowplugin/applications/arbitratorreconciliation/impl/ArbitratorReconciliationManagerImpl.java: rpcProviderService.registerRpcImplementation(ArbitratorReconcileService.class, this, Set.of(path)); ./openflowplugin/applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/DeviceMastership.java: reg = rpcProviderService.registerRpcImplementation(FrmReconciliationService.class, reconcliationService, ./openflowplugin/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/StatisticsManagerImpl.java: .registerRpcImplementation(StatisticsManagerControlService.class, this); ./openflowplugin/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/OpenFlowPluginProviderImplTest.java: when(rpcProviderRegistry.registerRpcImplementation(eq(StatisticsManagerControlService.class), any())) ./openflowplugin/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcContextImplTest.java: verify(rpcProviderRegistry, times(1)).registerRpcImplementation(TestRpcService.class, serviceInstance, ./openflowplugin/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/rpc/RpcContextImplTest.java: when(rpcProviderRegistry.registerRpcImplementation(eq(TestRpcService.class), eq(serviceInstance), anySet())) ./openflowplugin/test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginGroupTestServiceProvider.java: setGroupRegistration(rpcRegistry.registerRpcImplementation(SalGroupService.class, this, ImmutableSet.of( ./openflowplugin/test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginMeterTestServiceProvider.java: setMeterRegistration(rpcRegistry.registerRpcImplementation(SalMeterService.class, this, ImmutableSet.of( ./openflowplugin/test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTableFeaturesTestServiceProvider.java: setTableRegistration(rpcRegistry.registerRpcImplementation(SalTableService.class, this, ImmutableSet.of( ./openflowplugin/test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestServiceProvider.java: setFlowRegistration(rpcRegistry.registerRpcImplementation(SalFlowService.class, this, ImmutableSet.of(
Convert them to new-style yang.binding.Rpc-based implementations.