[MDSAL-817] Add binding.api.(Keyed)Instance{Identifier,Wildcard}-using methods Created: 13/Mar/23 Updated: 18/Jan/24 |
|
| Status: | In Review |
| Project: | mdsal |
| Component/s: | Binding API |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0, 13.0.1 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
A number of places in mdsal-binding-api are using yang.binding.InstanceIdentifier. With MDSAL-815 we have replacement constructs, which better model the intent of the user. Services in the following manner:
Furthermore, DataTreeModification needs to be updated to render getRootPath() deprecated: interface DataTreeModification<T extends DataObject> { @Deprecated default DataTreeIdentifier<T> getRootPath() { return DataTreeIdentifier.create(datastore(), rootPath().toLegacy()); } LogicalDatastoreType datastore(); InstanceIdentifier<T> rootPath(); } |