Un-deprecate JSONRestconfService(Impl) 70/58970/1
authorTom Pantelis <tompantelis@gmail.com>
Fri, 2 Jun 2017 03:41:01 +0000 (23:41 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 14 Jun 2017 18:03:09 +0000 (14:03 -0400)
Patch https://git.opendaylight.org/gerrit/#/c/56391/ deprecated
JSONRestconfService and JSONRestconfServiceImpl however no reason
was given in the patch message (in fact the patch was about fixing
checkstyle violations) nor were any comments added to the classes
as to why they're deprecated.

There really shouldn't be any reason to deprecate these classes
as they are useful and are used in applications. Therefore I remove
the @Deprecated annotation.

Change-Id: I335c8e8665cc2b489e4d3b690d8cac7dbd157b4f
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/api/JSONRestconfService.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java

index d3f918741901564814cc8b176aca17ff4234df78..3550ddee8749a3d27b56e3d0edbae898c4e64a5d 100644 (file)
@@ -14,9 +14,10 @@ import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
 
 /**
- * @author Thomas Pantelis
+ * Provides restconf CRUD operations via code with input/output data in JSON format.
+ *
+ * @author Thomas Pantelis.
  */
-@Deprecated
 public interface JSONRestconfService {
     /**
      * The data tree root path.
index 5b24d2e60d8935fbd48bb50fe87aa41d79b7c1cc..cb7e662581c2d0e4001e252699543c0def894dae 100644 (file)
@@ -35,7 +35,6 @@ import org.slf4j.LoggerFactory;
  *
  * @author Thomas Pantelis
  */
-@Deprecated
 public class JSONRestconfServiceImpl implements JSONRestconfService, AutoCloseable {
     private final static Logger LOG = LoggerFactory.getLogger(JSONRestconfServiceImpl.class);