From: Jakub Morvay Date: Mon, 21 Jan 2019 11:18:12 +0000 (+0100) Subject: Deprecate odl-restconf-noauth feature X-Git-Tag: release/neon~22 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=netconf.git;a=commitdiff_plain;h=57d1df0f8350d90617dba0b6ba197b527895b74c Deprecate odl-restconf-noauth feature odl-restconf-noauth feature is just a historic relic. It does not really have any usage and odl-restconf should be use instead (this has the same functionality but with authentication). Deprecate odl-restconf-noauth feature. Change-Id: I5007a0318f75415ecbbec4ea02e123f8f6b35324 Signed-off-by: Jakub Morvay --- diff --git a/features/restconf/odl-restconf-nb-bierman02-noauth/pom.xml b/features/restconf/odl-restconf-nb-bierman02-noauth/pom.xml index a90edd1880..87ad0676d4 100644 --- a/features/restconf/odl-restconf-nb-bierman02-noauth/pom.xml +++ b/features/restconf/odl-restconf-nb-bierman02-noauth/pom.xml @@ -21,7 +21,7 @@ 1.9.0-SNAPSHOT feature - OpenDaylight :: Restconf :: NB :: bierman02 :: no-auth + OpenDaylight :: Restconf :: NB :: bierman02 :: no-auth -- Deprecated, use odl-restconf-nb-bierman02 instead! diff --git a/features/restconf/odl-restconf-noauth/pom.xml b/features/restconf/odl-restconf-noauth/pom.xml index 9dffeb9170..b85b7e58b4 100644 --- a/features/restconf/odl-restconf-noauth/pom.xml +++ b/features/restconf/odl-restconf-noauth/pom.xml @@ -21,7 +21,7 @@ 1.9.0-SNAPSHOT feature - OpenDaylight :: Restconf :: no-auth + OpenDaylight :: Restconf :: no-auth -- Deprecated, use odl-restconf instead! diff --git a/restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java b/restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java index de8b97a616..a84d5fe2e5 100644 --- a/restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java +++ b/restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java @@ -13,7 +13,9 @@ import org.opendaylight.netconf.sal.restconf.web.Bierman02WebRegistrar; * Initializes the bierman-02 endpoint without authentication. * * @author Thomas Pantelis + * @deprecated Use bierman-02 endpoint with authentication instead. */ +@Deprecated public class WebInitializer { public WebInitializer(Bierman02WebRegistrar registrar) { registrar.registerWithoutAuthentication();