Deprecate odl-restconf-noauth feature 91/79791/2
authorJakub Morvay <jmorvay@frinx.io>
Mon, 21 Jan 2019 11:18:12 +0000 (12:18 +0100)
committerJakub Morvay <jmorvay@frinx.io>
Mon, 21 Jan 2019 12:10:11 +0000 (13:10 +0100)
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 <jmorvay@frinx.io>
features/restconf/odl-restconf-nb-bierman02-noauth/pom.xml
features/restconf/odl-restconf-noauth/pom.xml
restconf/restconf-nb-bierman02-noauth/src/main/java/org/opendaylight/restconf/nb/bierman02/web/noauth/WebInitializer.java

index a90edd1880827fa164782e505fcd19016c506350..87ad0676d430320e404fd5d417dee81862b1c5ac 100644 (file)
@@ -21,7 +21,7 @@
     <version>1.9.0-SNAPSHOT</version>
     <packaging>feature</packaging>
 
-    <name>OpenDaylight :: Restconf :: NB :: bierman02 :: no-auth</name>
+    <name>OpenDaylight :: Restconf :: NB :: bierman02 :: no-auth -- Deprecated, use odl-restconf-nb-bierman02 instead!</name>
 
     <dependencyManagement>
         <dependencies>
index 9dffeb9170f1b5919542b3020d833aa446c975f3..b85b7e58b48a92bc464bad28b342b9516e77122a 100644 (file)
@@ -21,7 +21,7 @@
     <version>1.9.0-SNAPSHOT</version>
     <packaging>feature</packaging>
 
-    <name>OpenDaylight :: Restconf :: no-auth</name>
+    <name>OpenDaylight :: Restconf :: no-auth -- Deprecated, use odl-restconf instead!</name>
 
     <dependencyManagement>
         <dependencies>
index de8b97a616d6c40870179cbb6959e8c5ddbbbdb2..a84d5fe2e53a5a9050ad8735412f2de2ac94131f 100644 (file)
@@ -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();