[MDSAL-42] Reorganize yang-binding Created: 31/Jul/14  Updated: 09/Mar/18  Resolved: 10/Mar/17

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

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

Operating System: All
Platform: All


Issue Links:
Blocks
blocks MDSAL-55 Topic: Continuos: Decrease technical ... Resolved
is blocked by MDSAL-40 Milestone: Implement Binding Specific... Resolved

 Description   

yang-binding artifact currently has all the interfaces thrown into one package, org.opendaylight.yangtools.yang.binding.

We need to split them into three packages based on their purpose:

  • base user-visible concepts: DataObject, InstanceIdentifier, RpcService,...
  • structural enforcement interfaces: ChildOf, Augmentation, Augmentable, etc.
  • run-time support interfaces: DataObjectSerializer, etc.

These all need to exist in one bundle and the packages need to be referenced from each generated package due to OSGi classloading rules.

Finally we need a yang-binding-util, which will provide things for tools dealing with the binding spec itself – BindingMapping and similar.



 Comments   
Comment by Tony Tkacik [ 13/Nov/14 ]

Added as blocking issue for Topic: Decrease Technical Debt.

Comment by Martin Ciglan [ 18/Oct/16 ]

partially done in Boron/binding spec v2, will continue in Carbon, I'm taking this ticket.

Comment by Martin Ciglan [ 17/Jan/17 ]

commit chain pushed:

https://git.opendaylight.org/gerrit/#/c/50542/

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