X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fapi%2FDraft02.java;fp=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fapi%2FDraft02.java;h=0000000000000000000000000000000000000000;hb=89b8b59cd26fd4810293ff14386eb29a71da9fac;hp=51ac43be7c7e27c1a8d32ef12f675e910309f725;hpb=9ba2b4eca79bcc0e78099b133296801c8d45a6c4;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/Draft02.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/Draft02.java deleted file mode 100644 index 51ac43be7c..0000000000 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/api/Draft02.java +++ /dev/null @@ -1,71 +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.controller.sal.rest.api; - -import org.opendaylight.yangtools.yang.common.QName; - -public class Draft02 { - public static interface MediaTypes { - String API = "application/yang.api"; - String DATASTORE = "application/yang.datastore"; - String DATA = "application/yang.data"; - String OPERATION = "application/yang.operation"; - String PATCH = "application/yang.patch"; - String PATCH_STATUS = "application/yang.patch-status"; - String STREAM = "application/yang.stream"; - } - - public static interface RestConfModule { - String REVISION = "2013-10-19"; - - String NAME = "ietf-restconf"; - - String NAMESPACE = "urn:ietf:params:xml:ns:yang:ietf-restconf"; - - String RESTCONF_GROUPING_SCHEMA_NODE = "restconf"; - - String RESTCONF_CONTAINER_SCHEMA_NODE = "restconf"; - - String MODULES_CONTAINER_SCHEMA_NODE = "modules"; - - String MODULE_LIST_SCHEMA_NODE = "module"; - - String STREAMS_CONTAINER_SCHEMA_NODE = "streams"; - - String STREAM_LIST_SCHEMA_NODE = "stream"; - - String OPERATIONS_CONTAINER_SCHEMA_NODE = "operations"; - - String ERRORS_GROUPING_SCHEMA_NODE = "errors"; - - String ERRORS_CONTAINER_SCHEMA_NODE = "errors"; - - String ERROR_LIST_SCHEMA_NODE = "error"; - - QName IETF_RESTCONF_QNAME = QName.create(Draft02.RestConfModule.NAMESPACE, Draft02.RestConfModule.REVISION, - Draft02.RestConfModule.NAME); - - QName ERRORS_CONTAINER_QNAME = QName.create(IETF_RESTCONF_QNAME, ERRORS_CONTAINER_SCHEMA_NODE); - - QName ERROR_LIST_QNAME = QName.create(IETF_RESTCONF_QNAME, ERROR_LIST_SCHEMA_NODE); - - QName ERROR_TYPE_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-type"); - - QName ERROR_TAG_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-tag"); - - QName ERROR_APP_TAG_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-app-tag"); - - QName ERROR_MESSAGE_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-message"); - - QName ERROR_INFO_QNAME = QName.create(IETF_RESTCONF_QNAME, "error-info"); - } - - public static interface Paths { - - } -}