[NETCONF-1118] Refactor restconf.common.patch Created: 03/Aug/23 Updated: 12/Sep/23 |
|
| Status: | Confirmed |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Rewire restconf-nb | ||||||||
| Description |
|
Patch utilities for RESTCONF have a number of down sides:
|
| Comments |
| Comment by Robert Varga [ 20/Aug/23 ] |
|
As part of this issue we really should just eliminate the custom classes and let YANG-based XML/JSON codecs translate the data to NormalizedNode and then, for convenience, translate them to binding DTOs. The problem with that is that we need to deal with target leaves – but that's okay, as we can deal with them based on DatabindContext and the target resouce YangInstanceIdentifier. |