Split Restconf implementations (draft02 and RFC) - Prepare modules
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / md / sal / rest / schema / SchemaRetrievalService.java
diff --git a/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/md/sal/rest/schema/SchemaRetrievalService.java b/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/md/sal/rest/schema/SchemaRetrievalService.java
deleted file mode 100644 (file)
index e0e4caf..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.netconf.md.sal.rest.schema;
-
-import com.google.common.annotations.Beta;
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
-import javax.ws.rs.Produces;
-import org.opendaylight.restconf.base.services.api.RestconfSchemaService;
-
-/**
- * Retrieval of the YANG modules which server supports.
- *
- * @deprecated do not use this api. It is replaced by
- *             {@link RestconfSchemaService}
- */
-@Deprecated
-@Beta
-public interface SchemaRetrievalService {
-
-    String YANG_MEDIA_TYPE = "application/yang";
-    String YIN_MEDIA_TYPE = "application/yin+xml";
-
-    @GET
-    @Produces({YIN_MEDIA_TYPE,YANG_MEDIA_TYPE})
-    @Path("/modules/module/{identifier:.+}/schema")
-    SchemaExportContext getSchema(@PathParam("identifier") String mountAndModuleId);
-}