From: Robert Varga Date: Mon, 21 Mar 2022 05:06:15 +0000 (+0100) Subject: Do not include restconf-nb-bierman02 in odl-restconf X-Git-Tag: v3.0.0~69 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F100163%2F3;p=netconf.git Do not include restconf-nb-bierman02 in odl-restconf The old restconf implementation is now obsolete and scheduled for removal. Do not install it by default and issue a stern warning when it is installed. JIRA: NETCONF-839 Change-Id: I1448a44f132d2ae4b0ba1d70a0a50e8658af41d4 Signed-off-by: Robert Varga --- diff --git a/features/restconf/odl-restconf/pom.xml b/features/restconf/odl-restconf/pom.xml index b7b12c2165..7af0d4a97f 100644 --- a/features/restconf/odl-restconf/pom.xml +++ b/features/restconf/odl-restconf/pom.xml @@ -21,12 +21,6 @@ OpenDaylight :: Restconf - - org.opendaylight.netconf - odl-restconf-nb-bierman02 - xml - features - org.opendaylight.netconf odl-restconf-nb-rfc8040 diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfApplication.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfApplication.java index 8d7c9112b3..d8918dfaeb 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfApplication.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfApplication.java @@ -34,9 +34,9 @@ public class RestconfApplication extends Application { final StatisticsRestconfServiceWrapper statsServiceWrapper) { this.controllerContext = controllerContext; this.statsServiceWrapper = statsServiceWrapper; - LOG.warn("Pre-standard version of RESTCONF activated. Please note that this implementation is superseded " - + "by the standard-compliant implementation. This code is no longer actively maintained and will be " - + "removed in a future release."); + LOG.warn("Pre-standard version of RESTCONF activated. Please note that this implementation is considered " + + "obsoleve and WILL BE REMOVED IN THE NEXT MAJOR RELEASE. Please use the RFC8040-compliant " + + "implementation instead."); } @Override