[CONTROLLER-959] Deprecate AbstractBindingAwareConsumer (provider) classes Created: 27/Oct/14  Updated: 01/Dec/14  Resolved: 01/Dec/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Improvement
Reporter: Devin Avery Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

I asked Robert/Tony if the following classes were still valid - the response is no:

  • org.opendaylight.controller.sal.binding.api.AbstractBindingAwareConsumer
  • org.opendaylight.controller.sal.binding.api.AbstractBindingAwareProvider

The reason why these are no longer valid or safe to use is that it takes the "first" instance of a data broker that it finds and doesn't allow for a service ( like databroker) to be redefined. For example AAA provides its own DataBroker service which redefines the data broker adding in security. In the above classes the claim is that there is a race condition in determining which data broker would be provided.



 Comments   
Comment by Robert Varga [ 20/Nov/14 ]

https://git.opendaylight.org/gerrit/12981

Generated at Wed Feb 07 19:54:19 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.