Implement NodeContainerProxy.getPath() 95/98295/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Nov 2021 13:43:31 +0000 (14:43 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Nov 2021 23:09:30 +0000 (00:09 +0100)
commit56bedeeeb345e7ffbfc3531e257c8f90ce03e043
treede911126d3987719a60a74b4cdaa48478316d707
parente6971916211a523d2b4e283b4d5e976a70703fd7
Implement NodeContainerProxy.getPath()

getPath() is being used for diagnostics in XML parser, let's implement
it in the obviously-correct way to get some more information.

Also modermize NodeContainerProxyTest and move it netconf-util, so it
is co-located with the class it is testing.

JIRA: NETCONF-828
Change-Id: Idfac9d779366d3465db29dcadc27af51dc16b956
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 6379e64a96f5d510b3f298ef207a2ea3c3fc0b63)
netconf/netconf-util/src/main/java/org/opendaylight/netconf/util/NodeContainerProxy.java
netconf/netconf-util/src/test/java/org/opendaylight/netconf/util/NodeContainerProxyTest.java [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/util/NodeContainerProxyTest.java [deleted file]