Move netconf.util.xml to netconf-client 41/105741/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Apr 2023 14:48:17 +0000 (16:48 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 28 Apr 2023 15:07:27 +0000 (17:07 +0200)
commitb6e4c66f9cfd4f7e9854b47ad4c17d7e8c068493
tree9444e852fdec38ad8bbc6f3d8ff4ffa58c7a4df8
parentbcd01ae797d855c6aa6eaa2df41c871634e03ae3
Move netconf.util.xml to netconf-client

This package is only used internally by netconf-client, move it to its
sole user and clean up HardcodedNamespaceResolver to use Map.of().

JIRA: NETCONF-1002
Change-Id: I219c849362fb4b02297fd8fa243a0ee171f00f14
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/HardcodedNamespaceResolver.java [moved from protocol/netconf-util/src/main/java/org/opendaylight/netconf/util/xml/HardcodedNamespaceResolver.java with 57% similarity]
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/NetconfClientSessionNegotiator.java
protocol/netconf-client/src/main/java/org/opendaylight/netconf/client/XMLNetconfUtil.java [moved from protocol/netconf-util/src/main/java/org/opendaylight/netconf/util/xml/XMLNetconfUtil.java with 89% similarity]
protocol/netconf-client/src/test/java/org/opendaylight/netconf/client/HardcodedNamespaceResolverTest.java [moved from protocol/netconf-util/src/test/java/org/opendaylight/netconf/util/xml/HardcodedNamespaceResolverTest.java with 96% similarity]
protocol/netconf-client/src/test/java/org/opendaylight/netconf/client/XMLNetconfUtilTest.java [moved from protocol/netconf-util/src/test/java/org/opendaylight/netconf/util/xml/XMLNetconfUtilTest.java with 96% similarity]