Remove SchemaNode#getPath usage from JsonPatchBodyReader 54/99754/11
authorOleksandrZharov <Oleksandr.Zharov@pantheon.tech>
Tue, 15 Feb 2022 10:59:51 +0000 (11:59 +0100)
committerTomas Cere <tomas.cere@pantheon.tech>
Thu, 3 Mar 2022 11:34:45 +0000 (11:34 +0000)
commitca56779056f1e1c4edb89e689b07a88105421cae
tree09fcf23032dc689a5234c399b82cf4bcb158361e
parentb1b4d4276706e1ec4564af5fb9075301ffd7de17
Remove SchemaNode#getPath usage from JsonPatchBodyReader

Removed deprecated SchemaNode#getPath from JsonPatchBodyReader class
by using getNodeType and methods of SchemaInferenceStack.

Removed SchemaNode from PachEdit since we don't need it and replaced
it with SchemaInference.

JIRA: NETCONF-818
Change-Id: I9b82db327b9eb2711db651856ab76a4957b9a8ac
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/JsonPatchBodyReader.java