Do not parse YIID to put together a SchemaPath 24/100024/4
authorTomas Cere <tomas.cere@pantheon.tech>
Wed, 9 Mar 2022 13:16:08 +0000 (14:16 +0100)
committerTomas Cere <tomas.cere@pantheon.tech>
Fri, 11 Mar 2022 14:18:48 +0000 (15:18 +0100)
commitb792380644d076274abf500df3a0e1cb1aae1366
tree7053373c4a6e69440fc0910c7de417c1c7361119
parent2ae92283fd3541479e454b73e64767813e2dbf5b
Do not parse YIID to put together a SchemaPath

Once we have InstanceIdentifierContext available,
we have already decoded YangInstanceIdentifier.
Due to this we can store the SchemaNodeIdentifier during
the decoding and not iterate through it again with streams.

Change-Id: I27739c755acec519e8422c4fa49a47266487d3cd
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
restconf/restconf-common/src/main/java/org/opendaylight/restconf/common/context/InstanceIdentifierContext.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/NormalizedNodeXmlBodyWriter.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfImpl.java