Un-deprecate JSONRestconfService(Impl) 61/58161/1
authorTom Pantelis <tompantelis@gmail.com>
Fri, 2 Jun 2017 03:41:01 +0000 (23:41 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 2 Jun 2017 03:41:01 +0000 (23:41 -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 858ef97eb5debcc4e03c7e2627f0b83c919b0e94..3550ddee8749a3d27b56e3d0edbae898c4e64a5d 100644 (file)
@@ -13,8 +13,9 @@ import javax.ws.rs.core.UriInfo;
 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
 
-@Deprecated
 /**
+ * Provides restconf CRUD operations via code with input/output data in JSON format.
+ *
  * @author Thomas Pantelis.
  */
 public interface JSONRestconfService {
index 2dbb374cdefbc219514063b6de93d9bb4602f0bf..77c6dc99c641023f5e37bb29921e959163b64655 100644 (file)
@@ -35,7 +35,6 @@ import org.slf4j.LoggerFactory;
  *
  * @author Thomas Pantelis
  */
-@Deprecated
 public class JSONRestconfServiceImpl implements JSONRestconfService, AutoCloseable {
     private static final Logger LOG = LoggerFactory.getLogger(JSONRestconfServiceImpl.class);