[PACKTCABLE-16] Update Packetcable project to replace DataChangeListener (deprecated) with DataTreeChangeListener Created: 28/Jul/16  Updated: 01/Dec/16  Resolved: 01/Dec/16

Status: Resolved
Project: packetcable
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Kevin Kershaw Assignee: Mufaddal Makati
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6302

 Description   

OpenDaylight has decided to deprecate and subsequently remove the DataChangeListener class with DataTreeChangeListener/ According to Alexis De Talhouet, the DCL class will remain in deprecated in OpenDaylight through the Carbon release. DCL will be removed subsequent to Carbon. The Packetcable project uses DCL so it would be a good idea to restructure our code to make the migration before Carbon is released.

Alexis provided an example to guide rework of our code:

https://github.com/opendaylight/unimgr/blob/master/impl/src/main/java/org/opendaylight/unimgr/api/UnimgrDataTreeChangeListener.java



 Comments   
Comment by Kevin Kershaw [ 28/Jul/16 ]

Note that there registration part has slightly change has well. Here is an example:

https://github.com/opendaylight/unimgr/blob/master/impl/src/main/java/org/opendaylight/unimgr/impl/EvcDataTreeChangeListener.java#l35l37

Comment by Kevin Kershaw [ 21/Nov/16 ]

Work being done under Gerrit change:
https://git.opendaylight.org/gerrit/#/c/48371/

Comment by Kevin Kershaw [ 01/Dec/16 ]

Resolved - Gerrit change 48371 merged Nov. 23, 2016

Generated at Wed Feb 07 20:36:41 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.