[NETCONF-368] Do not run XML encoding before RESTCONF filter Created: 11/Mar/17 Updated: 15/Mar/19 |
|
| Status: | Confirmed |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Current implementation of query filters relies on XML serialization/deserialization before we determine if a piece of data actually matches the filter. This is inefficient, as it involves a lot of dancing around, especially since we have XPath support available via yangtools' org.opendaylight.yangtools.yang.data.api.schema.xpath package, which is implemented by yang-data-jaxen and operates directly on SchemaContext/Normalized nodes. |