Implement NodeContainerProxy.getPath() 92/98292/3
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 21:20:54 +0000 (22:20 +0100)
commit6379e64a96f5d510b3f298ef207a2ea3c3fc0b63
treee09503999e8592b4b2da3dc608ad83fd1881b08f
parent8fd71bbda40589db532ad963b0f90585f1d4c220
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>
netconf/netconf-util/src/main/java/org/opendaylight/netconf/util/NetconfUtil.java
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/main/java/org/opendaylight/netconf/sal/connect/netconf/util/NetconfMessageTransformUtil.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/util/NodeContainerProxyTest.java [deleted file]