Lookup schema nodes one item at a time 28/103228/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Nov 2022 18:13:30 +0000 (19:13 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Nov 2022 18:13:30 +0000 (19:13 +0100)
commit03f1156ed45c26e83ee7e47e794010b2d3f49b4d
tree983d9c733d76372a1b781a0820bd5cf37006a1df
parent3fe9c783dfd4f246742af8a800432cd13694d830
Lookup schema nodes one item at a time

Our current code is using YangInstanceIdentifier to always lookup nodes
from root. This ends up being inefficient as we end up looking up things
we already crossed over (and have on-stack).

Change-Id: I4e8aa2d7a787843fe570ed75a46cc867d5efd28d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/ReadDataTransactionUtil.java