Remove SchemaNode#getPath usage from RestconfDocumentedExceptionMapper 16/99716/6
authorOleksandrZharov <Oleksandr.Zharov@pantheon.tech>
Mon, 14 Feb 2022 10:27:34 +0000 (11:27 +0100)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 8 Mar 2022 14:55:35 +0000 (15:55 +0100)
commit0f99f8d6a6aaa6db06a50e123f1395b5a9254638
tree07a4eb697c3df090e33728760ec3fb9d80f659b9
parentb395c683332c037acec4eecde1b079811ab5d2a3
Remove SchemaNode#getPath usage from RestconfDocumentedExceptionMapper

Removed deprecated SchemaNode#getPath from
RestconfDocumentedExceptionMapper class and replaced by new logic
of getting path via QNames and Absolute path.

Added YangInstanceIdentifier into NormalizedNodeContext instaed of null.
It used later for getting SchemaPath from QNames.

JIRA: NETCONF-818
Change-Id: I636ab83e4c1b89500d8face06777d2e931639035
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfDocumentedExceptionMapper.java