From 2fd80ea62a7aceb218ae8fe099097635d8949de5 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sun, 30 Apr 2023 20:41:53 +0200 Subject: [PATCH] Eliminate odl-netconf-tcp Integrate the TCP server into netconf-nb, where it really belongs. At some point this will be eliminated via adoption of individual transports. JIRA: NETCONF-945 Change-Id: Iffdc234a655a9643589ab7280c6a6d00d2b805ac Signed-off-by: Robert Varga --- .../NetconfNorthboundTcpServer.java | 2 +- artifacts/pom.xml | 12 ----- .../netconf/features-netconf-testing/pom.xml | 6 --- features/netconf/features-netconf/pom.xml | 6 --- features/netconf/odl-netconf-mdsal/pom.xml | 10 ---- features/netconf/odl-netconf-ssh/pom.xml | 6 --- features/netconf/odl-netconf-tcp/pom.xml | 37 -------------- features/netconf/pom.xml | 1 - netconf/mdsal-netconf-tcp/pom.xml | 49 ------------------- netconf/pom.xml | 1 - 10 files changed, 1 insertion(+), 129 deletions(-) rename {netconf/mdsal-netconf-tcp/src/main/java/org/opendaylight/netconf/tcp => apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound}/NetconfNorthboundTcpServer.java (98%) delete mode 100644 features/netconf/odl-netconf-tcp/pom.xml delete mode 100644 netconf/mdsal-netconf-tcp/pom.xml diff --git a/netconf/mdsal-netconf-tcp/src/main/java/org/opendaylight/netconf/tcp/NetconfNorthboundTcpServer.java b/apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/NetconfNorthboundTcpServer.java similarity index 98% rename from netconf/mdsal-netconf-tcp/src/main/java/org/opendaylight/netconf/tcp/NetconfNorthboundTcpServer.java rename to apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/NetconfNorthboundTcpServer.java index b1fe4a48d2..392c922684 100644 --- a/netconf/mdsal-netconf-tcp/src/main/java/org/opendaylight/netconf/tcp/NetconfNorthboundTcpServer.java +++ b/apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/NetconfNorthboundTcpServer.java @@ -5,7 +5,7 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ -package org.opendaylight.netconf.tcp; +package org.opendaylight.netconf.northbound; import io.netty.channel.ChannelFuture; import java.net.InetSocketAddress; diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 744d186770..73a5813f82 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -264,11 +264,6 @@ mdsal-netconf-ssh ${project.version} - - ${project.groupId} - mdsal-netconf-tcp - ${project.version} - ${project.groupId} netconf-client @@ -410,13 +405,6 @@ xml features - - ${project.groupId} - odl-netconf-tcp - ${project.version} - xml - features - ${project.groupId} odl-netconf-util diff --git a/features/netconf/features-netconf-testing/pom.xml b/features/netconf/features-netconf-testing/pom.xml index 3b521609a5..e70ecfcd9c 100644 --- a/features/netconf/features-netconf-testing/pom.xml +++ b/features/netconf/features-netconf-testing/pom.xml @@ -88,12 +88,6 @@ xml features - - ${project.groupId} - odl-netconf-tcp - xml - features - ${project.groupId} odl-netconf-util diff --git a/features/netconf/features-netconf/pom.xml b/features/netconf/features-netconf/pom.xml index dbb9b5e3a8..b84d110f5f 100644 --- a/features/netconf/features-netconf/pom.xml +++ b/features/netconf/features-netconf/pom.xml @@ -88,12 +88,6 @@ xml features - - ${project.groupId} - odl-netconf-tcp - xml - features - ${project.groupId} odl-netconf-util diff --git a/features/netconf/odl-netconf-mdsal/pom.xml b/features/netconf/odl-netconf-mdsal/pom.xml index 4a3912c1ac..7456240e99 100644 --- a/features/netconf/odl-netconf-mdsal/pom.xml +++ b/features/netconf/odl-netconf-mdsal/pom.xml @@ -27,12 +27,6 @@ xml features - - ${project.groupId} - odl-netconf-tcp - xml - features - ${project.groupId} odl-netconf-ssh @@ -53,10 +47,6 @@ ${project.groupId} mdsal-netconf-ssh - - ${project.groupId} - mdsal-netconf-tcp - ${project.groupId} netconf-events-mdsal diff --git a/features/netconf/odl-netconf-ssh/pom.xml b/features/netconf/odl-netconf-ssh/pom.xml index 58b8a9a90f..f51aafa4b8 100644 --- a/features/netconf/odl-netconf-ssh/pom.xml +++ b/features/netconf/odl-netconf-ssh/pom.xml @@ -33,11 +33,5 @@ xml features - - ${project.groupId} - odl-netconf-tcp - xml - features - diff --git a/features/netconf/odl-netconf-tcp/pom.xml b/features/netconf/odl-netconf-tcp/pom.xml deleted file mode 100644 index 1c9e9394c1..0000000000 --- a/features/netconf/odl-netconf-tcp/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - - - org.opendaylight.netconf - feature-parent - 6.0.0-SNAPSHOT - ../../parent - - - odl-netconf-tcp - feature - OpenDaylight :: Netconf Connector :: TCP - - - - ${project.groupId} - odl-netconf-util - xml - features - - - ${project.groupId} - odl-netconf-impl - xml - features - - - diff --git a/features/netconf/pom.xml b/features/netconf/pom.xml index 10f93e3344..5a4940c288 100644 --- a/features/netconf/pom.xml +++ b/features/netconf/pom.xml @@ -36,7 +36,6 @@ odl-netconf-mdsal odl-netconf-netty-util odl-netconf-ssh - odl-netconf-tcp odl-netconf-util diff --git a/netconf/mdsal-netconf-tcp/pom.xml b/netconf/mdsal-netconf-tcp/pom.xml deleted file mode 100644 index 6993c94cbb..0000000000 --- a/netconf/mdsal-netconf-tcp/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - 4.0.0 - - - org.opendaylight.netconf - netconf-parent - 6.0.0-SNAPSHOT - ../../parent - - - mdsal-netconf-tcp - ${project.artifactId} - bundle - - - - io.netty - netty-common - - - io.netty - netty-transport - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-inet-types - - - org.opendaylight.netconf - netconf-server - - - org.osgi - org.osgi.service.component.annotations - - - org.osgi - org.osgi.service.metatype.annotations - - - diff --git a/netconf/pom.xml b/netconf/pom.xml index 8d5b6f0ac6..37d8220545 100644 --- a/netconf/pom.xml +++ b/netconf/pom.xml @@ -31,7 +31,6 @@ netconf-config mdsal-netconf-ssh - mdsal-netconf-tcp mdsal-netconf-monitoring mdsal-netconf-yang-library netconf-netty-util -- 2.36.6