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>
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 {
*
* @author Thomas Pantelis
*/
-@Deprecated
public class JSONRestconfServiceImpl implements JSONRestconfService, AutoCloseable {
private static final Logger LOG = LoggerFactory.getLogger(JSONRestconfServiceImpl.class);